W weber Verified User Joined Sep 18, 2009 Messages 12 Feb 22, 2012 #1 D/A has some problem. so how to sopt and start apaceh from SSH? where is apache located?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,415 Location www.poralix.com Feb 22, 2012 #2 I'm sure you'd better stay off SSH, as without proper knowledges you might break a lot of things on your box. And you should really think of a outsource system administrator. But if you really want to learn the things, start with reading these: 1. http://www.dummies.com/store/Computers-Internet/Operating-Systems/Linux.html 2. http://help.directadmin.com
I'm sure you'd better stay off SSH, as without proper knowledges you might break a lot of things on your box. And you should really think of a outsource system administrator. But if you really want to learn the things, start with reading these: 1. http://www.dummies.com/store/Computers-Internet/Operating-Systems/Linux.html 2. http://help.directadmin.com
Themis Verified User Joined Oct 1, 2010 Messages 167 Location Luxembourg Feb 22, 2012 #3 weber said: ...how to sopt and start apaceh from SSH? Click to expand... To start/stop Apache 2, enter: Code: # /etc/init.d/apache2 stop # /etc/init.d/apache2 start To start/stop Debian-Ubuntu / RHEL / CentOS / Fedora based Apache server, enter: Code: # service httpd stop # service httpd start If you don't remember where is your Apache installation folder, issue the following command to find it out. Code: find . -name apache Last edited: Feb 22, 2012
weber said: ...how to sopt and start apaceh from SSH? Click to expand... To start/stop Apache 2, enter: Code: # /etc/init.d/apache2 stop # /etc/init.d/apache2 start To start/stop Debian-Ubuntu / RHEL / CentOS / Fedora based Apache server, enter: Code: # service httpd stop # service httpd start If you don't remember where is your Apache installation folder, issue the following command to find it out. Code: find . -name apache
W weber Verified User Joined Sep 18, 2009 Messages 12 Feb 22, 2012 #4 thanks but i just want to stop and start apache only... not too much
scsi Verified User Joined Aug 19, 2008 Messages 4,539 Feb 22, 2012 #5 They already gave you the command: /etc/init.d/httpd restart If it doesnt start then look in the error log /var/log/httpd/error_log
They already gave you the command: /etc/init.d/httpd restart If it doesnt start then look in the error log /var/log/httpd/error_log