Archive for the 'Linux' category

Tar and Gzip

May 12 2010 Published by aaron under Linux, Sysadmin

Tar

tar cvf backup.tar /etc

Gzip

gzip -9 backup.tar

Tar and Gzip together

tar cvf - /etc gzip -9c > backup.tar.gz

To untar

tar xvf backup.tar

To ungzip

gunzip backup.tar.gz

To Untar and Ungzip

gunzip -c backup.tar.gz  | tar xvf -

To list contents of a tar.gz file

tar -ztvf file.tar.gz

To list contents of a zip file

unzip -l [filename].zip

No responses yet

change maximum memory for coldfusion 8

Mar 01 2010 Published by aaron under Linux, Sysadmin

First, it might be good for you to get the total amount of free memory on your system (using -m will present the information in MB):

[root@www1 bin]# free -m
total       used       free     shared    buffers     cached
Mem:          1770       1754         15          0         74        894
-/+ buffers/cache:        785        984
Swap:         1983         74       1909
Looks like I have about 1754 MB free.

Edit the following file:

/opt/jrun4/bin/jvm.config

then change the following line from:

-XX:MaxPermSize=512m

to something higher, like:

-XX:MaxPermSize=768m

No responses yet

Installing Ubuntu now…

Feb 04 2010 Published by aaron under Linux, Sysadmin

I really like the Ubuntu operating system and the team that is making it. I hope to make it my personal development computer once I find a nice laptop to run it on.

Installing Ubunto 9.10 on VMWare

Installing Ubunto 9.10 on VMWare

Full Screen Terminal Screen shot in Ubuntu while installing Ruby on Rails

Full Screen Terminal Screen shot in Ubuntu while installing Ruby on Rails

No responses yet