Sunday, September 13, 2009

Internet Barometer - Real-time statistics on Internet attacks

Interoute's Internet Barometer shows the real-time statistics on Internet attacks worldwide and provides source of information on the those attacks.

Interoute's Internet Barometer not only shows the countries that have been attacked but the attacking countries as well. However, information on the attacking countries are those attacking Europe at this point in time.

In addition, you can install the barometer widget which let's you have real-time information on threat status and global and local attacks. Adobe Air will be installed on your Linux Mint box to run the widget.

Saturday, September 12, 2009

Using id commands to display user and group information

Learned a simple but effective commands today to display user and group information. That is "id"

# id your_userid

Friday, September 11, 2009

Setting Quota on CentOS Linux

Setting up Disk Quota on CentOS 5.x or Linux is rather straightforward. I'm assuming you are setting on a partition /dev/sdb1


Step 1: At the /etc/fstab, add "usrquota, grpquota" to the partition you wish to put quota on
/dev/sdb1 /home ext3 defaults,usrquota,grpquota 1 1


Step 2: Initialise aquota.user
# touch /dev/sdb1/aquota.user
# chmod 600 /dev/sdb1/aquota.user

Step 3: Remount the partition
# mount -o remount /dev/sdb1
# less /etc/mtab
(It should show
the list of file system having quota entry in Step 1)

Step 4: Do a Quotacheck commands and turn the quota on
#quotacheck -avugm /dev/sdb1
(The quotacheck command will do a scan and will take a while)
# quotaon -av
# quotatstats
(Check for statistics and possible error encountered)

Step 5: To edit a quota
# edquota -u user_id
(Edit the soft and hard limit respecitvely) or alternatively
# setquota -u user_id 100 200 0 0 -a /dev/sdb1
(where 100 and 200 are the block soft and hard limit respectively)


To quota summary report, do a repquota
# repoquota -a

Further Notes:
For more details readings,

Thursday, September 10, 2009

MagCloud - Publish your own magazine in the Cloud

MagCloud enables you to publish your own magazines. All you have to do is upload a PDF and MagCloud take care of the rest: printing, mailing, subscription management, and more.

Interesting application on using the Cloud from Hewlett Packard

Tuesday, September 8, 2009

Subversion Error - svn: Could not use external editor to fetch log messages

When I was installing Subversion on CentOS 5.3 x86_64 and when I tried to do a "svn commit". The error was

"svn: Could not use external editor to fetch log message; consider putting the $SVN_EDITOR environment variable or using the --message......."
"svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set..............."


To solve the issue
You have to input the environment variables in your .bash_profile in your home directory
# vim .bash_profile
--------------------------------------
export SVN_EDITOR=/usr/bin/vim
--------------------------------------
# source .bash_profile