Add multiple secondary IP addresses on CentOS

Adding a single secondary IP on CentOS is fairly straight forward. Adding a single secondary IP Assuming that you want the secondary IP on your first ethernet card (eth0), create a file /etc/sysconfig/network-scripts/ifcfg-eth0:1 with the following content: user@laptop:~$ cat /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 ONBOOT=yes BOOTPROTO=static IPADDR=10.10.10.100 Optionally, you can also set NM_CONTROLLED to yes if you’d like […]

Posted on August 26th, 2014 under Linux, System Admin • No Comments

How to grant create database for non-root users

Introduction So here’s a recent requirement that I’ve just encountered. I have a shared MySQL database I have several users that I want them to be able to create new databases However, I don’t want them to see each other’s databases And just to be absolutely clear, I obviously don’t want to give them all […]

Posted on June 6th, 2014 under Database, MySQL • 1 Comment

Configuring Postfix + Spamasassin + Amavis as front-end Mail Transport Agent (MTA) to MS Exchange 2010

Introduction The last time my client uses Windows Small Business Server, I had them bought Trend Micro Client Server Messaging Security for Small and Medium Business. It was quite costly; around $1200 for 15 users includes 2 years maintenance. It made sense then, because his settings makes it easy to manage and maintain and virus […]

Posted on April 15th, 2013 under Linux, System Admin, Windows • 2 Comments

Brain teaser: splitting revenue fairly.

While this brain teaser can be applied to more than programming, I think it’s a very nice one to sharpen our problem-solving solution required to do a good programming. There were 2 people, A and B. They joined together to have a meal. Person A brought 3 loafs of bread. Person B brought 5 loafs […]

Posted on October 30th, 2010 under General / Algorithm • No Comments

Revisit: choosing virtualization solution

It has been almost 1.5 years since I wrote my original article. While I’m still cheap (read: always try to get the best deals out there) but other things have changed — especially in the built-in support of virtualization on some Linux distributions. My new (used) server So this time, I got my server Sun […]

Posted on October 30th, 2010 under Virtualization • No Comments

Page 1 of 1112345...10...Last »