Software
การติดตั้งและแก้ปัญหาซอฟต์แวร์บน CentOS
CentOS 6 EOL Vault repository
CentOS 6 EOL Vault repository curl https://www.phangngacloud.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo EPEL repository curl https://www.phangngacloud.com/files/
Change OpenSSH Port On CentOS 8
Change OpenSSH Port On CentOS 8 sudo vi /etc/ssh/sshd_config แก้ไข Port 2299 (เลขพอร์ตที่ต้องการ) sudo yum install policycoreutils-python-utils sudo semanage port -a -t ssh_port_t
ติดตั้ง vmwaretool centos7
ก่อนติดตั้งให้ mount แผ่น vmwaretool ใน VM ก่อน จากนั้นใช้คำสั่งดังนี้ yum install perl gcc make kernel-headers kernel-devel -y mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom
Change OpenSSH Port On CentOS 7
Change OpenSSH Port On CentOS 7 sudo vi /etc/ssh/sshd_config แก้ไข Port 2299 (เลขพอร์ตที่ต้องการ) sudo yum -y install policycoreutils-python wget unzip perl-Data-Dumper sudo semana
Install perl-Data-Dumper
To fix problem install perl-Data-Dumper with YUM: yum install perl-Data-Dumper ที่มา : https://arstech.net/fix-webmin-error-failed-dependencies-perldatadumper/
Clear ssh history on Cenos And Ubuntu.
cat /dev/null > ~/.bash_history && history -c && exit
error: db5 error(-30973)
error: db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 - (-30973) error: cannot open Packages database in /va
xfs_repair CentOS7
sudo xfs_repair -v -L /dev/sda3
auto run script at boot time in centos7
ตั้งค่า ในไฟล์ /etc/rc.d/rc.local กำหนดสิทธิ์ chmod +x /etc/rc.d/rc.local
Upgrade Python from 2.6 to 2.7 on Centos 6.5
How can I upgrade it in Centos 6.5? I try below Download Python and extract it wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz xz -d Python-2.7.8.tar.xz tar -xvf Python-2.7.8.tar
เปิด EPEL Repo ของ CentOS 5, CentOS 6 and CentOS 7
What is the EPEL repo? The EPEL (Extra Packages for Enterprise Linux) yum repository is an excellent source for additional packages for CentOS. Instead of having to compile applications that aren’t in