some corrections
Signed-off-by: Andreas Fendt <andreasfendt@gmx.net>
This commit is contained in:
parent
dd8b5fa275
commit
0901959d62
@ -11,8 +11,6 @@ function update-upgrade {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function common {
|
function common {
|
||||||
# configure system
|
|
||||||
apt-get install -y console-data keyboard-configuration manpages-de
|
|
||||||
# default shell
|
# default shell
|
||||||
apt-get install -y sudo tmux mc tree pv vim mosh
|
apt-get install -y sudo tmux mc tree pv vim mosh
|
||||||
# shell
|
# shell
|
||||||
@ -24,13 +22,18 @@ function common {
|
|||||||
cp /etc/zsh/newuser.zshrc.recommended /root/.zshrc
|
cp /etc/zsh/newuser.zshrc.recommended /root/.zshrc
|
||||||
# diagnostics
|
# diagnostics
|
||||||
apt-get install -y htop iotop iftop nmon powertop stress lm-sensors
|
apt-get install -y htop iotop iftop nmon powertop stress lm-sensors
|
||||||
sensors-detect
|
|
||||||
# versioning
|
# versioning
|
||||||
apt-get install -y git git-gui subversion libapache2-svn
|
apt-get install -y git git-gui subversion libapache2-svn
|
||||||
# networking
|
# networking
|
||||||
apt-get install -y nfs-common cifs-utils aircrack-ng openvpn
|
apt-get install -y nfs-common cifs-utils aircrack-ng openvpn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function common-end {
|
||||||
|
# configure system
|
||||||
|
apt-get install -y console-data keyboard-configuration manpages-de
|
||||||
|
sensors-detect
|
||||||
|
}
|
||||||
|
|
||||||
function client-gui {
|
function client-gui {
|
||||||
# programs
|
# programs
|
||||||
apt-get install -y firefox firefox-locale-de thunderbird thunderbird-locale-de \
|
apt-get install -y firefox firefox-locale-de thunderbird thunderbird-locale-de \
|
||||||
@ -44,6 +47,9 @@ function client-gui {
|
|||||||
openjdk-7-jre-headless openjdk-7-jre-lib
|
openjdk-7-jre-headless openjdk-7-jre-lib
|
||||||
# Oracle Java
|
# Oracle Java
|
||||||
apt-get install -y oracle-java7-installer oracle-java8-installer
|
apt-get install -y oracle-java7-installer oracle-java8-installer
|
||||||
|
}
|
||||||
|
|
||||||
|
function client-gui-end {
|
||||||
# Java Plugin
|
# Java Plugin
|
||||||
update-alternatives --config mozilla-javaplugin.so
|
update-alternatives --config mozilla-javaplugin.so
|
||||||
}
|
}
|
||||||
@ -76,6 +82,8 @@ do
|
|||||||
update-upgrade
|
update-upgrade
|
||||||
common
|
common
|
||||||
client-gui
|
client-gui
|
||||||
|
common-end
|
||||||
|
client-gui-end
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"server-cli")
|
"server-cli")
|
||||||
@ -83,6 +91,7 @@ do
|
|||||||
update-upgrade
|
update-upgrade
|
||||||
common
|
common
|
||||||
server-cli
|
server-cli
|
||||||
|
common-end
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
"server-gui")
|
"server-gui")
|
||||||
@ -90,6 +99,7 @@ do
|
|||||||
update-upgrade
|
update-upgrade
|
||||||
common
|
common
|
||||||
server-gui
|
server-gui
|
||||||
|
common-end
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
*) echo invalid option;;
|
*) echo invalid option;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user