Ubuntu – Disk Management

CONFIGURING AN LVM VOLUME WITH AN EXT4 FILE SYSTEM https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_administration/s1-lvmsetupnfs-haaa Basic Steps: In VMware to enlarge a disk size #cfdisk (create a LVM partition) #pvcreate my_vg /dev/sda3 (create a physical volume) #vgcreate lvm1 /dev/sda3 (create a volume group) #lvcreate -n


How To Partition and Format Storage Devices in Linux https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux Ext2, Ext3 & Ext4 file systems https://www.tecmint.com/what-is-ext2-ext3-ext4-and-how-to-create-and-convert-linux-file-systems/ Mount a filesystem https://codingbee.net/tutorials/rhcsa/rhcsa-mounting-a-partition Install Desktop https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-gnome-gui-on-centos-7-rhel-7.html Install Chrome https://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/ Remove Chrome: yum remove google-chrome* Initial Server Setup with CentOS 6 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-6 Config

Apache Notes

Add SSL Certificate from commercial organization in Apache: https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority Edit virtual host file: longwise.conf # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection

Postfix Notes

Install Postfix as SMTP only Server Uninstall postfix sudo apt-get remove postfix (Uninstall postfix only) sudo apt-get remove –auto-remove postfix (Uninstall postfix and its dependencies) sudo apt-get purge postfix (Purging your config/data too)

Ubuntu Basics 2

Upgrade from Ubuntu 16 or 17 to 18 https://www.linuxbabe.com/ubuntu/upgrade-ubuntu-16-10-17-04-to-ubuntu-18-04 First, we need to run the following command to change all instances of yakkety to bionic in the source list file (/etc/apt/sources.list). The former is the code name for Ubuntu 16.10,

Ubuntu Basics

New apt vs apt-get https://itsfoss.com/apt-vs-apt-get-difference/ apt-get update downloads the package lists from the repositories and “updates” them to get information on the newest versions of packages and their dependencies. apt-get upgrade will fetch new versions of packages existing on the