Day: September 8, 2018

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[#]

How To Upgrade Php Version On Plesk

How to upgrade php version on plesk ? Ans : – You can simply upgrade the php version on LINUX PLESK server by using following steps root@server [/] # cd /usr/local/src root@server [/usr/local/src]# wget -q -O – | sh root@server [/usr/local/src]# yum upgrade php root@server [/usr/local/src]# /etc/init.d/psa stopall root@server [/usr/local/src]# /etc/init.d/psa startall root@server [/usr/local/src]#

Redirect All URLs To Anoter Blog URLs

Redirect all URLs to anoter blog URLs If you want to redirect all the URLs from one blog to another blog URLs then add the following rewrite rules in .htaccess files. Example : I have redirected my old blog from “ to my new domain I have added the following rewrite rules into old

Reset Root Password In Debian

How to reset root password in single user mode in Debian ? Ans : At grub-boot loader screen. Select Recovery mode the version of the kernel that you wish to boot and type e for edit. Select the line that starts with kernel and type e to edit the line. Go to the end of

Empty Trash Folder Automatically

How to disable delete emails from trash after 7 days ? Ans : Empty trash folder automatically. Sometimes Problems arise when clients E mail accounts run out of its quota, even tough the In-boxes kept empty, they somehow forget to clean the Trash boxes too. After checking it is found that, all the E mails