VestaCP – How to find default MySQL Root Password and Change it
| |

VestaCP – How to find default MySQL Root Password and Change it

When we install VestaCP MySQL root password is different then our VPS root password. VestaCP generate MySQL root password randomly and stored at mysql.conf file. Where is your VestaCP MySQL root password stored? The password is stored at: Check the password: How to change the VestaCP MySQL root password? Step 1 – Use this usual…

| | |

How to create a non-admin (sudo) user on Ubuntu

Add a New User Account Create a new user account with the adduser command. Use a strong password for the new user. You can enter values for the user information, or press ENTER to leave those fields blank. Add the User to the Sudo Group Add the new user to the sudo group with usermod. Switch…

How to Fix WordPress Pages and Permalinks 404 Not Found Error on Nginx Server
| | |

How to Fix WordPress Pages and Permalinks 404 Not Found Error on Nginx Server

Tested with After switched to Nginx from Apache server WordPress started showing 404 or Page not found errors. Homepage loads but all permalinks are 404 when using Nginx & PHP-FPM What causes the Nginx wordpress permalinks 404 error WordPress recommends PHP-FPM as the PHP handler to take advantage of NGINX. Unfortunately, mod_security rules will not work with…

How to copy file from remote server to remote server or local machine using SCP

SCP (secure copy) is a command-line utility that allows you to securely copy files and directories between two locations. With scp, you can copy a file or directory: SCP copies files between hosts on a network. It uses SSH for data transfer, and uses the same authentication and provides the same security as SSH. SCP will ask for passwords or…

Running Multiple WordPress Sites On Ubuntu 18.04 Server With Nginx, MySQL And PHP 7.2 Support
| | |

Running Multiple WordPress Sites On Ubuntu 18.04 Server With Nginx, MySQL And PHP 7.2 Support

When deciding to run multiple WordPress websites on Ubuntu 16.04 LTS server, the steps below can get you started… With Nginx HTTP server, you can run as many WordPress websites as possible as long as the host system has enough resources with a feature called Server Block… Nginx server block is a feature similar to Apache2…

How to change the default OS as Windows 7/8/10 in dual boot menu with Ubuntu 16.04/17.10

How to change the default OS as Windows 7/8/10 in dual boot menu with Ubuntu 16.04/17.10

Dual-boot or even multi-boot Ubuntu with other operating systems? You may wish to change which OS starts as default in the Grub2 boot-loader. If you’ve booted into Ubuntu, you can change the boot order via two ways: Set Default OS by Manually configuring Grub: For those who don’t wish to customize Ubuntu via third-party applications,…

How to Use rsync to Transfer and Synchronize Local and Remote Directories
|

How to Use rsync to Transfer and Synchronize Local and Remote Directories

Rsync (Remote Sync) is the most commonly used command for copying and synchronizing files and directories remotely as well as locally in Linux/Unix systems. With the help of rsync command, you can copy and synchronize your data remotely and locally across directories, across disks, and networks, perform data backups, and mirroring between two Linux machines. Using the Rsync for Linux is somewhat tricky and you have to be…

How to make an offline mirror or duplicate copy of a website using wget

How to make an offline mirror or duplicate copy of a website using wget

Sometimes you want to create an offline copy of a site that you can take and view even without internet access. Using wget you can make such copy easily: wget –mirror –convert-links –adjust-extension –page-requisites –wait=2 -o log –no-parent http://example.org Explanation: –mirror // Makes (among other things) the download recursive. –convert-links // convert all the links…