Creating a New LVM Volume
Once you have added a new disk to your system, make sure it can be seen using the lsblk command. You should see something similar to the following.…
Once you have added a new disk to your system, make sure it can be seen using the lsblk command. You should see something similar to the following.…
When a new drive is added in Linux, it will not automatically appear and be usable. It will need to be partitioned and formatted for proper use first.…
You may need to run a secure web server at some time which will require an SSL certificate. Even if you choose to have a commercial certificate, you…
Crontab is a great utility to automate scripts and processes on your Linux/Unix/Mac machine. Regular users and root each have access to this utility. To check the cron…
By default color coding is disabled for the ”’ls”’ command under Ubuntu. If you wish to enable it simply add the following to your ”’.bashrc”’ file alias ls='ls…
First limit permissions on the ftp home directory to allow read and download capabilities # chmod 540 ftp_home/ Then to any file added I make read only #…
Sometimes using an interactive SSH login to a remote system is not desired. For instance if you have created rsync scripts to automate backups of one system to…
Note: It is recommended to uninstall and then reinstall mysql and attendant packages on the slave if it has been used a a slave for replication previously. There…
Here are commands you need to type for each step (login as the root user): Step 1. Stop MariaDB service. # systemctl stop mariadb Step 2. Start MariaDB server w/o…
If you need to find the amount of disk space being consumed in Linux, you can show it recursively through your directories as follows. $ sudo du -ahx…