Friday, December 18, 2015

important commands for CentOS 7 & Drupal 8

Unzip tar file:
tar zxf archive.tar.gz

source: http://www.linuxquestions.org/questions/linux-newbie-8/how-to-extract-and-install-from-tar-gz-and-tar-bz2-681967/


How delete the content of a directory in Centos:
rm -rf foldername

source: http://serverfault.com/questions/324284/how-delete-the-content-of-a-directory-in-centos





Moving and Renaming Directories and Files
$ mv ExistingName NewName


source: http://www.kernelhardware.org/moving-and-renaming-directories-and-files/comment-page-1/






Restart apache

# service httpd restart

source: http://www.cyberciti.biz/faq/restart-apache-via-ssh/




Restart apache
curl -O http://ftp.drupal.org/files/projects/drupal-8.0.x-dev.tar.gz
source: http://www.cyberciti.biz/faq/restart-apache-via-ssh/








Step-by-step install DRUPAL 8


source: http://orangeweb.com.au/installing-drupal-8-centos-7



Restart MySQL db  in Centos:
systemctl restart mysqld.service

source 1: https://www.digitalocean.com/community/questions/centos-mysql-server-won-t-start
source 2http://support.moonpoint.com/software/database/mysql/not-running-centos7.php



How to Install and Configure vsftpd on CentOS 7:
source: http://www.liquidweb.com/kb/how-to-install-and-configure-vsftpd-on-centos-7/