New Search

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

31 search results for: linux

1

odbc and php mssql support for cloudlinux

For your Cloudlinux or a different Redhat based server, add the appropriate version repo below to your server. #RHEL 7 and Oracle Linux 7 #curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo #RHEL 8 and Oracle Linux 8 # curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo #RHEL9 # curl https://packages.microsoft.com/config/rhel/9/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo Delete any potentially conflicting […]

2

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

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: […]

5

Cloudlinux Setting Global Php Directives

When you want to apply one or more php directives like disable_functions,datetime.zone or something else to all your customers websites,you should write these to /etc/cl.selector/global_php.ini file.After you write your directives enter this command to apply selectorctl –apply-global-php-ini /usr/sbin/cagefsctl –setup-cl-selector You can see the example below. ; This file provides global settings for php.ini of all […]

6

Install and activate quota on Linux

Install the quota tools on your server.(debian – ubuntu) sudo apt install quota Edit your fstab file under etc folder: /dev/sda1 / ext4 usrquota,grpquota 0 0 and remount it to take effect immediately: sudo mount -o remount / (or whereever you want to enable) Enable quota.This command will create two files on file system like […]

8

Cloudlinux saving common php settings permanently for all installed versions

When you update cloudlinux,it also will be updated the php.ini files.Therefore you will lost your customized php settings like disable_functions.You can write some of yours into common settings file instead of editing php.ini’s directly. Login to your cloudlinux and change directory to /etc/cl.selector/ You will see the file named global_php.ini.It is effective for your all […]

9

Plesk Cloudlinux LveManager Extension Error

You can manage hosting limits or reseller limits by using lve manager extension (module) inside the plesk hosting control panel.It is useful because you can set some limits to your hosting accounts by using plesk ui.But if you login to plesk with using HTTP,some errors will be occur.Therefore, you must login to plesk with https […]