Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart apache

sudo systemctl restart apache2
# or
sudo service apache2 restart
Comment

linux apache restart

sudo service apache2 start
sudo service apache2 restart
sudo service apache2 stop

OR 

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop
Comment

restart apache

# CentOS/RedHat
sudo service httpd restart

# Debian/Ubuntu
sudo service apache2 restart
Comment

apache start stop restart

sudo service apache2 restart
sudo service apache2 stop
sudo service apache2 start
Comment

apache not restart

cd /etc/apache2
apache2ctl configtest

sudo mkdir -p /var/log/apache2/
sudo chmod -R 744 /var/log/apache2/
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu install sfml 
Shell :: ubuntu 20.04 install skype 
Shell :: curl file share 
Shell :: clean manjaro 
Shell :: Ultimate Perfomance command 
Shell :: git reset all submodules 
Shell :: download filezilla in ubuntu 
Shell :: uninstall pgadmin3 ubuntu 
Shell :: firewalld permanent rules 
Shell :: debian install killall 
Shell :: remove git repository windows 
Shell :: Could not build wheels for pygalmesh which use PEP 517 and cannot be installed directly 
Shell :: install rclone 
Shell :: linux show version 
Shell :: command not found: lvim 
Shell :: tailwind upgrade 
Shell :: ubuntu see port usage 
Shell :: count files in directory linux 
Shell :: mac restart mysql server 
Shell :: intall teams on ubuntu 
Shell :: how to install tor browser in ubuntu 
Shell :: Could not find tools.jar debian 
Shell :: git config setting 
Shell :: figma download linux 
Shell :: git reset stash conflict 
Shell :: Failed to install the app. Make sure you have the Android development environment set up 
Shell :: open folder from terminal in kali 
Shell :: how to check bluetooth driver version in ubuntu 
Shell :: git undo amend 
Shell :: list drives unbuntu server 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =