
How to backup a copy of apache?
Fire the following command to take a backup of apache on your server: cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak Above is for Centos users For Ubuntu users …
Fire the following command to take a backup of apache on your server: cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak Above is for Centos users For Ubuntu users …
Open following file in your favorite editor: CATALINA_HOME/conf/tomcat-users.xml or /usr/local/jakarta/jakarta-tomcat-4.1.31/cinf/tomcat-users.xml Append the following line at second last line: <user name=”Username” password=”secret” roles=”admin,manager”> Restart tomcat. You …
#!/bin/sh cd /root/ wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar -zxvf chkrootkit.tar.gz CHKDIR=`ls -1 |grep chkrootkit-` cd $CHKDIR/ make ./chkrootkit
Login to your server as root and at the root prompt fire the below command: root@xxx[~]vi /etc/cron.daily/chkrootkit.sh Insert the following to the new file: #!/bin/bash …
a.Login as root in your Linux server b. Type this command: [root@TftpServer ~]# yum install tftp-server c.Once the installation completes, Type this command [root@TftpServer ~]#vim …
If you are using Fedora core Linux server then use yum to install rar : yum install unrar Also you can refer following steps: – …
Sometimes, an error in permissions or syntax within a script will result in an Internal Server Error 500, also known as an HTTP Error 500. …
Download Tarballs to ‘src’ directory: 1 cd /usr/local/src 2 wget https://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz 3 wget https://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz 4 wget https://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2 5 wget https://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2 6 wget https://downloads.xiph.org/releases/ogg/libogg-1.2.0.tar.gz 7 wget …
In Linux 2.4 and later, the default virtual memory behavior is not optimal for PostgreSQL. Because of the way that the kernel implements memory overcommit, …
How to Change Exim SMTP IP Address on Linux Server: You can change the IP address that exim uses to send mail by changing the …
Issue: If you are receiving following error while restarting apache on Linux server: Error: service httpd status, results in httpd dead but subsys locked That …