-
Setting The Time Zone and System Clock on Your LAMP Server
Publish Date: September 25th, 2014 | Posted in Ubuntu Linux | Last UpdatedSet Correct Time Zone and System Clock $ dpkg-reconfigure tzdata Then follow instructions that proceed
Set Correct Time Zone and System Clock $ dpkg-reconfigure tzdata Then follow instructions that proceed
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 […]
This tutorial explains how to automate the execution of PHP scripts using a Linux utility called crontab. A crontab file is generated for each user on your server. Be sure to have a Mail Transfer Agents (MTA) such as Postfix installed. Cron job statuses (fails, successes, and reasons) are sent via an internal mail client […]
There is no excerpt because this is a protected post.
Find: Searching for a File or Directory sudo find / -iname ‘target_to_find’ -type d Where: Reference: Ubuntu Community Help Wiki AskUbuntu
Housekeeping: Installing Necessary LAMP Packages 1. Folder Access Control Apache 2.2 vs 2.4: http://httpd.apache.org/docs/2.4/upgrading.html#access 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 […]
1. Create A Public Directory For Your Websites Make sure you are in your top-level directory by typing: $ cd /home/username Permanently Delete A Directory If you need to delete a directory and all its sub-folders, navigate one level above the directory_to_delete and type: rm -rf directory_to_delete 2. Create the Structure for Your Web Directory […]