Ubuntu

Rsync: Create SSH-Key for Cron Backups

Posted on

Reference: http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/ 1. Create a Key on the “Origin Server” # ssh-keygen root@Asterisk:~# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory ‘/root/.ssh’. Enter passphrase (empty for no passphrase): Enter same passphrase again: Press enter to create the SSH Key without a password (not sure of the no […]

Ubuntu

UBUNTU: Resize HD Size

Posted on

1 – reduce the filesystem. Ex: resise2fs /dev/vg0/lvol0 40G 2 – reduce the lv . ex : lvresise -L 30G logicalvol 3 – reduce the vg … etc..     lvreduce???       http://www.joomlaworks.net/blog/item/168-resizing-the-disk-space-on-ubuntu-server-vms   How To Create LVM Using vgcreate, lvcreate, and lvextend lvm2 Commands

Ubuntu

UBUNTU: VPS Resource Limits

Posted on

I currently have some of my business’s systems (HR, Reporting, Training) on a Server sitting on my home office; in this sense and preparing for a challenging 2014, I’m planning to move forward to a professional solution to host my systems on the web, so after some research I decided to go with 1and1 Hosting […]

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 […]

CentOS

CentOS: Plesk Not Responding

Posted on

Para Arreglar esto tuve que cambiar chmod 777 /etc/my.cnf   Plesk Control Panel shows error after upgrade to version 10.0.1 Article ID: 9266 Last Review: Apr, 16 2012 Views: APPLIES TO: Parallels Plesk Panel 10.x for Linux Fixed since The problem described in this KB article is completely fixed in Parallels Plesk Panel version 10.4.x […]

Backup Strategies

Backup Strategy: CentOS to Ubuntu

Posted on

I run my production servers on a GoDaddy VPS and have a couple of Physical Servers at our office. Until now, we have been quite a bit irresponsible as we have not had a clear backup strategy and luckily have not had any catastrophe, but we’re starting to cover our backs with a backup strategy […]

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 […]

CentOS

YUM vs APT-GET

Posted on

I’m writin this post because I’m trying to install OpenBravo 3 ERP on my CentOS 6.2 server, and as you’ll be able to see below http://wiki.openbravo.com/wiki/Installation/Ubuntu the standard installation procedure requires the APT-GET tool install this package. $ sudo add-apt-repository ppa:openbravo-isv/ppa $ sudo apt-get update $ sudo apt-get install openbravo-3 It’s important to note that […]

O/S

Configure CentOS from scratch

Posted on

Just got my CentOS Godaddy virtual Server @29.99/month with the goal to try to install the following software: – OpenBravo (Accounting) – Jasper Reports (General Reporting) – Red Mine (Project Manager) with the scope of Web Development. I have little experience on server managing and configuration and will do my best to try to work […]