How to Stop/Restart Lighttpd Web Server in Debian / Ubuntu / FreeBSD linux
/etc/init.d/lighttpd is a script under Linux to stop / restart lighttpd web server.
To stop lighttpd:
Use the following command to stop lighttpd:
1 | # /etc/init.d/lighttpd stop |
To restart lighttpd:
Just type the following command to restart lighttpd:
1 | # /etc/init.d/lighttpd restart |
To start lighttpd:
1 | # /etc/init.d/lighttpd start |
Debian / Ubuntu Linux Start lighttpd
1 | # /etc/init.d/lighttpd start |
Debian / Ubuntu Linux - Stop lighttpd
1 | # /etc/init.d/lighttpd stop |
Debian / Ubuntu Linux - Restart lighttpd
1 | # /etc/init.d/lighttpd restart |
FreeBSD Start lighttpd web server
1 | # /usr/local/etc/rc.d/lighttpd start |
FreeBSD - Stop lighttpd webserver
1 | # /usr/local/etc/rc.d/lighttpd stop |
FreeBSD - Restart lighttpd webserver
1 | # /usr/local/etc/rc.d/lighttpd restart |
In case if you don't have init script, type the following:
1 | # killall lighttpd |
Ubuntu Linux Start / Restart / Stop Apache 2.2 Web Server
Q. How to restart or stop Apache 2.2 web server under Ubuntu Linux?
Task: Start Apache 2.2 Server
1 | # /etc/init.d/apache2 start |
or
1 | $ sudo /etc/init .d /apache2 start |
Task: Restart Apache 2.2 Server
1 | # /etc/init.d/apache2 restart |
or
1 | $ sudo /etc/init .d /apache2 restart |
Task: Stop Apache 2.2 Server
1 | # /etc/init.d/apache2 stop |
or
1 | $ sudo /etc/init .d /apache2 stop |
How to install webmin on your Linux web server (Redhat Fedora Caldera Mandrake SuSE MSC)
Installing webmin on your linux webserver is easy. With webmin, you can use ispconfig which is a web hosting script that you can use to host many website in one server.
Webmin website: http://www.webmin.com/
Since I have fedora I can install like this:
(this tutorial is suitable for Redhat, SuSE, Caldera, Mandrake or MSC Linux, 13M)
Login to your shell, i will be using ssh so i send this command:
1 | wget http: //prdownloads .sourceforge.net /webadmin/webmin-1 .350-1.noarch.rpm |
Once it has finished downloadin i send this command:
1 | rpm -U webmin-1.350-1.noarch.rpm |
(make sure to use upper case U above)
The rest of the install will be done automatically to the directory /usr/libexec/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/ .
Webmin install complete. You can now login to https://hostname.domain:10000/
as root with your root password.
NOTE: the default login and password is your root and root password. this is the same login you used with you ssh to your server or whatever your root password is, so your login will be like this:
Username: root
Password: xxxx (what ever your root password is)