sleepingsucks

Static IP in Ubuntu Server

Posted in Uncategorized by cdeschenes on July 28, 2013

sudo vim /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.106
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1 8.8.8.8

sudo /etc/init.d/networking restart

Advertisements

sabNZBd on Ubuntu Server

Posted in Uncategorized by cdeschenes on July 28, 2013
  • sudo apt-get install sabnzbdplus
  • sudo vim /etc/default/sabnzbdplus

USER=ACCOUNT

  • cd ~/.sabnzbd/
  • vim sabnzbd.ini
  • Look for host = localhost and change it to host = 0.0.0.0
  • /etc/init.d/sabnzbdplus start

 

Ubuntu and LazyLibrarian

Posted in Uncategorized by cdeschenes on July 28, 2013

Installing LazyLibrarian on a Ubuntu Server 12/13

  • sudo apt-get install git-core
  • cd /opt
  • sudo git clone https://github.com/anthonypdawson/LazyLibrarian.git
  • cd /opt/LazyLibrarian
  • sudo cp ubuntu.initd /etc/init.d/lazylibrarian
  • sudo cp ubuntu.default /etc/default/lazylibrarian
  • sudo vim /etc/default/lazylibrarian

ENABLE_DAEMON=1
RUN_AS=ACCOUNT

  • Save changes
  • sudo chmod a+x /etc/init.d/lazylibrarian
  • sudo update-rc.d lazylibrarian defaults
  • sudo service lazylibrarian start

Ubuntu Notes

Posted in Uncategorized by cdeschenes on July 26, 2013

Stuff I seem to forget when making a new VM

Update a fresh install:

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get dist-upgrade