How to take the backup of MBR on linux server?
Always recommended that you should take backup MBR. It is hard disk partition table on your server. We can use dd command to take a …
Always recommended that you should take backup MBR. It is hard disk partition table on your server. We can use dd command to take a …
If want to control all the domains, before they resolve, then that could be done by creating some symbolic links. Let’s say you have domain12.com …
You see that files with name ‘Core’ is created under your account. These core files start taking the space on your server. Core dump consists …
history command lists all executed command on server. By default output of command is as follows: 989 date 990 history 991 history 992 w 993 …
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 …
Following script to check the load on the server could be referred:- This script will create a file called chkload wherein all the details will …
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 …
Normally you get the following error Error or warning message : Check /var/tmp is mounted as a filesystem WARNING /var/tmp should either be symlinked to …
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 …