Archive for January, 2020

Install Drupal Using composer and drush

Wednesday, January 15th, 2020

sudo su –
yum -y install git
su – www

composer global require zaporylie/composer-drupal-optimizations
composer global require hirak/prestissimo

composer global require drush/drush
echo ‘export PATH=”$HOME/.composer/vendor/bin:$PATH”‘ >> ~/.bashrc
source ~/.bashrc

composer create-project drupal/drupal public_html
cd public_html
drush site:install

CentOS 8 firewall command equivalent

Tuesday, January 14th, 2020

iptables -nL = nft list ruleset
service iptables restart = /bin/firewall-cmd –reload

Updating cron job in QNAP

Wednesday, January 8th, 2020

to run cronjob inside a qnap – you will need to updating the following file.

vi /etc/config/crontab

If you update using crontab -e, the changes won’t be survive after a reboot.