By editor , 24 January, 2016 Remove Apache Log files Tags Server Shell Step 1. Connect to the server as root or execute commands as sudo #sudo su Step 2. remove all log files rm -rf /var/log/apache2/* rm -rf /var/log/virtualmin/* ....
By editor , 18 January, 2016 Debug and Display errors. PHP Apache Mysql Xdebug Tags Server Shell Debug Step 1. Check apache error log (use tail to show in real time) # tail -f /var/log/apache2/error.log Step 2 : Check MySQL database connection using mysql -uusername -ppassword
By editor , 11 January, 2016 Useful Drush commands Tags Drupal 8 Drupal 7 Drush Shell To handle drupal with drust, First of all, you must install drush, and execute drush command from your drupal instalation folder.
By editor , 11 January, 2016 Some Features commands (drush) Tags Shell Drush Features Enable a Features drush en feature_name Revert a feature drush fr freture_name Revert all features drush fra -y #OR Also drush fr-all
By editor , 5 January, 2016 GRUNT, The JavaScript Task Runner Tags Shell Linux Windows Install in Windows. Install npm (Node.js) : https://www.npmjs.com/package/npm Install grunt-cli (npm install -g grunt-cli)
By editor , 12 December, 2015 Zip Unzip / Compress Uncompress Archive files on linux Tags Linux Shell Zip and Unzip Files on Linux (With zip and unzip) Ziping files/directories zip file * zip -r file * Unziping files/directories unzip file.zip extract a file unzip file.zip file.doc
By editor , 7 December, 2015 Disable PhpMyadmin on Apache serveur Tags Server Linux Shell To disable phpmyadmin module, run followin command ad root or sudo: sudo a2disconf phpmyadmin sudo service apache2 reload OR a2disconf phpmyadmin service apache2 reload
By editor , 18 November, 2015 SSH Renew / Remove remote host identification. Tags Server Shell The solution is: ssh-keygen -R <host> Example: ssh-keygen -R 127.0.0.1 ssh-keygen -R domainname.com
By editor , 16 November, 2015 Linux Shell - Process bulk Images Tags Linux Shell Images Inlinux debian / ubuntu / mint ... 1. Install imagemagick tools (if not installed) # sudo apt-get install imagemagick 2. Process images like : (here resize images to 50%) $ for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done