New Search

If you are not happy with the results below please do another search

11 search results for: centos

1

Centos /Cloudlinux 7 error restarting a systemd service

Unable to register authentication agent ** (pkttyagent:478736): WARNING **: 18:16:34.777: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) # groupadd -g 23 nohidproc # usermod -a -G nohidproc polkitd # mount -o remount,rw,hidepid=2,gid=nohidproc /proc # systemctl restart polkit     […]

4

Fix the glibc error at boot

Environment: Centos 7 Boot Process Error : System Hanging at “Starting Switch Root”,Boot fails. Solution: Replace/Reinstall glibc-x.x.x.el7.x86.64 package after boot your server with centos rescue dvd / cd / iso image rpm -ivh –root=/mnt/sysimage –replacefiles –replacepkgs /run/install/repo/Packages/glibc-x.x.x.el7.x86.64.rpm

5

Most Used Linux Commands For File Compression

Gzip Compress a file with gzip $ gzip filename Compress and keep the original file $ gzip -c file > file.gz Compress all files in a folder $ gzip -r foldername Tar.gz $ tar -czvf filename.tar.gz directory ZSTD Compression Install first the package, $ sudo apt install zstd (Debian/Ubuntu) $ dnf install zstd (Centos,AlmaLinux,Fedora,Redhat) Usage: […]

7

Extending / resizing lvm disk to free space

When you use lvm and still have free space on a virtual or physical disk,you can extend your lvm partition to use all free space. Firstly you should be sure it exists. Type “vgdisplay” command in root shell.You should see some free space in “Free  PE Size” After that you should type this command “lvextend […]

8

Extending lvm disk by adding space

On Vmware Esx server,You can increase size of your virtual hard disk easily.If you use lvm for your guest os,you will need to add new virtual hard disk or just increase the size of your current disk.This guide will help you to extend size of the disk after you resize of your virtual disk by […]

10

Fix Apache SSL vulnerabilites

For Centos Servers; Please add these lines to the end of /etc/httpd/conf.d/ssl.conf file and restart httpd service <IfModule mod_ssl.c> SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2 -SSLv2 -SSLv3 </IfModule> <IfModule mod_ssl.c> #SSLCipherSuite HIGH:!aNULL:!MD5:!RC4-SHA:!RC4 #SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RS SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5::!RC4 </IfModule>