Skip to main content
  • Linux Hard drive Space

    Publish Date: September 25th, 2014 | Posted in Ubuntu Linux | Last Updated

    Hard Drive Space The df command will show you overall disk usage. To find out how much space is used in a directory, use du -s. For example, to view the disk usage of your server’s partitions: $ df -h To list the size of a specific directory: $ du -sh /home/ List the size […]

  • Class 6: Advanced Housekeeping: Server Options and Installs

    Publish Date: February 19th, 2014 | Posted in Advanced LAMP Techniques | Last Updated

    Housekeeping: Installing Necessary LAMP Packages 1. Folder Access Control Apache 2.2 vs 2.4: apache2-utils is prerequisite: $ sudo apt-get install apache2-utils How to Set Up htpaswd $ htpasswd -c .htpasswd your-user-name $ htpasswd .htpasswd all-other-user-names 2. Set Server Clock to Your Time Zone $ dpkg-reconfigure tzdata 3. a2enmod rewrite for Pretty URL and Redirects […]