# Grab the Ubuntu source package
wget http://archive.ubuntu.com/ubuntu/pool/main/l/likewise-open/likewise-open_6.1.0.406.orig.tar.gz
# Extract
tar xvzf likewise-open_6.1.0.406.orig.tar.gz
cd likewise-open_6.1.0.406
# Get dependencies
apt-get install -y build-essential fakeroot devscripts debhelper \
autoconf automake libtool libncurses5-dev uuid-dev \
flex bison libpam0g-dev libssl-dev libxml2-dev libpopt-dev pkg-config
mkdir debug
cd debug
../configure
make package
Friday, January 31, 2014
Samba4 Active Directory Domain Controller on Debian Wheezy
#We will use BIND9_DLZ as backend, we need to add a compile flag to bind9
sudo su -l
apt-get install build-essential fakeroot devscripts
#download bind9 src
apt-get source bind9
cd bind9-9.8.4.dfsg.P1
vi debian/rules
#add the following line after ./configure
--dl-open=yes \
# get the dependencies
apt-get build-dep bind9
#build
fakeroot debian/rules binary
#install
dpkg -i ../bind9-9.8.4.dfsg.P1_<your arch>.deb
#add backports repo
vi /etc/apt/sources.lst
#add the following line to sources.list
deb http://ftp.us.debian.org/debian wheezy-backports main
#install samba from backports (version 4)
apt-get install -t wheezy-backports samba
#check your samba version is 4
samba -V
# provision domain
/usr/local/samba/bin/samba-tool domain provision --use-rfc2307 --interactive
service samba start
apt-get install chkconfig
chkconfig samba on
#setup bind,kerberos, etc
http://wiki.samba.org/index.php/Dns-backend_bind
http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
sudo su -l
apt-get install build-essential fakeroot devscripts
#download bind9 src
apt-get source bind9
cd bind9-9.8.4.dfsg.P1
vi debian/rules
#add the following line after ./configure
--dl-open=yes \
# get the dependencies
apt-get build-dep bind9
#build
fakeroot debian/rules binary
#install
dpkg -i ../bind9-9.8.4.dfsg.P1_<your arch>.deb
#add backports repo
vi /etc/apt/sources.lst
#add the following line to sources.list
deb http://ftp.us.debian.org/debian wheezy-backports main
#install samba from backports (version 4)
apt-get install -t wheezy-backports samba
#check your samba version is 4
samba -V
# provision domain
/usr/local/samba/bin/samba-tool domain provision --use-rfc2307 --interactive
service samba start
apt-get install chkconfig
chkconfig samba on
#setup bind,kerberos, etc
http://wiki.samba.org/index.php/Dns-backend_bind
http://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
Installing ltsp-server in Linux Mint 13 LTS
sudo su -l
apt-get install ltsp-server-standalone
# You need to make a link from Ubunto to LinuxMint since ltsp does not know about Mint
cd /usr/share/ltsp/plugins/ltsp-build-client/
ln -s Ubuntu LinuxMint
ln -s Debian-functions LinuxMint-functions
# You need to tell explicitly which release you are using, you can change the architecture to something #else
ltsp-build-client --arch=i386 --dist=precise
# Follow the rest of the tutorial here
http://www.thefanclub.co.za/how-to/how-create-ubuntu-1104-x64-ltsp-server-32bit-thin-clients
apt-get install ltsp-server-standalone
# You need to make a link from Ubunto to LinuxMint since ltsp does not know about Mint
cd /usr/share/ltsp/plugins/ltsp-build-client/
ln -s Ubuntu LinuxMint
ln -s Debian-functions LinuxMint-functions
# You need to tell explicitly which release you are using, you can change the architecture to something #else
ltsp-build-client --arch=i386 --dist=precise
# Follow the rest of the tutorial here
http://www.thefanclub.co.za/how-to/how-create-ubuntu-1104-x64-ltsp-server-32bit-thin-clients
Saturday, January 25, 2014
Script to turn apt-cache search into apt-get install list
apt-cache search <search-term> | cut -f1 -d ' ' | sed 's/$/ \\/g' -
Thursday, January 23, 2014
Boostrap a Debian OpenVZ container in ProxMox
# Setup bridged networking
vi /etc/network/interfaces
# Add the following lines
auto eth0
iface eth0 inet static
address 192.0.2.7
netmask 255.255.255.0
gateway 192.0.2.254
# Setup proxy for apt-get
vi /etc/apt/apt.conf.d/70debconf
# Add the following line
Acquire::http::Proxy "http://proxy:8080";
How to remove the nag dialog in Proxmox
Blog post on how to remove the annoying Proxmox nag dialog
http://www.jamescoyle.net/how-to/614-remove-the-proxmox-no-subscription-message
http://www.jamescoyle.net/how-to/614-remove-the-proxmox-no-subscription-message
Subscribe to:
Posts (Atom)