formats

scottlinux.com – Powered by Linode and your referrals!

Published on 2013/03/07, by in linux, sysadmin.

scottlinux.com – Powered by Linode and your referrals! | Thank you to all who have used my referral code or link to sign up for Linode. Right now scottlinux.com has generated 11 completed referrals and counting. Rock on!

formats

Browsercheck.com – check your browser security

Published on 2013/02/25, by in linux, osx, windows.

Browsercheck.com – check your browser security | Qualys has a free website that scans your web browser for any pending security updates. Here is the link: http://browsercheck.com The site works for Linux, Windows, and Mac OS X. On Windows, the scan will even show any pending Windows security updates that need to be applied. Here are some screenshots!

formats

Log POST data in Apache

Published on 2013/02/08, by in linux, sysadmin.

Log POST data in Apache | Apache can log all POST data for troubleshooting purposes. I’ll show you how to set this up! First you will need to enabled mod_dumpio. On Ubuntu / Debian enable the module: $ sudo a2enmod dump_io Then add the following and restart apache: $ sudo nano /etc/apache2/apache2.conf LogLevel debug DumpIOInput On DumpIOOutput On DumpIOLogLevel debug

formats

Search for 777 Directories of Common Name

Published on 2013/02/05, by in linux, sysadmin.

Search for 777 Directories of Common Name | With a simple find command, it is possible to locate similar named directories that are 777. I’ll show you how! This will identify public_html directories under /home that are 777: $ sudo find /home -name ‘public_html’ -type d -perm 777 Alter as desired, for example: $ sudo find /var/www/ -name ‘httpdocs’ -type d -perm 777

formats

Speed Up Website in Apache by Enabling Compression and Leveraging Browser Caching

Published on 2013/01/30, by in linux, sysadmin.

Speed Up Website in Apache by Enabling Compression and Leveraging Browser Caching | Google has a cool website to inspect your website for speed improvements. Two of the main areas are leveraging browser caching as well as enabling compression for your website. I’ll show you how to set this up in Apache! Firstly, here is that website. Put in your site for a quick review: https://developers.google.com/speed/pagespeed/insights If you

formats

John the Ripper Multithreaded Multicore How-To | Linux

Published on 2013/01/29, by in linux.

John the Ripper Multithreaded Multicore How-To | Linux | John the Ripper must be compiled from source to enable multithreaded support as well to gain the added features of the jumbo patch. It’s not that hard and I’ll show you how! 1. Grab latest patched jumbo version that includes lots of goodies: $ wget http://openwall.com/john/g/john-1.7.9-jumbo-7.tar.bz2 2. Extract $ tar xvf john-1.7.9-jumbo-7.tar.bz2 3. Change to

formats

Configure Apache SSL Cipher Suites for Best Security

Published on 2013/01/25, by in linux, sysadmin.

Configure Apache SSL Cipher Suites for Best Security | Apache can be configured to use various SSL Cipher suites. For best security, set Apache SSL settings to use only the highest grade security ciphers. It has become common practice to also set the server to prefer an RC4-SHA cipher both for speed (it’s fast!) as well as a fix against the BEAST attack. Google,

formats

How to Create MySQL database and user

Published on 2013/01/21, by in linux, sysadmin.

How to Create MySQL database and user | Here is quick way to create a MySQL database and user. This is useful for WordPress, Drupal, or other LAMP apps. Login to MySQL with the MySQL root password: $ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version:

formats

How to Redirect a URL in a Virtual Host

Published on 2013/01/18, by in linux, sysadmin.

How to Redirect a URL in a Virtual Host | Redirecting a URL in a virtual host is a snap! I’ll show you how. Scenario: you have a server that receives example.com but you want that to redirect to example2.com. First you will want to add this to your /etc/apache2/ports.conf (Debian or Ubuntu) or /etc/httpd/conf/httpd.conf (Red Hat or CentOS) if you have not already: NameVirtualHost

formats

Use awk instead of cut to cut out specific columns of a file

Published on 2013/01/17, by in linux, sysadmin.

Use awk instead of cut to cut out specific columns of a file | For separating out specific columns of a file, try using awk! The command to use is: $ awk ‘{print $9,$10}’ file.txt > file_cut.txt Where 9 or 10 indicates the ninth or tenth column of a text file. For an example, say you have the output of an ls -l: drwxr-xr-x 13 root root 4096 Jun

Home Archive for category "linux" (Page 10)