ubuntu: transfer files between to ubuntu servers via ftp

Source: http://vikashazrati.wordpress.com/2008/02/03/quicktip-transferring-files-between-two-ubuntu-systems/ 1.  From Receipt Server Enter sftp -oPort=PORT user@XXX.XXX.XXX.XXX   2. Type Command get remote-path [local-path]   Other Commands cd path Changes remote directory to path. lcd path Changes local directory to path. chgrp grp path Changes group of file path to grp. grp must be a numeric GID. chmod mode path Changes permisssion of file path to mode. […]

ubuntu: webadmin installation

Preparing your system Open the terminal and run the following command sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python Now you need to dpwnload webmin deb package using the following command wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb Install downloaded package using […]

ubuntu: relevant and useful commands

Example of the Command FIND How to find all the Logs on your server find / -iname ‘*.log’ find /var/spool/asterisk/monitor/ -iname ‘*0414*’ Change server Timezone dpkg-reconfigure tzdata Restart Openbravo Tomcat /etc/init.d/openbravo-tomcat restart To Check if your server is 32 or […]

ubuntu: define java_home linux

  Open up your profile vim /etc/profile Add the following code to the profile JAVA_HOME=/usr/lib/jvm/java-6-openjdk export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH To check if JAVA is set up correctly… echo $JAVA_HOME   Take note that is very important to know what […]