Centos 7 Notes - alex-aleyan/linux_wiki GitHub Wiki
yum groupinstall "Graphical Administration Tools" "GNOME Desktop"
-
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
orsystemctl set-default graphical.target
-
View system profile
sosreport
dmidecode
lstopo
lscpu
-
Networking:
- View Sockets:
ss
lsof
netstat
- List info:
ip addr
nmcli dev show
teamdctl
brctl
bridge
- Configure network:
nmcli
nmtui
nm-connection-editor
- Monitoring:
- ''' '''
- View Sockets:
-
Processes:
- View Usage:
top
ps
sar
iostat
ss
vmstat
mpstat
numastat
tuna
- Trace lib calls:
strace
ltrace
- Kill
kill
pkill
killall
- Configure Running Process:
nice
renice
taskset
- View Usage:
-
Services:
-
List Services:
systemctl -at service
ls /etc/systemd/system/*.service
ls /usr/lib/systemd/system/*.service
systemctl -t service --state=active
systemctl status <name>.service
systemctl is-enabled <name>
-
Start/Stop:
systemctl start name.service
systemctl stop name.service
-
-
Logging:
- Configure:
/etc/rsyslog.conf
/etc/rsyslog.d/*.conf
/var/log/journal
systemd-journald.service
- View:
/var/log
journalctl
- Configure:
-
Hwardware and Drivers:
- View Hardware:
lshw
hwbrowser
- Configure Hardware:
udev
- View KERNEL Params:
rpm -q kernel
uname -r
sysctl -a
cat /proc/cmdline
- Configure Kernel Module:
modprobe
modprobe -r
- View Hardware: