Menu
Articles on Linux: how to install KVM on Ubuntu, install Ubuntu on KVM, copy files and directories between Linux servers and on one server, exit Putty without killing the session, etc.
Articles
- How to Install KVM on Ubuntu 22.04 Server
Install KVM packages on an Ubuntu 22.04 Server. Configure network Interfaces. Also, you can install KVM on a VirtualBox virtual machine if you'd like to try it first. - How to Install Ubuntu 22.04 Virtual Machine on KVM
Get all parameters necessary for installation from the Ubuntu image file. Install a virtual machine with Ubuntu 22.04 on KVM with the commandvirt-install
. Configure networking. - How to Copy Files and Directories Between Linux Servers
To copy a file or folder between Linux servers directly:- Go to the destination directory.
- Use the command
scp
.
- How to Copy Directories and Files on a Linux Server
Use the commandcp
on the command line on the Linux server to- Copy a directory.
- Copy a file.
See the most commonly used arguments.
- How to Use WordPress Docker Container for Testing Themes and Plugins Locally
Test WordPress themes and plugins locally in Docker containers before deploying them on production:- Install WordPress quickly with Docker Compose.
See the example ofdocker-compose.yml
. - Reinstall WordPress in a Docker container easily.
- Install WordPress quickly with Docker Compose.
- How to Get Country From IP Address in PHP on Ubuntu 22.04
Get the country name and country code from the visitor's IP address in PHP with the GeoIP2 library:- See how to install and configure the GeoIP2 library on Ubuntu 22.04.
- See an example of code for getting the country name and country code.
- How to Keep a Bash Script Running After the Putty Terminal Gets Closed
To keep a bash command or script running after the Putty terminal gets closed:- Use the command
screen
. - Detach the session by pressing
Ctrl+A
, thenD
. - Close Putty.
- Reconnect to the Linux server.
- Check the command or script is still running.
Or use the commandsnohup
+disown
.
- Use the command
- [VirtualBox] Configure an Ubuntu 22.04 / 20.04 Virtual Machine for Web Development (Complete Guide)
The complete guide on creating a VirtualBox VM for web development. See how to- Create Ubuntu 22.04 / 20.04 VirtualBox virtual machines.
- Configure the network on a bridged adapter or 2 adapters: NAT + host-only.
- Install Guest Additions.
- Share folders between the host machine and the virtual machine.
- Optimize performance.
- Conditional or Partial MySQL Dump
Domysqldump
conditionally:- Export some tables only.
- Ignore some tables.
- Limit the number of rows
- Export procedures and functions only.
- Export the database structure only.
- Export InnoDB tables without locking them, etc.
- Apache Version: How to Upgrade Beyond Ubuntu’s Standard Repository?
How to Upgrade Apache Version Beyond Ubuntu’s Standard Repository using a PPA. The example is given for Ubuntu 22.04.