How to stop (and restart) the Rails Server?
Press Ctrl+C When you start the server it mentions this in the startup text.
Press Ctrl+C When you start the server it mentions this in the startup text.
Tutorial A friend wrote a bash script to automatically restart a minecraft (spigot) server in the event of a crash or with the command “/stop” when using screen. There are several seconds to cancel the restart with Enter. In addition, the exit codes of the previous session are written to a file, which can be … Read more
SSH into the machine. Using the proper credentials and ip address, ssh [email protected]. This should provide you with shell access to the Ubuntu server. Restart the mySQL service. sudo service mysql restart should do the job. If your mySQL service is named something else like mysqld you may have to change the command accordingly or try this: sudo /etc/init.d/mysql restart