Read (r): 4 Write (w): 2 Execute (x): 1 So, for example, rwx = 7; rw- = 6; r-x = 5, and so on. The d in the beginning means “directory”, – in the beginning means “file”. The pattern is “user”, “group”, “other (ugo).

1. Switch to root user sudo su 2. Open the clock file in the editor nano /etc/sysconfig/clock 3. Make sure that the file contains the correct time zone, for example: ZONE=”America/New_York” NOTE: if you want to check what zones are available, you can see all zones by typing this command: ls /usr/share/zoneinfo 4. Save the file and […]

1. Log in to your server via SSH 2. Create the directory where you want to place SSL certificate files mkdir SSL 2. Navigate to a chosen directory where you want your certificate to be placed cd SSL 3. Generate a certificate signing request and a key file: openssl req -new -newkey rsa:2048 -nodes -keyout […]

1. To check which version of the website you are viewing, put some flag on the test site (something like “test” somewhere on the screen). 2. Open hosts file for editing: sudo nano /etc/hosts 3. Add this line at the bottom: Add this at the bottom of the file: [Ip address] [domain name] For example: […]

1. If it does not exist, create robots.txt file in the root directory of the website. 2. Add these lines (as an example): user-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/uploads/ Explanation: user-agent: * – the asterisk includes every bot, not just search engine indexing spiders Disallow: – followed by the path to the directory. […]

1. Switch to root user sudo su 2. Create new user adduser [username] (For example, adduser admin ). 3. Assign password to a new user passwd [username] (For example, passwd admin ). 4. Enter password 5. To give the new user necessary privileges, assign that user to the appropriately privileged group. For example, to the www […]

For example, if your main domain name for the given server is certaindomainname.com 1. Switch to root user sudo su 2. Open hosts file on the server nano /etc/hosts and make sure you have this in it: 127.0.0.1 localhost.localdomain localhost certaindomainname.com ::1 localhost.localdomain localhost certaindomainname.com Save the file. 3. Open Apache configuration file nano /etc/httpd/conf/httpd.conf […]

1. Switch to root user sudo su 2. Install postfix yum install postfix -y 3. Stop sendmail (installed on Amazon Linux by default) /etc/init.d/sendmail stop 4. Start postfix /etc/init.d/postfix start 5. Switch MTA from sendmail to postfix alternatives –set mta /usr/sbin/sendmail.postfix 6. Configure postfix to allow email for the same domain name to be received. […]

Theme Check: https://wordpress.org/plugins/theme-check/ Industry standard plugin for testing themes for most current best practices (!) Plugin Performance Profiler: https://wordpress.org/plugins/p3-profiler/ Allows to check how plugin performance affects the loading time of the WordPress website. Google XML Sitemap Map generator: https://wordpress.org/plugins/google-sitemap-generator/ Regenerate Thumbnails http://www.viper007bond.com/wordpress-plugins/regenerate-thumbnails/ Useful when you need to do just what the plugin title describes Custom […]