發表文章

目前顯示的是有「CentOS 8」標籤的文章

CentOS 8 install tcp_wrappers to protect from tcp malicious connection

圖片
 1.                2. Configurate /etc/hosts.deny and /etc/hosts.allow ALL: in.fingerd: sshd: in.tftpd: portmap:   References https://pkgs.org/download/libwrap.so.0()(64bit)

VMware for CentOS 8.X patch for compiling vmnet and vmmon errors

1. su -   2. dnf update    # lastest kernel version 3. download source bundle from https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html and run bundle file  ./VMware-XXXX.bundle  4. download patch from https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.1.2 5. unpack vmware-host-modules 6. cd  vmware-host-modules  7. make && make install 8. su -l yourusername 9. vmware     References https://communities.vmware.com/t5/VMware-Workstation-Pro/Cannot-upgrade-VMware-Workstation-16-1-X-build-modules-on-RHEL-8/td-p/2847782

nothing provides libfluidsynth.so.1()(64bit) needed by vlc-1:3.0.12-1.el8.x86_64 on CentOS 8

圖片
 1. download libfluidsynth libfluidsynth1-1.1.11-14.1.x86_64.rpm packages for Fedora 26 from  ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/rncbc/Fedora_26/x86_64/libfluidsynth1-1.1.11-14.1.x86_64.rpm or http://rpm.pbone.net/info_idpl_61486622_distro_redhatel8_com_fluidsynth-libs-1.1.11-6.el8.x86_64.rpm.html  2. Install package with rpm -ivh $ su - $ rpm -ivh libfluidsynth1-1.1.11-14.1.x86_64.rpm $ dnf install vlc      #as refernce URL Reference https://www.videolan.org/vlc/download-redhat.html

Download and use CUDA repo on CentOS 8

 1.  open broser and go to https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo or download https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-repo-rhel8-10.1.243-1.x86_64.rpm 2.  $ su - $ cp cuda-rhel8.repo /etc/yum.repos.d/ or $ rpm -ivh cuda-repo-rhel8-10.1.243-1.x86_64.rpm 3.  $ dnf update References https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/

CentOS 8 chrony for ntp update

圖片
 1.  su - 2. dnf install chronyd 3. edit /etc/chronyd.conf 4. timedatectl set-ntp yes 5. chronyc -a makesetp 6. systemctl enable chronyd 7. systemctl restart chronyd References https://www.tecmint.com/install-chrony-in-centos-ubuntu-linux/ https://chrony.tuxfamily.org/faq.html

Login as single user mode on CentOS 8

圖片
1. boot on GRUB Menu 2. add argument  rd.break behind as follow: Linux .... rhgb quit  rd.break 3. press Ctrl+x   for booting 4. mount sysroot as follow mount -o remount,rw /sysroot chroot /sysroot 5. check identification as follow bin/sh# whoami 6. If you want to modify root password /bin/sh# passwd if you want to fix sudo suid problem(error message: sudo : /usr/bin/ sudo must be owned by uid 0 and have the setuid bit set) , you can use instruction as follow /bin/sh# chmod u+s /usr/bin/sudo 7. Important!!!   #relabel SELinux protected files /bin/sh# touch / .autorelabel 8. Rebooting machine /bin/sh# reboot -f Reference https://www.linuxtechi.com/boot-centos-8-rhel-8-single-user-mode/ https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-boot-into-single-user-mode-in-rhel-8.html

To print message in a box on CentOS 8

$ dnf  install boxes $ echo 'Merry Chrismas and Happy New Year 2020! ' | boxes -d santa -a c Reference https://boxes.thomasjensen.com/download.html https://www.tecmint.com/boxes-draws-ascii-art-boxes-in-linux-terminal/

Compile LAPACK on CentOS 8

download LAPACK from http://www.netlib.org/lapack/ $ wget http://www.netlib.org/lapack/lapack-3.8.0.tar.gz $ tar zxvf lapack-3.8.0.tar.gz $ cd lapack-3.8.0 $ cp make.inc.sample make.inc $ ulimit -s ulimit $ make && make install

CentOS 8 1905 released

Download link: http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso for Taiwan: http://free.nchc.org.tw/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso http://mirror01.idc.hinet.net/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso http://ftp.twaren.net/Linux/CentOS/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso Rufus USB booting disk https://rufus.ie / Supported updated via dnf program