Using Wget To Download FTP Folders

Using wget to download FTP folders If you want to copy all of the files and folders from one host to another by using the ftp account. Then use the following command to download the files/folders on remote server by using wget. Use this command on destination server. wget -m Some on the hosting

Create Yum Repository On Local Machine

Yum repository on local machine If you want to install software/packages after installation of linux (CentOS, Fedora etc.). You can create the yum repository to install all the software/packages which is present into the instillation CD. When you have try to install software/packages then some time it shows dependencies problems. To fix this problem I

SSH With Private Key Authentication

How to Add ssh user on linux server ? Ans: You can use the putyykey generator and generate the ssh key for the user and copy into the local computer.You can download the puttykey generator from the URL The following are the steps for creating ssh user with the authentication :- #adduser test #passwd

Problem In Password Protection Using .Htaccess

Problem in password protection using .htaccess How to protect CRE Loaded admin area ? or Problem when page requires authentication or How to set password protection for sub directory without affecting to other .htaccessrewrite rules Ans : You will notice that the default .htaccess will not work if your page requires authentication. Suppose you have

How To Install Red5 On Linux Server

How to install red5 on linux server ? Ans : I have used following steps to install the red5 on linux server. root@server cd /etc/init.d/ root@server wget root@server chmod 755 red5 root@server yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel root@server cd /usr/src root@server rm -rf apache-ant-1.8.0-bin.tar.gz apache-ant-1.8.0 red5-0.8.0.tar.gz root@server

Script To Check NFS Mount Point

How to check NFS mount point by using the script ? Ans : If you we have mounted the NFS directory one or more servers and you want to monitor that mount point then you can use the following method. 1) Check the mount point directoy name, in the following example the mount directory name

Install ConfigServer

rm -fv csf.tgz wget tar -xzf csf.tgz cd csf sh Remove installation files: cd .. rm -Rfv csf/ csf.tgz rm -fv cmm.tgz wget tar -xzf cmm.tgz cd cmm sh Remove installation files: cd .. rm -Rfv cmm/ cmm.tgz To uninstall: rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmmversion.txt rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmm/ INSTALL CONFIGSERVER

Custom Php.Ini Not Working On SuExec Enabled ServerHow to enable Custom php.ini on SuExec Enabled Server ?

Ans : Normally, on SuExec Enabled Server, you can create php.ini in your account to customize php settings for your account. If php.ini is created under an account with customize php setting and it doesn’t work for you, then this is because override is disabled in /opt/suphp/etc/suphp.conf Quote: [phprc_paths] ;Uncommenting these will force all requests

How To Reset MySQL Root Password

This will helps when you forget MySQL root password and not able to access MySQL service on the server. Here are the steps to reset MySQL password : root@server [~] /etc/init.d/mysqld stop Now start MySQL server without password: root@server [~] mysqld_safe –skip-grant-tables & root@server [~] mysql After that you can get the mysql prompt then

Block FTP Access Using Firewall

Block FTP access using the IPtables(Default system firewall) 1) If you want to completely disable the FTP access on the server then run the command : ROOT@SERVER[#] IPTABLES -A INPUT -P TCP –DPORT 21 -J DROP 2) If you want to block FTP access for a Specific IP then run the below command : ROOT@SERVER[#]