The following command will take a backup of apache on your server
Centos users
cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
For Ubuntu users
sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak
The following command will take a backup of apache on your server
Centos users
cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
For Ubuntu users
sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak
0 people found this article useful
0 people found this article useful