-
Taking a backup of a MySQL table and restoring it
Use the command below to take a backup of only one table: # mysqldump -u db_username -p mydatabase table1 > table1.sql Use the command below to restore the table: #mysql -u db_username -p mydatabase < table1.sql ]]>
-
Steps to Reset the Database User Password from the Plesk Control Panel
Please follow the steps below:- 1. Login to the Plesk control panel.2. Go to Domains.3. Select the Domain.4. Go to Websites and Settings.5. Find the database there.6. Go to the database user and reset the password. ]]>
-
What to do if a domain gets multiple IPs when viewed from iptools.biz or network-tools.com?
Solution:- 1) First, run the DNS creator from the H-Sphere server. 2) Reload the zone files from its secondary name server. i.e. /usr/sbin/rndc reload domain name 3) Wait for DNS propagation. It should be fine after that. ]]>
-
How to delete a domain from the qmail server manually if H-Sphere fails
Login to the mail server where the domain was setup for mail services and run the command below: $ ~vpopmail/bin/vdeldomain ]]>
-
How to create links in an HTML document
Below is the code –
-
PhpMyAdmin stuck at its login screen with no errors?
PhpMyAdmin being stuck at its login screen is possibly an issue when the path to save the php_session is not set correctly. In this condition we have to verify whether the location of the directory for storing the session exists or not or whether PHP has sufficient rights to write to it. To define the […]
-
How to force users to change their passwords after their first login in Linux
Please use the command below to insist that the user changes their password after their first login due to security reasons. # chage -d 0 test ]]>
-
How to get information about block devices, FSs and UUIDs of the Linux machine
To get information about the available block devices on the Linux machine, we can use the command line interface utility ‘blkid’ which displays the information about the devices on the system with their file system type or universally unique identifier (UUID). For example – =================================================[root@#~]# blkid /dev/sda1: UUID=”a78e1f03-be53-4ff0-adf2-5b27837c0efe” TYPE=”ext4″/dev/sda2: UUID=”f8be5ef0-1232-4d4e-a27c-0772593858cf” TYPE=”swap”/dev/sda3: UUID=”d9525666-8c8b-49bb-af81-104bf1d60d4d” TYPE=”ext4″================================================= That’s it. […]
-
While adding a domain or sub-domain in the H-Sphere control panel, H-Sphere says "AntiSpam postmaster@domainname already exists" and does not create the domain?
Solution:- 1. Un-select the include and activate options for AntiSpam in the specified plan. 2. Now try to add the domain or sub domain. 3. Now redo the changes you have made previously in the specified plan. ]]>
-
How to increase/decrease the upload limit for PHP in the Windows 2003/2008/2008 R2 server
We need to upload using the web interface on a PHP-based application sometimes. We have to set an upload limit by which we can allow a domain/directory to upload the file/image or anything from the web interface. We can do this using php.ini. On the Windows 2003 server, we are able to set a custom […]