Think LAMP - Web Development, Linux Administration and Networking

open source, programming, networking, system administration, linux, unix

Entries for the ‘Blog’ Category

10 Things that System Administrators should Know

I got inspired by the 10 commandments for system administrators from http://www.linux.com/feature/44315
This is my list:
1. Be WARY about COST CUTTING.
(cheap hardware, cables, labour)
2. KNOW THE NETWORK well.
(keep network, routing diagrams, track public and private IP, label cables if necessary)
3. ESTABLISH STRONG SECURITY POLICIES in the system.
(Security Access, File Permission, good password choice, encryption, SetUID, LDAP, [...]

Retrieve Lost Password in MYSQL

Sometime, we forget the root password for mysql. It happened to me once in my company. The previous developer left and didn’t document where to look for passwords. Well, it is possible for the root user of the system to reset it anyway…
First shutdown mysql,
/etc/init.d/mysql stop
then
mysqld –skip-grant-tables –u root
mysql -u root
mysql> use mysql;
mysql> UPDATE [...]

BlueHost Hosting Review - My Experience

Website hosting nowsadays is very competitive. Many web hosting companies offer tonnes of features at very competitive rates. With so many choices in mind, how do you choose the right host? I have tried many hosts over the years and finally landed on one that I feel has the most complete features that I need [...]

Online Calendar Using PHP and AJAX

This calendar plugs in seamless with any content management system you are using. With Ajax, your screen need not be refreshed. The functionality can be easily extended using inheritance.
The full demo can be seen here - PHP Ajax Calendar and source code is here - Simple PHP Calendar Source.

Arrow Keys In Vim

When you navigate using the arrow keys in vim, you might get some funny characters like A, B, C…etc. In .vimrc, add this line:
:set nocompatible
This should do the trick.