Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart apache ubuntu

# Restart Apache 2 server on Linux/Unix
sudo service apache2 restart

# Start Apache 2 server on Linux/Unix
sudo service apache2 start

# Stop Apache 2 server on Linux/Unix
sudo service apache2 stop
Comment

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 ubuntu

# Restart apche 2 server.
sudo service apache2 restart 
or
sudo systemctl restart apache2


# Gracefully reloading is a bit faster, and there's no downtime
sudo service apache2 reload
Comment

restart apache

# CentOS/RedHat
sudo service httpd restart

# Debian/Ubuntu
sudo service apache2 restart
Comment

how to restart apache ubuntu

# by this command you can restart your apache2 server on Linux
sudo service apache2 restart
# by this command you can Start your apache2 server on Linux
sudo service apache2 start
# by this command you can Stop your apache2 server on Linux
sudo service apache2 stop
Comment

PREVIOUS NEXT
Code Example
Shell :: Install Strimio on ubuntu 
Shell :: tcpdump listen url 
Shell :: find all .desktop files linux 
Shell :: docker getting-started 
Shell :: bash case statement 
Shell :: git blame 
Shell :: linux script to clean up log files in /var/log 
Shell :: how to update ubuntu from terminal 
Shell :: brave installation ubuntu 
Shell :: find command in linux 
Shell :: kde increase refresh rate 
Shell :: new ssh key github 
Shell :: install cocoapi 
Shell :: vscode restart window 
Shell :: ubuntu kill service 
Shell :: bash check if executable 
Shell :: install docker linux 
Shell :: mac see current path7 
Shell :: flush the port 3001 
Shell :: how to remove all files in a directory matching a regex pattern shell 
Shell :: how to kill all emulator 
Shell :: Permission denied (publickey,keyboard-interactive). 
Shell :: ss in linux command stands for 
Shell :: how to put files into gitignore 
Shell :: echo venv/ .gitignore 
Shell :: find file linux 
Shell :: start arangodb 
Shell :: powershell t admin 
Shell :: limits.h: No such file or directory 
Shell :: how to disable browser autofill in Autocomplete mui component 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =