Here are some basic SSH commands. Some work in redhat linux, some work in freebsd. Just incase you were wondering on how to do these.
HOW TO CREATE NEW FTP USER IN SSH:
ftpnew /usr/www/virtual/
ftp WWW.DOMAIN.COM
HOW TO RESTART APACHE SSH COMMAND:
/www/apache/bin/apachectl – restart
or
/www/apache/bin/apachectl – stop
/www/apache/bin/apachectl – start
or
/usr/local//libexec/apachectl radical restart
HOW TO RESTART MYSQL SSH COMMAND:
/usr/local/etc/rc.d/mysql-server.sh restart
These worked for me. So if they work for you great! If not, then I suppose you’ll have to do some more searching of the interweb.
0 Responses to “Some Basic SSH Commands”
Leave a Reply