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.targetorsystemctl set-default graphical.target
-
View system profile
sosreportdmidecodelstopolscpu
-
Networking:
- View Sockets:
sslsofnetstat
- List info:
ip addrnmcli dev showteamdctlbrctlbridge
- Configure network:
nmclinmtuinm-connection-editor
- Monitoring:
- ''' '''
- View Sockets:
-
Processes:
- View Usage:
toppssariostatssvmstatmpstatnumastattuna
- Trace lib calls:
straceltrace
- Kill
killpkillkillall
- Configure Running Process:
nicerenicetaskset
- View Usage:
-
Services:
-
List Services:
systemctl -at servicels /etc/systemd/system/*.servicels /usr/lib/systemd/system/*.servicesystemctl -t service --state=activesystemctl status <name>.servicesystemctl is-enabled <name>
-
Start/Stop:
systemctl start name.servicesystemctl stop name.service
-
-
Logging:
- Configure:
/etc/rsyslog.conf/etc/rsyslog.d/*.conf/var/log/journalsystemd-journald.service
- View:
/var/logjournalctl
- Configure:
-
Hwardware and Drivers:
- View Hardware:
lshwhwbrowser
- Configure Hardware:
udev
- View KERNEL Params:
rpm -q kerneluname -rsysctl -acat /proc/cmdline
- Configure Kernel Module:
modprobemodprobe -r
- View Hardware: