[58828de] | 1 | #!/bin/bash |
---|
| 2 | ################################################################ |
---|
| 3 | ##################### SOFTWARE ##################### |
---|
| 4 | ################################################################ |
---|
| 5 | export LANGUAGE=C |
---|
| 6 | export LC_ALL=C |
---|
| 7 | export LANG=C |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | dpkg-divert --local --rename --add /sbin/initctl |
---|
| 11 | ln -s /bin/true /sbin/initctl |
---|
| 12 | |
---|
| 13 | apt-get clean |
---|
| 14 | apt-get -y update |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | # software system |
---|
| 18 | apt-get -y --force-yes install linux-image-${OSRELEASE} linux-headers-${OSRELEASE} linux-image-$RELEASE wget dialog man-db htop fbset gdebi-core busybox-static |
---|
| 19 | |
---|
| 20 | apt-get -y --force-yes install console-data locales |
---|
| 21 | |
---|
| 22 | # sofware networking |
---|
| 23 | apt-get -y --force-yes install netpipes nfs-common sshfs smbfs smbclient davfs2 unionfs-fuse open-iscsi nmap tcpdump arping dnsutils |
---|
| 24 | |
---|
| 25 | apt-get clean |
---|
| 26 | # software services |
---|
| 27 | apt-get -y --force-yes install openssh-server bittornado trickle iptraf screen schroot grub |
---|
| 28 | |
---|
| 29 | # software disk and filesystem |
---|
| 30 | apt-get -y --force-yes install drbl-ntfsprogs ntfsprogs parted ntfs-3g dosfstools |
---|
| 31 | apt-get -y --force-yes install dmraid dmsetup lvm2 e2fsprogs jfsutils reiserfsprogs xfsprogs unionfs-fuse mhddfs squashfs-tools |
---|
| 32 | apt-get -y --force-yes install btrfs-tools hfsplus hfsprogs hfsutils nilfs-tools reiser4progs ufsutils |
---|
| 33 | |
---|
| 34 | # software cloning |
---|
| 35 | apt-get -y --force-yes install drbl-partimage fsarchiver pv kexec-tools |
---|
| 36 | apt-get -y --force-yes install mbuffer |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | apt-get clean |
---|
| 40 | ## software postconf |
---|
| 41 | apt-get -y --force-yes install drbl-chntpw chntpw ethtool lshw gawk |
---|
| 42 | |
---|
| 43 | # software compressor |
---|
| 44 | apt-get -y --force-yes install lzma zip unzip gzip lzop drbl-lzop pigz pbzip2 lbzip2 rzip p7zip-full unzip |
---|
| 45 | |
---|
| 46 | apt-get -y --force-yes remove busybox |
---|
| 47 | apt-get -y --force-yes install busybox-static bash-static |
---|
| 48 | apt-get clean |
---|
| 49 | #apt-get -y --force-yes xorg-dev xorg lxde roxterm |
---|
| 50 | # |
---|
| 51 | #################################################################### |
---|
| 52 | ###################### Reconfigurando paquetes ###################### |
---|
| 53 | ################################################################### |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | #dpkg-reconfigure console-data |
---|
| 57 | #dpkg-reconfigure console-setup |
---|
| 58 | #dpkg-reconfigure locales |
---|
| 59 | apt-get clean |
---|
| 60 | ##TODO################# Borrar algunos binarios del mkinitramfs |
---|
| 61 | |
---|
| 62 | |
---|