Wednesday, September 07, 2005

:::::::::::: Some LINUX Installation tips ::::::::::::::::::

-> If the Installer is tar file then $ tar xvf filename

-> If the Installer is tgz file then $ tar zxvf filename

-> If the Installer is rpm file then $ rpm -i filename

-> If the Installer is zip file then $ unzip filename

-> If the Installer is gz file the $ gunzip filename

RPM is redhat package manager, rmp -ivh then the rmp will install the specific folder in /user directory.

/etc/rc.d/init.d/ is the directory contains all the excutable scripts, so sometimes need to change the executable permission for the script, the following specified how to change the persmission.

#chmod +x /etc/rc.d/init.d/jboss

#service jboss start, then the jboss will start as a service.

To open window in VNC server... #xterm -ls -sb -fg black -bg white &

shutdown the vnc server
#vncserver :1

Remove all file including directorires : rm -rf *

Copy all sub directories and files: cp -r . /opt

copy files from 1 mechine to other mechine with scp.

0 Comments:

Post a Comment

<< Home