Tools ‹ indianwebportal.com — WordPress
Categories: InstallationTools ‹ indianwebportal.com — WordPress.
Tools ‹ indianwebportal.com — WordPress.
How to install Fantastico : Here are the steps to download Fantastico & install it onto your server : 1. Change to the proper cgi folder using the following command: # cd /usr/local/cpanel/whostmgr/docroot/cgi # wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz # tar –xzpf fantastico_whm_admin.tgz # rm -rf fantastico_whm_admin.tgz 2. RE-Login to WHM in a web browser inorder for the [ Read More ]
Add SPF records (Sender Policy Framework) “v=spf1 a mx ip4:91.186.0.8 ~all” Configuring SPF records in WHM 1. Login to WHM and select “Edit DNS Zone” on the left hand menu. 2. Select the domain that you wish to load and SPF record for. 3. If there is an existing SPF record then edit it as [ Read More ]
How to install roundcube Before installing roundcube on a cPanel server you should know your mysql root password. Replace DATABASEPASSWORD with your mysql root password. If you have already used a RoundCube installation please make sure you remove any traces of it . Follow the steps given below and remove any traces of it with, [ Read More ]
Update to latest Mysql version provided by cpanel To upgrade the mysql on the cpanel server * The best method to use the cpanel #/script/mysqlup to upgrade the mysql. * To upgrade the mysql from 4.0.x to 4.1.x you need to enable the mysql upgrade in the whm under tweak setting /scripts/upcp –force /scripts/mysqlup –force
Install ioncube Installing ionCube Loader: cd /usr/local/src wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz 2. Unpack the program tar -zxvf ioncube_loaders.tar.gz 3. cd ioncube copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window. cp ioncube-install-assistant.php /home/userdirectoryhere/www or cp ioncube-loader-helper.php /home/userdirectoryhere/www Then open it http://www.yourdomain.com/ioncube-install-assistant.php The output should be something similar to: [ Read More ]
Install/update Zend Optimizer a) Install Zend Optimizer # /scripts/installzendopt Or #cd /usr/local/src # wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz #tar -xzvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz # cd ZendOptimizer-3.3.3-linux-glibc23-i386/ # ./install.sh make sure that the end of your php.ini file looks like this – if not change it (this is assuming your installing version 3.3.0) [Zend] zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0 zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0 zend_optimizer.version=3.3.0 zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so Step7 Save [ Read More ]
Install CHKROOTKIT cd / (Install in root directory) Down load the chkrootkit. Type: wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz 2: # tar xvzf chkrootkit.tar.gz Type: cd chkrootkit* Type: make sense Type: ./chkrootkit If it says “Checking `bindshell’… INFECTED (PORTS: 465)” This is normal and it is NOT really a virus.
BFD (Brute Force Detection) Installation 1. cd /usr/local/src or another temporary folder where you store your files. 2. wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz 3. tar -xvzf bfd-current.tar.gz 4. cd bfd-0.2 5. Run the install file: ./install.sh You will receive a message saying it has been installed ====================================== .: BFD installed Install path: /usr/local/bfd Config path: /usr/local/bfd/conf.bfd Executable path: [ Read More ]
If images do not load using https://domian.com # vi .htaccess just add a comment to following line: (RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ – [F,NC]) #RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ – [F,NC]
Install/update firewall (Recommended CSF) Download the package here #cd /usr/local/src #wget http://www.configserver.com/free/csf.tgz #tar -zxf csf.tar.gz #cd /csf #sh install.sh # vi /etc/csf/csf.conf Find TCP # Allow incoming TCP ports TCP_IN = “20,21,25,53,80,110,143,443,465,953,993,995,2082,2083,2086,2087,2095, 2096,8090,49226,26,512:65535,5666,3306,3333″ # Allow outgoing TCP ports TCP_OUT = “20,21,25,37,43,53,80,110,113,443,587,873,953,2087,2089,2703,8090,512:65535″ Then add your ip and client ip in the two files. #Vi /etc/csf/csf.allow #Vi [ Read More ]
Checking the port if open or not [ telnet, nmap ] telnet TELNET (TELecommunication NETwork) is a network protocol used on the Internet. TELNET is a client-server protocol, based on a reliable connection-oriented transport. This command will help us to find if a particular port on the server is open or not. Example: root@server [~]$ [ Read More ]
If you want to particular user do not run cron job 1] Enter that user name in cron.deny file 2] make all permission 000 of directory /var/spool/cron/username To restart cron #/etc/init.d/crond restart How to Setup Crontab for specific Domain. #crontab -e -u USERNAME To find out the crons set for the particular user: => # [ Read More ]
How to check mail logs : 1] tail -f /var/log/exim_mainlog 2] grep few domains which are present in mail logs to check whether domain is on our server. and if domains are not present on our server then check with the mail IDs e.g. mail ID is => 1J9ZRu-0003Zx-Kf-H 3] cd /var/spool/exim/input/u //there are 0 [ Read More ]
If accounts are not displaying in whm make sure the entry for the domain is there in following files – /etc/userdomains /etc/trueuserdomains /etc/httpd/conf/httpd.conf /var/cpanel/users/$user — DNS= should be there /etc/named.conf In addition to that, the username must exist at /etc/trueuserowners /etc/passwd /etc/shadow /etc/group
You can change the files and folders permission at a time into the current folder by using following commands. for files find -type f -exec chmod 644 {} \; For Folders find -type d -exec chmod 755 {} \;
# /scripts/runweblogs (USERNAME) How to enable “UPDTAE OPTION” on awstas field # cd ~username/tmp/awstats // In this directory You will get domain.conf file, in that file just change AllowToUpdateStatsFromBrowser=0 to AllowToUpdateStatsFromBrowser=1
To find out whether any particular IP is blocked or not on the server => # route -n |grep <IP Address> :: for example: #route -n |grep 58.8.66.156 To unblock an IP => # route del <IP Address> reject ::for example: #route del 58.8.66.156 reject To block an IP => # route add <IP Address> [ Read More ]
How to connect to Database for any user through Server # mysql -u DBNAME -p DBPASS command for taking mysql backup:=> #mysqldump databasename > file.sql command for restoring : => # mysql -u [username] -p[password] [database] < [backup_file] or #mysql database name < file.sql
To start up 1] # cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/ # ./startup.sh To shutdown 2] # cd /usr/local/jakarta/jakarta-tomcat-5.5.9/bin/ # ./shutdown.sh
If you are trying to change the permission say admin folder by chmod 755 admin/ but it is giving you operation not permitted error then check for imutable # lsattr // it will show you all attributes under the current folder , so check if folder is imutable or not o/p :” —-i——– ./admin” # [ Read More ]
How to make tar ,GZ AND ZIP file. tar -zcvf index.tar.gz index.html gzip -c file1 > foo.gz How to make UNtar ,UNGZ AND UNZIP file. tar -zxvf index.tar.gz gunzip filename.gz unzip filename.zip create: tar -cvf mystuff.tar mystuff/ tar -czvf mystuff.tgz mystuff/ extracting: tar -xvf mystuff.tar tar -xzvf mystuff.tgz testing/viewing: tar -tvf mystuff.tar tar -tzvf mystuff.tgz
To disable Squirlmail for any specific domain add following rule the /var/cpanel/users/USERNAME skiphorde=1 skipsqmail=0 skipneomail=1 then service cpanel restart
How to check DDOS attach netstat -n | grep :80 |wc -l // show the number of active connections that are open to your server netstat -n | grep :80 | grep SYN |wc -l //connection of any IP more that 100 then block that IP netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | [ Read More ]
How to Setup Crontab for specific Domain. #crontab -e -u USERNAME
How to genreate CSR key WHM >> Generate a SSL Certificate and Signing Request.
How to install SSL certificate WHM >> Install a SSL Certificate and Setup the Domain. You will get SSL certificate as well as CSR key into /usr/share/ssl/certs directory and private key into /usr/share/ssl/private directory.
Error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Solution ...
Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...
Optimized by SEO Ultimate