Categories
Server

Command Not Found…All of a sudden a command is not Found!

Command Not Found: You’ve been having a good day up till now When you type a common command in unix, it could be ls or last or who or grep or in my case rmate when low and behold, a response: bash: Command not Found This is very annoying and is often the case where […]

Categories
Server

Apache Enabling mod Rewrite Debian Wheezy

Apache Enabling ModReWrite In order to use mod_rewrite you can type the following command in the terminal: a2enmod rewrite service apache2 restart Then, if you’d like, you can use the following .htaccess file. setEnv APPLICATION_ENV development RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] The above .htaccess file (if […]

Categories
Server

Using Telnet on Windows

1. Control Panel 2. programs and Features 3. Turn Windows Features on and off 4. Tick next to telnet client telnet 38.187.76.209 9091

Categories
Server

Debian 7 (WheezY) Cheat Sheet

Check php version (command line): php -i unzip a .tar: tar -xvf file.tar unzip a .tar.gz: tar -xzvf file.tar.gz Virtual Host Setup: 1. Place the WebSite Files in /var/www/[Folder name] 2. Navigate to /etc/apache2/sites-available 3. Create a new file [SiteName], and nano the vhost 4. Create a symlink in /etc/apache2/sites-enabled with: a2ensite [siteName] 5. Restart […]

Categories
Server

The Best Linux Distribution for your Web Server

So you have made the step into the world of server management and maintenance, either with a local or cloud based server. The next step is to choose which Operating System you want on your server, and if you have a decent brain on your head you will decide to use a linux kernel for […]