Similar Posts
- General | Plesk | WHM / cpanel
How can I BACKUP a MySQL database from the command line?
BySamPerforming a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…
How to delete mails from Exim mail queue
BySamTo print a list of the messages in the queue, enter: # exim -bp To remove a message from the queue, enter: # exim -Mrm {message-id} To remove all messages from the queue, enter: # exim -bp | awk ‘/^ *[0-9]+[mhd]/{print “exim -Mrm ” $3}’ | bashsuggested following clean command:# exim -bp | exiqgrep -i…
Setup Virtual Hosts with Apache on Node.js CentOS Server
BySamSetup Virtual Hosts with Apache on Node.js CentOS Server Do you want to host multiple Node.js Websites on the same Server with different location stored? No Problem, we have a solution for you. We will use apache to turn our server into a web server. There are small requirements for this process. Requirements CentOS Machine…
Install XenTools on Linux VMs
BySamObjective This articles describe on installing the paravirtualized drivers on a linux operating systems like centos, redhat, ubuntu Instructions 1. Insert the XenTools ISO in the DVD drive of the Linux VM2. Mount the DVD drive to /mnt using : “mount /dev/xvdd /mnt”It says , mount : block device /dev/xvdd is write-protected, mounting read-only The…
How to Install Nginx, MySQL, PHP (LEMP) Stack on CentOS
BySamHow to Install Nginx, MySQL, PHP (LEMP) Stack on CentOS This guide will help you install Nginx, MySQL, PHP (LEMP) Stack on CentOS machine i.e. Server. LEMP is a software stack comprised of Nginx as Web Server and MySQL as Database server along with PHP as the dynamic content processor for websites. LEMP term is…
Replace old text with new text Linux Command
BySam[root@srv01 demo]# grep -rl ‘from test old’ . | xargs sed -i ‘s/from test old/from test new/g’
