General
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*
CentOS 6 & 7
Initial Server Setup with CentOS 6
https://www.digitalocean.com/community/tutorials/initial-server-setup-with-centos-6
Config Static IP
https://www.linglom.com/networking/configure-static-ip-address-on-centos-7/
CentOS7
Verify Status
#ip a
Set Static IP
$cd /etc/sysconfig/network-scripts/
$sudo nano ifcfg-ens192 (eaxample, device: ens192)
Restart the interface:
$sudo ifdown ens192
$sudo ifup ens192
Check connected interface
#nmcli d
CentOS6
Restart Network Interface
#service network restart
Verify
#ifconfig or ip a
Check service status
#service --status-all
Setup SSH Server
Install Open SSH
#yum install openssh
#vi /etc/ssh/sshd_config
Port 22
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
# Authentication:
PermitRootLogin yes
Start the ssh server
#service sshd reload (start, etc...)
Mount Image
How to Mount and Unmount an ISO Image in RHEL/CentOS/Fedora and Ubuntu
NIC Teaming
https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-network-bonding-or-nic-teaming/
Run Levels
#init 0-6
0 — Halt
1 — Single-user text mode
2 — Not used (user-definable)
3 — Full multi-user text mode
4 — Not used (user-definable)
5 — Full multi-user graphical mode (with an X-based login screen)
6 — Reboot
Advanced
How to connect two network interfaces on the same subnet?
https://access.redhat.com/solutions/30564
Setup_Gateway_Routing_On_Multiple_Network_Interfaces
http://brainscraps.wikia.com/wiki/Setup_Gateway_Routing_On_Multiple_Network_Interfaces
Linux Advanced Routing Mini HOWTO
http://www.linuxhorizon.ro/iproute2.html
Two Default Gateways on One System
https://www.thomas-krenn.com/en/wiki/Two_Default_Gateways_on_One_System
Basics of IPTables
http://www.tothenew.com/blog/basics-of-iptables/
Multiple Routing Tables with iproute2
http://www.allgoodbits.org/articles/view/24
Useful commands
#ip route or ip route show
#route -n
Storage
Email Server
Install Apache, Php, MySQL
Install Apache
https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-7
Install MySQL
https://phoenixnap.com/kb/how-to-install-mysql-on-centos-7
Install nginx
https://linuxize.com/post/how-to-install-nginx-on-centos-7/
Remove nginx
https://devopsio.com/uninstall-nginx-on-linux-centos-7/