====== Εγκατάσταση Debian ====== ===== Preseed ===== ==== Εγκατάσταση Διανομής==== βλ. http://www.debian.org/releases/stable/i386/apbs02.html.en ==== Πακέτα ==== Για preseed πακέτων, μπορούμε να δούμε τις υπάρχουσες τιμές από ένα σύστημα που είναι ήδη εγκατεστημένο το πακέτο με την εντολη debconf-get-selections. Στην συνέχεια τις τροποποιούμε και τις εισάγουμε πριν την πρώτη εγκατάσταση του πακέτου με την εντολή debconf-set-selections. Αρχικά αποθηκεύουμε σε ένα αρχείο της υπάρχουσες τιμές ρυθμίσεων εγκατάστασης debconf-get-selections | grep "mysql-server-5.1" > /tmp/mysql-installed.preseed Το αρχείο mysql.preseed θα περιέχει mysql-server-5.1 mysql-server/root_password password mysql-server-5.1 mysql-server/root_password_again password mysql-server-5.1 mysql-server-5.1/postrm_remove_databases boolean false mysql-server-5.1 mysql-server-5.1/really_downgrade boolean false mysql-server-5.1 mysql-server/error_setting_password error mysql-server-5.1 mysql-server/password_mismatch error mysql-server-5.1 mysql-server-5.1/start_on_boot boolean true mysql-server-5.1 mysql-server-5.1/nis_warning note mysql-server-5.1 mysql-server/no_upgrade_when_using_ndb error Για να μην μας ζητηθεί να εισάγουμε κωδικό root στην mysql και να μείνει κενός μας αρκεί να δημιουργήσουμε ένα νέο αρχείο με όνομα /tmp/mysql-new.preseed mysql-server-5.1 mysql-server/root_password string mysql-server-5.1 mysql-server/root_password seen true mysql-server-5.1 mysql-server/root_password_again string mysql-server-5.1 mysql-server/root_password_again seen true Δίπλα από το string έχουμε την προκαθορισμένη τιμή κενή. Επίσης θέτουμε σε true το flag seen ώστε να μην μας το ζητήσει Πλέον μπορούμε να κάνουμε την εγκατάσταση χωρίς ερωτήσεις cat /tmp/mysql-new.preseed | debconf-set-selections aptitude install mysql-server-5.1 ===== Πηγες ===== * preseed automated installs * official docs : http://www.debian.org/releases/stable/i386/apbs02.html.en * debian wiki : http://wiki.debian.org/DebianInstaller/Preseed * installinux : http://www.instalinux.com/ * partitions * format specifications : http://debian.ues.edu.sv/compartidos/neozerosv/ciberues/partman-auto-recipe.txt * [[ http://www.google.gr/url?sa=t&source=web&ct=res&cd=2&ved=0CA4QFjAB&url=http%3A%2F%2Fwww.enricozini.org%2F2008%2Ftips%2Fd-i-conditional-partitioning%2F&rct=j&q=Enrico+Zini%27s+conditional+partitioning+hints&ei=tIeuS8tjgo-wBtqe2cYO&usg=AFQjCNFCR3UKV-8SKzQWrw1Fmp454J_t7A | conditional partitioning]] * multiple disks * http://ubuntuforums.org/showthread.php?t=1783522 * lvm : https://groups.google.com/forum/#!topic/linux.debian.user/GkTfdM4xraY * raid * http://forums.debian.net/viewtopic.php?f=17&t=61629 * https://help.ubuntu.com/8.04/installation-guide/i386/preseed-contents.html * http://ubuntuforums.org/showthread.php?t=1035382 * examples * http://www.debian.org/releases/lenny/example-preseed.txt * https://sites.google.com/a/ibeentoubuntu.com/debian-preeseds/ * http://lists.opentle.org/pub/linuxSIS/6.0/i386/simple-cdd/default.preseed * http://pastebin.com/ujvTNnjS * http://proyectos.canaima.softwarelibre.gob.ve/canaima/browser/trunk/canaima-instalador/modulo/simple-cdd-0.3.8/profiles/default.preseed * http://blog.credativ.com/en/2010/07/howto-debian-preseed-with-netboot.html * http://webmail.esu15.k12.ne.us/preseed.cfg * http://www.mail-archive.com/debian-boot@lists.debian.org/msg81138/preseed.cfg * cd remaster * simple : http://users.telenet.be/mydotcom/howto/boot/boot_linux.htm * https://sites.google.com/a/ibeentoubuntu.com/debian-preeseds/Home/the-cd * http://wiki.debian.org/Simple-CDD/Howto * Debian installer : http://wiki.debian.org/DebianInstaller/Modify/CD * multiboot isos * isolinux * http://ubuntuforums.org/showthread.php?t=703905 * http://www.msfn.org/board/topic/94398-super-disc-multi-boot-project-cddvd-using-isolinux/ * http://ubuntuforums.org/showthread.php?p=5175091 * grub * http://mybrainrunslinux.blogspot.com/2009/10/how-to-install-multiple-linux.html * http://www.panticz.de/MultiBootUSB * http://www.justlinux.com/forum/showthread.php?threadid=150078 * multicd : http://multicd.tuxfamily.org/ * xboot : http://sites.google.com/site/shamurxboot/ * Debian live * manual : http://live.debian.net/manual/en/html/ * live-helper : http://www.debe17.com/web_pages/deans_custome_livecd_howto_23apr08.php.html * clone existing install : http://forums.debian.net/viewtopic.php?f=16&t=38870 * debconf : user input * http://ubuntuforums.org/showthread.php?t=1225904 * http://www.fifi.org/doc/debconf-doc/tutorial.html * http://manpages.ubuntu.com/manpages/lucid/man7/debconf-devel.7.html * late commands * http://forums.debian.net/viewtopic.php?p=38787 * aptitude install package preseed * http://serverfault.com/questions/19367/scripted-install-of-mysql-on-ubuntu * http://rndguy.ca/2010/02/24/fully-automated-ubuntu-server-setups-using-preseed/ * http://www.ossramblings.com/preseed_your_apt_get_for_unattended_installs * dynamic preseed * https://help.ubuntu.com/9.04/installation-guide/i386/preseed-advanced.html * debug * http://www.hands.com/d-i/