php -mInstall mbstring:
yum install php-mbstringif ask Is this ok, type the letter y.
wait for it finish.
Finally, restart your server.
service httpd restart
php -mInstall mbstring:
yum install php-mbstringif ask Is this ok, type the letter y.
service httpd restart
:wqAccording to the official document, command :x should be also work:
:x
Run the "yum update" command and get this error Error: Cannot find a valid baseurl for repo: base.[root@localhost ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - ""
Error: Cannot find a valid baseurl for repo: base
#dhclient
apt-get install zip
apt-get install unzip
yum install zipAfter installed the software, use cd command to go the target directory to run zip command and you would found the zipped file.
yum install unzip
zip -r techtach.zip /var/www/example.com/public_html
cut -d: -f1 /etc/passwd
timedatectl list-timezones
timedatectl set-timezone Asia/Hong_Kong
date
useradd -ou 0 -g 0 username
useradd -ou 0 -g 0 johnwong
passwd username
passwd johnwong
passwd username
passwd johnwong
groups
groups username