Ubuntu as a OSX Time Machine

Ubuntu as a OSX Time Machineauthor Install some packages sudo apt-get install netatalk avahi-daemon Then sudo vi /etc/avahi/services/afpd.service <?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–> <!DOCTYPE service-group SYSTEM “avahi-service.dtd”> <service-group> <name replace-wildcards=”yes”>%h</name> <service> <type>_afpovertcp._tcp</type> <port>548</port> </service> </service-group> Now sudo vi /etc/avahi/services/deviceinfo.service Edit <?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–> <!DOCTYPE service-group SYSTEM “avahi-service.dtd”> <service-group> <name replace-wildcards=”yes”>%h</name> <service> <type>_device-info._tcp</type> <port>548</port> <txt-record>model=Xserve</txt-record> </service> </service-group> Start […]

Setting up a PPTP Server on Amazon EC2 using Ubuntu 12.04 LTS

Creating a PPTP VPN provides basic encryption but is better than none. Install the necessary software (pptpd, pop): user@ubuntu:~# sudo apt-get install pptpd ppp # Configure PPTP user@ubuntu:~# sudo vi /etc/pptpd.conf Add at the bottom of the file: localip remoteip The value of “remoteip” will be the IP address range that are going […]

Static IP Address Ubuntu

During the installation, Ubuntu installer has configured this server to get it’s ip address via DHCP. This post will show you how to configure static ip address on Ubuntu 12.04 linux server. This steps may working on other versions of Ubuntu. Edit /etc/network/interfaces as per below command : user@ubuntu:~# sudo vi /etc/network/interfaces Original network interface […]

Remove Old Ubuntu Kernels

When upgrading Ubuntu you can end up with a lot of old Ubuntu kernels, run the following to delete the old ones. sudo dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/(.*)-([^0-9]+)/1/”)”‘/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d’ | xargs sudo apt-get -y purge

Installing Ubuntu 14.04 on Xenserver 6.2

There are two changes to be made to make Ubuntu work. Install Ubuntu when at the installing grub stage choose “Back” and, from the menu, choose open a shell now enter the following commands chroot /target apt-get install grub grub-install /dev/xvda update-grub the last command require a confirm for creating menu.lst quit the shell by […]

Install VMware Tools on Linux

Mount the VMware linux tools .iso Find what the cd-rom drive is within linux :- dmesg | grep -i cd-rom In this instance its it (sr0) Mount the media sudo mkdir /cdrom sudo mount /dev/sr0 /cdrom Now copy over the VMWare tools cp /cdrom/VMware* /var/tmp cd /var/tmp Unizip the files sudo apt-get install unzip unzip […]

Centos Static IP

vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0″ NM_CONTROLLED=”yes” ONBOOT=yes TYPE=Ethernet BOOTPROTO=static NAME=”System eth0″ IPADDR= NETMASK= Configure Default Gateway vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=centos6 GATEWAY= Configure DNS Server vi /etc/resolv.conf nameserver nameserver Restart Network Interface /etc/init.d/network restart

Centos as a OSX Time Machine

TimeCapsule is the Apple (closed) backup system. But… even if closed, you can configure a linux server to be your TimeMachine network disk, like TimeCapsule does. First of all you need a linux system and, to follow this step-by-step guide, you need a CentOS 6.X linux. Installation Configure EPEL repository, if your system is not […]