sudo add-apt-repository ppa:vlijm/placesfiles sudo apt-get update sudo apt-get install placesfiles
Ref: places-indicator-menu-ubuntu-system-tray
How to configure all system on ubuntu, Debian, CentOS
sudo add-apt-repository ppa:vlijm/placesfiles sudo apt-get update sudo apt-get install placesfiles
Ref: places-indicator-menu-ubuntu-system-tray
CentOS7
1.check status selinux enable or disable
#sestatus
#vim /etc/sysconfig/selinux
SELINUX=disabled
and Reboot system
ถ้าปิด Selinux ผิดจะขึ้น Error แบบนี้ : failed to load selinux policy freezing
วิธีแก้ไข
ในหน้าบู๊ด ให้กด e แล้วมองหา linux16 แล้วเพิ่ม selinux=0 เข้าไป แล้ว ctrl+x เพื่อเข้าสู่ระบบ จากนั้นไปแก้ไขค่า
SELINUX=disabled ตามข้อมูลด้านบน
Go to the main command (usually starting with “linux16” or something similar) and add “selinux=0” as one of the parameters:
Ref: selinux policy freezing
systemctl list-unit-fileschkconfig --list |grep ชื่อของ servicesystemctl
systemctl | more
systemctl | grep httpd
systemctl list-units --type servicesystemctl list-units --type service |grep ชื่อของ service
systemctl list-units --type mount systemd-cgtop firewall-cmd --zone=public --list-allList only port
# firewall-cmd --zone=public --permanent --add-service=samba # firewall-cmd --zone=public --permanent --add-service=http # firewall-cmd --reloadRemove service
#firewall-cmd --zone=public --remove-service=http
firewall-cmd --reload
firewall-cmd --get-services
dmidecode -t 1|grep -E '(Product Name|Manufacturer)'
hosts deny = ALL hosts allow = 192.168.1.
2. Add buttom line
