En este post iremos agregando comandos y sentencias relevantes de linux.
cat /proc/version -> conocer la distro del linux
sudo gedit /etc/apt/sources.list -> Ubuntu editar lista de repositorios.
restart apache: /etc/init.d/apache2 restart
apache modules list: apache2ctl -M
Suscribirse a:
Enviar comentarios (Atom)
1 comentario:
/etc/init.d/httpd start
To test it type:
/etc/init.d/httpd status
If apache is running you should see something like the following:
httpd (pid 1844 1843 1842 1841 1840 1839 1838 1837 1828) is running...
There are several ways to run Apache at bootup, and here is one of the simple ones.
To run Apache at bootup type:
vi /etc/rc.local
This will open rc.local in the text editor "vi". Arrow down to the bottom of the text (there may not be any yet, in which case it will be the first line) and add:
/etc/init.d/httpd start
Publicar un comentario