Ubuntu

Apache http2 Activation on Ubuntu 14.04

Posted on

http/2 is apparently where the web is going on the next generation web data transfer. I’m interested on trying to configure it, to see if that gives me an edge on the SEO side. The process to activate it is particularly simple, but, I had some compatibility challenges. Let me elaborate: I’m hosting this particular […]

Ubuntu

Ubuntu: Clean full Boot Partition

Posted on

If the your boot partition if full you won’t be able to update, upgrade or install new packages (apt-get upgrade/update/install). You will get an error while trying to do this, the next step is to check if this is in fact happening. You’ll get something like: root@aizary:~# df -h Filesystem Size Used Avail Use% Mounted […]

Ubuntu

LINUX: Running Shell Script

Posted on

  # Test your newly created Shell Script #sudo bash /home/rmalla/backup.sh   — NOTE — I spent about an hour trying to figure out why my script did not work, and the answer was that I had created the script in Notepad and uploaded it to de web and it had some hidden flags that […]

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