Posts

How to manage KVM virtual machines via the command line in Ubuntu 20.04

Louis SanchezJuly 29th 2021, 9:08
In this post, I showed you how to manage virtual machines with virt-manager. This is great if you have a secondary machine with a graphical user interface running Linux as its operating system. But what do you do if such a machine isn't available, and you'd like to perform simple...
18

How to Create a Virtual Machine in Ubuntu 20.04 with KVM

Louis SanchezJuly 29th 2021, 8:24
Step 1 : In virt-manager, right-click your server connection and click on New to start the process of creating a new virtual machine Step 2 : The first screen while setting up a new VM Step 3 : The default selection will be on Local install media (ISO image or...
21

How to Setup bridged networking for KVM in Ubuntu 20.04

Louis SanchezJuly 29th 2021, 9:52
Bridged networking allows your VMs to receive an IP address from the DHCP server on your network instead of its internal one, which will allow you to communicate with your VMs from any other machine on your network. Step 1 : To set up bridged networking, we'll need to create...
57

How to install KVM on Ubuntu 20.04 LTS

Louis SanchezJuly 29th 2021, 8:00
Step 1 : you can run the following command on the machine you intend to host KVM virtual machines on in order to find out whether your CPU supports virtualization extensions egrep -c '(vmx|svm)' /proc/cpuinfo A result of 1 or more means that your CPU does support virtualization extensions Step...
20

How To Install phpMyAdmin with Apache on an Ubuntu Server 20.04

Louis SanchezJuly 29th 2021, 7:52
You will need access to a root account or an account with sudo privileges You will need a LAMP stack (Linux, Apache, MySQL, and PHP) Step 1 : Install phpMyAdmin with the following commands sudo apt-get update sudo apt install phpmyadmin php-zip php-json php-mbstring php-mysql php-curl php-gd Step 2 :...
17

How To Import and Export Databases in MySQL using Command Line on Ubuntu Server 20.04

Louis SanchezJuly 29th 2021, 5:23
You can always use tools such as MySQL workbench and phpMyAdmin, but MySQL provides command-line tools for the bulk processing of data that are more efficient and flexible. Follow these steps to import and export Databases in MySQL. Exporting MySQL database Step 1 : To export a database from the...
17

How to Use MySQL from the Command Line on Ubuntu Server 20.04

Louis SanchezJuly 29th 2021, 8:27
Step 1 : First, we will need to connect to the MySQL server mysql -u admin -h localhost -p Replace admin with a user account on the MySQL server Step 2 : Enter the password for the admin account Step 3 : Create a database with the following query. mysql>...
23

How to Create MySQL Users Accounts and Grant Privileges in MySQL 8.0 On Ubuntu Server 20.04

Louis SanchezJuly 29th 2021, 9:16
We will learn how to add new users to the MySQL database server. MySQL provides very flexible and granular user management options. Follow these steps to add users to MySQL database server and assign access rights: Step 1 : Open the MySQL shell with the following command. sudo mysql Step...
48

How To Install MySQL 8.0 on Ubuntu Server 20.04

Louis SanchezJuly 29th 2021, 9:49
We will learn how to install and configure the MySQL database on an Ubuntu server. Follow these steps to install the MySQL 8.0 Step 1 : MySQL 8.0 is included in the default Ubuntu repository for 20.04. You can list each of the available MySQL 8.0 packages with the following...
45

How to Change Hostname on Ubuntu 20.04

Louis SanchezJuly 29th 2021, 9:59
How do you view your hostname? Step 1 : You need to use the hostname command or hostnamectl command hostname Step 2 : Output from the hostname command Setting the hostname Step 1 :Changing the hostname is fairly simple. To do this, we can use the hostnamectl command as root...
44