hi, I'm looking for some help to create a shortcut (using .bat or any other format) files that:
my VPS server os: Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-113-generic x86_64)
1- Run the server ( ./login-server, ./char-server, ./map-server)
2- Restart the server
3- Stop The server
4- Recompile the server
I know how to use these commands only, which doesnt do much:
root@test -pw test
cd ..
cd home/test/
git pull
but I know about these commands to recompile the server but I dont know how to use them:
tmux a -> to open a new windows or something like that
make clean
make server
The Manual way that my friends sent me is:
cd ..
cd home/Test/
=====
If you want to Stop the server:
tmux (Another Instance will appear)
ctrl+b+x
then press Y
Repeat it 3 times untill nothing shows up when you type tmux a
=====
If you want to Start the Server:
tmux
./login-server
ctrl+b+d
tmux
./char-server
ctrl+b+d
tmux
./map-server
=====
To Compile:
make clean
make server
but I just want to make a shortcut files that make my work easier, can someone help me with that?
Summery:
run command files in windows 10 to remotely execute commands on my VPS linux server that Run, Restart, Stop, Recompile rAthena
Question
Sqwaz
hi, I'm looking for some help to create a shortcut (using .bat or any other format) files that:
my VPS server os: Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-113-generic x86_64)
1- Run the server ( ./login-server, ./char-server, ./map-server)
2- Restart the server
3- Stop The server
4- Recompile the server
I know how to use these commands only, which doesnt do much:
root@test -pw test cd .. cd home/test/ git pull
but I know about these commands to recompile the server but I dont know how to use them:
tmux a -> to open a new windows or something like that make clean make server
The Manual way that my friends sent me is:
cd .. cd home/Test/ ===== If you want to Stop the server: tmux (Another Instance will appear) ctrl+b+x then press Y Repeat it 3 times untill nothing shows up when you type tmux a ===== If you want to Start the Server: tmux ./login-server ctrl+b+d tmux ./char-server ctrl+b+d tmux ./map-server ===== To Compile: make clean make server
but I just want to make a shortcut files that make my work easier, can someone help me with that?
Summery:
run command files in windows 10 to remotely execute commands on my VPS linux server that Run, Restart, Stop, Recompile rAthena
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.