September 20, 2007 at 2:31 pm
· Filed under Linux, Uncategorized
1. Check folder size
$ du -hs /path/to/directory
2. Zip a folder
$ zip -r filename.zip /path/to/folder
3. Mount a portable harddrive / usb drive
$/sbin/fdisk -l
4. Check memory usage
$ free -m
by look into the free column of -/+ buffers/cache line, it’s the free memory that can be used by applications.
5. Check if a package is installed (RedHat Enterprise/Fedora/Suse/CentOS)
$rpm -qa | grep PACKAGE-NAME
Permalink
August 7, 2007 at 12:28 pm
· Filed under Uncategorized, Windows
If you find you self in a situation that an aspx page cannot be accessed from IIS 7 on Windows Vista, read this.
go to Control Panel –> Program –> Turn Windows Features on or off
then expand Internet Information Services –> World Wide Web Services –> Application Development Features
Last, just check what features you need: ASP, ASP.NET, CGI, ISPI and etc.

Permalink