Difference between revisions of "Basic"
From AlphaBook
Line 3: | Line 3: | ||
* / | * / | ||
* swap | * swap | ||
+ | |||
+ | == Hostname == | ||
+ | * hostname | ||
+ | * hostnamectl set-hostname Linux001 | ||
== Network == | == Network == |
Revision as of 13:42, 3 December 2018
Contents
Partition
- /boot
- /
- swap
Hostname
- hostname
- hostnamectl set-hostname Linux001
Network
- vi /etc/sysconfig/network-scripts/ifcfg-ens32
- BOOTPROTO=static
- ONBOOT=yes
- IPADDR=192.168.200.10
- NETMASK=255.255.255.0
- GATEWAY=192.168.200.1
- systemctl restart network