Ubuntu

Ubuntu: Transfer Files Between to Ubuntu Servers via FTP

Posted on

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. chown own path Changes owner of file path to own. own must be a numeric UID. exit Quits sftp get remote-path [local-path] Retrieves the remote-path and stores […]

Ubuntu

Ubuntu: WebAdmin Installation

Posted on

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 the following command sudo dpkg -i webmin_1.580_all.deb This will install webmin now you need to […]

Ubuntu

Ubuntu: Relevant and Useful Commands

Posted on

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 64 bits uname -a It will say "i686" for 32bit and "x86_64" for 64bit. Check […]

O/S

Ubuntu: Define JAVA_HOME Linux

Posted on

  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 is the real path to your JAVA, and consider that you can have diferent versions […]