source: client/boot-tools/old/clientstructure/root/InstallSoftware.sh @ f8b1b41

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since f8b1b41 was 39bca9b, checked in by adv <adv@…>, 14 years ago

branch version 1.0 #420 separando proceso de creacion anterior

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2321 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 2.7 KB
Line 
1#!/bin/bash
2################################################################
3##################### SOFTWARE #####################
4################################################################
5export LANGUAGE=C
6export LC_ALL=C
7export LANG=C
8
9export OSDISTRIB=$(lsb_release -i | awk -F: '{sub(/\t/,""); print $2}') 2>/dev/null
10#OSCODENAME=$(lsb_release -c | awk -F: '{sub(/\t/,""); print $2}') 2>/dev/null
11export OSCODENAME=$(cat /etc/lsb-release | grep CODENAME | awk -F= '{print $NF}')
12export OSRELEASE=$(uname -a | awk '{print $3}')
13uname -a | grep x86_64 > /dev/null  &&  export OSARCH=amd64 || export OSARCH=i386
14export OSHTTP="http://es.archive.ubuntu.com/ubuntu/"
15
16
17
18dpkg-divert --local --rename --add /sbin/initctl
19ln -s /bin/true /sbin/initctl
20
21apt-get clean
22apt-get -y update
23
24 
25# software system
26apt-get -y --force-yes install linux-image-${OSRELEASE} linux-headers-${OSRELEASE} linux-image-$RELEASE wget dialog man-db htop fbset gdebi-core busybox-static
27
28apt-get -y --force-yes install console-data locales
29
30# sofware networking
31apt-get -y --force-yes install netpipes nfs-common sshfs smbfs smbclient davfs2 unionfs-fuse open-iscsi nmap tcpdump arping dnsutils
32
33apt-get clean
34# software services
35apt-get -y --force-yes install openssh-server bittornado trickle iptraf screen schroot grub lighttpd
36
37# software disk and filesystem
38apt-get -y --force-yes install drbl-ntfsprogs ntfsprogs parted ntfs-3g dosfstools
39apt-get -y --force-yes install dmraid dmsetup lvm2 e2fsprogs jfsutils reiserfsprogs xfsprogs unionfs-fuse mhddfs squashfs-tools
40apt-get -y --force-yes install  hfsplus hfsprogs hfsutils nilfs-tools reiser4progs ufsutils
41
42#btrfs-tools
43
44# software cloning
45apt-get -y --force-yes install drbl-partimage fsarchiver pv kexec-tools
46apt-get -y --force-yes install mbuffer
47
48#monitor
49apt-get install bwbar bmon iftop ifstat  dstat  hdparm sdparm blktool testdisk ssmping mii-diag
50
51## software postconf
52apt-get -y --force-yes install drbl-chntpw chntpw ethtool lshw gawk subversion
53
54# software compressor
55apt-get -y --force-yes install lzma zip unzip gzip lzop drbl-lzop pigz pbzip2 lbzip2 rzip p7zip-full unzip
56
57
58#compatibilidad og2
59apt-get install python-openssl python
60
61
62
63apt-get -y --force-yes remove busybox
64apt-get -y --force-yes install busybox-static  bash-static
65apt-get clean
66#apt-get -y --force-yes xorg-dev xorg lxde roxterm
67#
68####################################################################
69###################### Reconfigurando paquetes ######################
70###################################################################
71
72
73#dpkg-reconfigure console-data
74#dpkg-reconfigure console-setup
75#dpkg-reconfigure locales
76apt-get clean
77##TODO################# Borrar algunos binarios del mkinitramfs
78
79
Note: See TracBrowser for help on using the repository browser.