Similar Posts
Replace old text with new text Linux Command
[root@srv01 demo]# grep -rl ‘from test old’ . | xargs sed -i ‘s/from test old/from test new/g’
Redirect IP address accesses to domain name with Nginx
Making the following update to your Nginx .conf file will prevent your website from being accessed directly by it’s IP address You’ll need to create a new server block and configure it such that any requests to the servers IP address will instead be redirected to the domain name. Now, when a request is made…
How can I RESTORE a MySQL database from the command line?
Importing a MySQLDUMP From your SSH command prompt type … mysqladmin -u {username} -p {password} create {databasename} mysql -u {username} -p {password} < {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}…
Install XenTools on Linux VMs
Objective 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…
Contact Form – add an arrow to submit button
Just simple add below shortcode in the contact form in wp-admin [submit “SUBMIT FORM →”]
How to configure the passive ports range for ProFTPd on a Plesk server behind a firewall
Question How to configure the passive ports range for ProFTPd on a server behind a firewall? Answer Note: When configuring the passive port range, a selected port range must be in the non-privileged range (e.g., greater than or equal to 1024). It is strongly recommended that the chosen range should be large enough to handle…