TAG: debian

PageDescriptionTags
Apache2 Some infos howto use apache the debian way: * a2enmod - enables available mod * a2dismod - disables mod * a2ensite - enables site * a2dissite - disables site To commit your changes: /etc/init.d/apache2 force-reload debian apache ,
Create your own Debian mirror with debmirror We will walk through these steps to get the local Debian mirror up and running: * make sure you have enough space on your harddrive * install debmirror, configure a cronjob to sync data * make your mirror available to your clients (via apache or nfs) ,
Debian dependency based boot squence: insserv Squeeze introduced the new dependency based boot sequence. Now, the insserv command is used instead of the well known update-rc.d, if dependency-based booting is enabled. To make the new system work all startup scripts have to follow the guidelines. The
Debian GNU/Linux Some hints which don't fit elsewere at the moment :-) _sudZUZ#Z#XZo=_ DDDD EEEEEE BBBB IIIIII AAAA NN NN _jmZZ2!!~---~!!X##wa DD DD EE BB BB II AA AA NNN NN .<wdP~~ -!YZL, DD DD EEEEE BBBBB II AAAAAA NNNN NN .mX2' _%aaa__ XZ[. DD DD EE BB BB II AA AA NN NNNN oZ[ _jdXY!~?S#wa ]Xb; DDDD EEEEEE BBBBB IIIIII AA AA NN NN _#e' .]X2( ~Xw| )XXc ..2Z` … ,
Debian Package Management A quick overview of the package management tools of Debian (apt-get, aptitude and dpkg) with examples how to use them. Covers the common tasks: install, remove, examine, search aptitude search for installed packages containing
FAI - Fully Automatic Installation * <http://www.informatik.uni-koeln.de/fai/> installation aptitude install fai-quickstart * Edit /etc/fai/fai.conf and /etc/fai/make-fai-nfsroot.conf * Don't forget to adjust FAI_DEBOOTSTRAP to use your preferred (local) Debian mirror. * Edit ,
Howto create your own debian package Links you should take a look at: * Debian policy * Pbuilder user manual Just a reminder for me how to invoke dpkg-deb: fakeroot dpkg-deb --build package-dir package-dir.deb debian
Howto create your own local APT archive Useful links: * <http://mirrorer.alioth.debian.org/> * <http://www.jejik.com/articles/2006/09/setting_up_and_managing_an_apt_repository_with_reprepro/> * <http://wiki.debian.org/SecureApt> Very short todo list follows: server side Install the software aptitude install reprepro Create your repository mkdir -p /srv/debian-myrepos/conf cd /srv/debian-myrepos/conf cat > distributions <<EOM Origin: my own repos Label: my own repos Codename: le…
Howto mix releases If you want to install some packages from testing without upgrading your whole stable system to testing you can tell apt how to deal with different releases: * add testing and/or unstable repos to your sources.list * edit apt.conf
Interfaces Example layout of the Debian/Ubuntu /etc/interfaces config file with static IP configuration including additional routing, alias and VLAN details. # 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 LAN network interface auto eth0 allow-hotplug eth0 #iface eth0 inet dhcp iface eth0 inet static address 192.168.2.10 netwo… , ,
Kernel Howto build a custom kernel the debian way: I'm going to build the latest 2.6.x kernel from <http://www.kernel.org>. The actual kernel list: Get the kernel source wget http://www.de.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 wget http://www.de.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2.sign , , ,
motd - message of the day How to change your motd when you log into your system. On a standard debian box you normally see something like this: Linux 2.6.32-amd64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Feb 13 09:25:06 2012 from xx.xx…
Recreate Debian Package What if I want to change an existing package in Debian, e.g. some configure setting should be adjusted? Repackage bind9 First, we need all the prerequisits: mkdir ~/build cd build # build environment sudo apt-get install devscripts build-essential fakeroot # the source packages of bind9 with all the debian stuff sudo apt-get source bind9 # pull in all dependencies sudo apt-get build-dep bind9 cd bind9-9.8.4.dfsg.P1 ,
udev persistent device name How to create an persistent name for a device. My Surfstick HUAWEI E160 should always have a persistent name between boots or in case i do a reconnect. The E160 creates two /dev/ttyUSB? entries, the first one for the modem, the second one for control and status information. ,
Upgrade to Etch Steps to be performed to upgrade from sarge (amd64) to etch (amd64). I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! Preperations * Read <http://www.debian.org/releases/etch/amd64/release-notes/> * cd /root && tar czf dpkg_lib.tgz /var/lib/dpkg/
Upgrade to Jessie Steps to be performed to upgrade from Wheezy (amd64) to Jessie. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! Preperations * read <http://www.debian.org/releases/jessie/amd64/release-notes/index.en.html> * and <https://www.debian.org/releases/jessie/amd64/release-notes/ch-information.en.html> * be careful with the new default init system for Jessie:
Upgrade to Lenny Steps to be performed to upgrade from etch (i386) to lenny. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! preperations * read <http://www.debian.de/releases/lenny/i386/release-notes/index.en.html> * back up the contents of /etc, /var/lib/dpkg, /var/lib/aptitude/pkgstates and the output of dpkg
Upgrade to Squeeze Steps to be performed to upgrade from Lenny (amd64) to Squeeze. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! preperations * read <http://www.debian.org/releases/squeeze/amd64/release-notes/index.en.html> * backup your data * backup as recommended:
Upgrade to Stretch Steps to be performed to upgrade from Jessie (amd64) to Stretch. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! Preperations * read <https://www.debian.org/releases/stretch/amd64/release-notes/index.en.html> * and <https://www.debian.org/releases/stretch/amd64/release-notes/ch-information.en.html> * executables are now compiled as position
Upgrade to Wheezy Steps to be performed to upgrade from Squeeze (amd64) to Wheezy. I don't explain why a certain step is done - read the manual found at step one. You should know what you're doing! preperations * read <http://www.debian.org/releases/wheezy/amd64/release-notes/index.en.html> * backup your data * backup as recommended:
Virtualbox <http://www.virtualbox.org> Clone a virtual machine To clone a machine clone the virtual hard drive: cd e:\VM\HardDisks\ "C:\Program Files\Oracle\VirtualBox\VBoxManage" clonehd xp-template.vdi xp-new.vdi As soon as the virtual hard drive is cloned you can create a new virtual machine, choose the cloned hard drive when prompted. , , ,
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready