Unlock the Power of Ubuntu: 50 Must-Have Code Snippets for Beginners
|

Unlock the Power of Ubuntu: 50 Must-Have Code Snippets for Beginners

Ubuntu is one of the most popular Linux distributions out there, and for good reason. With its user-friendly interface and vast array of features, it’s a great choice for both beginners and experienced programmers alike. But even if you’re new to Ubuntu, you can still unlock its full potential with the right code snippets. In…

How to Install a LAMP Stack on Ubuntu 22.10 ‘Kinetic Kudu’

How to Install a LAMP Stack on Ubuntu 22.10 ‘Kinetic Kudu’

LAMP stack is a combination of open-source software that is commonly used to build and run web applications. The acronym “LAMP” stands for Linux, Apache, MySQL, and PHP. Together, these four components create a complete web development platform that is easy to set up, use, and maintain. LAMP is open-source software, which means it’s free…

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,…