Sunday, September 13, 2009
Internet Barometer - Real-time statistics on Internet 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
# id your_userid
Friday, September 11, 2009
Setting Quota on CentOS Linux
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,
- Implementing Disk Quotas on Linux (Souptonut.sourceforge.net)
- Linux File System Quotas (Yo Linux)
Thursday, September 10, 2009
MagCloud - Publish your own magazine in the Cloud
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
"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
