Search Package
sudo yum search wget
Run to install
sudo yum install wget
by dev
Search Package
sudo yum search wget
Run to install
sudo yum install wget
by dev
Problem:
There are two possible solutions of the above problem, your path to Tar tool is not correct, or the system can’t access to the path. In my case, I have both problems, so:
Solution One: Fixing the path of Tar
Open your terminal
Type which tar or whereis tar
which tar
or
whereis tar
Then use the path it returns in config.inc.php. For example,
tar = /usr/bin/tar
Still receiving the same error message, follow the second step.
Solution Two:
Still getting error? Follow next step.
Solution Three:
You may get one of the following issues.
To fix the problems, you have to enable exec() function by deleting from the disable_functions
Go to link How to enable exec()
by dev
Prerequisites
Warning
All data will be erased on the partition.
Procedure
Suppose we are re-partitioning /dev/vdb1
vi /etc/fstab
umount /dev/vdb1
fdisk /dev/vdb1
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Command (m for help):
by dev
yum install e2fsprogs
yum install perl-Crypt-SSLeay perl-Net-SSLeay
Then try updating CSF.
csf -u
by dev
ls command for files
du command for directories
Checking File Size
ls -l filename #Displays Size of the specified file
ls -l * #Displays Size of All the files in the current directory
ls -al * #Displays Size of All the files including hidden files in the current directory
ls -al dir/ #Displays Size of All the files including hidden files in the ‘dir’ directory
Checking Directory size
du -sh directory_name #Gives you the summarized(-s) size of the directory in human readable(-h) format
du -bsh * #Gives you the apparent(-b) summarized(-s) size of all the files and directories in the current directory in human readable(-h) format
For more information see man ls and man du