ITEAS-NEON-installer-UCS.sh 5.08 KB
Newer Older
1 2
#!/bin/bash

3 4 5 6 7 8
#
# (c) Mario Loderer, iteas IT Services GmbH
# mario.loderer@iteas.at
# www.iteas.at
#

9 10 11 12 13 14 15 16
apt-add-repository ppa:heyarje/makemkv-beta -n -y
apt-add-repository ppa:qreator-hackers/qreator-stable -n -y
apt-add-repository ppa:rebuntu16/avidemux+unofficial -n -y
apt-add-repository ppa:nextcloud-devs/client -n -y
apt-add-repository ppa:papirus/papirus -n -y
add-apt-repository ppa:univention-dev/ppa -n -y
add-apt-repository ppa:libreoffice/ppa -n -y
add-apt-repository ppa:phoerious/keepassxc -n -y
17 18 19 20 21
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2FAB19E7CCB7F415
echo "deb http://apt.iteas.at/iteas bionic main" > /etc/apt/sources.list.d/iteas.list
echo "deb http://liveusb.info/multisystem/depot all main" > /etc/apt/sources.list.d/multisystem.list
wget -q http://liveusb.info/multisystem/depot/multisystem.asc -O- | apt-key add -
apt update
22
apt install zsh ssh htop qapt-deb-installer tree git chromium-browser kate khelpcenter k3b kdf kpat nextcloud-client-dolphin zsh nfs-common software-properties-kde synaptic aspell-de hunspell-de-at mpv mint-backgrounds-serena mint-backgrounds-tara libnss3-tools ca-certificates-iteas-enterprise gnupg-agent pinentry-gnome3 libreoffice libreoffice-kde5 libreoffice-help-de -y
23 24
apt remove vim kwrite krdc krfb --purge -y
ubuntu-drivers autoinstall
25
apt install materia-kde yakuake papirus-folders kdepim digikam showfoto kipi-plugins cifs-utils kde-config-cron dolphin-plugins cowsay fortunes-de qreator qshutdown filelight kcolorchooser  soundkonverter kcalc nomachine gparted gpgsm kronometer kfind clementine avidemux2.7-qt5 audacity unp plasma-theme-oxygen breeze-gtk-theme plasma-workspace-wallpapers kubuntu-restricted-extras ubuntu-restricted-extras katomic avahi-discover simplescreenrecorder rambox zoom keepassxc avahi-utils tellico libpam-mount davfs2  -y
26 27 28 29 30 31
apt remove minidlna -y
apt autoremove --purge -y
DEBIAN_FRONTEND=noninteractive apt-get install univention-domain-join -y

mkdir /usr/local/share/applications
cp /usr/share/applications/mpv.desktop /usr/local/share/applications/.
32 33

# Nicht mehr benötigt, war für UCS Anbindung
34 35
#rm /etc/resolv.conf
#ln -s /run/systemd/resolve/resolv.conf /etc/.
36

37 38 39 40 41 42
echo "*.local" > /etc/mdns.allow
echo ".local" >> /etc/mdns.allow
echo "iteas.at" >> /etc/mdns.allow
echo "osit.cc" >> /etc/mdns.allow
cp /usr/share/doc/avahi-daemon/examples/s* /etc/avahi/services/.
systemctl restart avahi-daemon.service
43 44 45 46


# ITEAS Mitarbeiter 
apt install acl ethtool nload openfortigui openfortigui-runner virt-viewer freerdp pwgen libemail-outlook-message-perl namebench konversation ldap-utils speedtest-cli linphone4 kompare  wireshark x2goclient filezilla filezilla-theme-papirus nmapsi4 facl-observer master-pdf-editor proxmox-spice-remoteviewer pycharm-community tigervnc-viewer gnome-nettool kdenetwork-filesharing smb4k gtkterm mysql-workbench samba okteta mactelnet-client multisystem usb-creator-kde manpages-de manpages-de-dev openxenmanager qfinderpro preload composer php-mbstring krename librecad kopano-deskapp kopano-deskapp-kdeintegration -y
47
cd /root && git clone -b iteas_mitarbeiter https://git.styrion.net/iteas/KDE_Plasma5_Default_Profile.git && rm -r /etc/skel && mv KDE_Plasma5_Default_Profile /etc/skel && rm -r /etc/skel/.git
48
wget -O /tmp/nano.tar https://cloud.iteas.at/nextcloud/s/aJqEYa5znggxRsd/download?path=%2Fsoftware%2Fproxmox&files=nano.tar
49 50
tar -xf /tmp/nano.tar -C /root
rm /tmp/nano.tar
51
wget -O /tmp/zshrc_root https://cloud.iteas.at/nextcloud/s/aJqEYa5znggxRsd/download?path=%2Fsoftware%2Fproxmox&files=zshrc_root
52 53
mv /tmp/zshrc_root /root/.zshrc
usermod -s /bin/zsh root
54 55 56


# Advanced Packages
57
apt install choqok steam openshot lm-sensors mkvtoolnix-gui makemkv-bin -y
58 59 60


# Teamviewer
61 62
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
dpkg -i teamviewer_amd64.deb && apt install -fy
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


# Virtualbox LTS Version
# apt install virtualbox virtualbox-ext-pack virtualbox-guest-additions-iso gawk -y

# Aktueller HWE Stack
apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04 -y

# Virtualbox aktuelles Release
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib" > /etc/apt/sources.list.d/virtualbox.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
apt update
apt install virtualbox-6.1 -y
cd /
wget https://download.virtualbox.org/virtualbox/6.1.4/VBoxGuestAdditions_6.1.4.iso
wget https://download.virtualbox.org/virtualbox/6.1.4/Oracle_VM_VirtualBox_Extension_Pack-6.1.4.vbox-extpack

# Nerdfont für die Zshell
82
mkdir /usr/share/fonts/truetype/nerdfont && cd /usr/share/fonts/truetype/nerdfont
83
wget -O /tmp/Sauce_Code_Pro_Nerd_Font_Complete_Mono.ttf "https://cloud.iteas.at/nextcloud/s/y8KyJXkEgDkg9kW/download?path=%2Fsoftware%2Ffonts&files=Sauce_Code_Pro_Nerd_Font_Complete_Mono.ttf"
84
mv /tmp/Sauce_Code_Pro_Nerd_Font_Complete_Mono.ttf /usr/share/fonts/truetype/nerdfont/Sauce_Code_Pro_Nerd_Font_Complete_Mono.ttf
85
fc-cache -fv
86 87 88 89

# Puppetanbindung
cd /root
wget https://git.styrion.net/iteas/iteas-tools/raw/master/puppet/ubuntu_puppet.sh
90 91 92 93
chmod +x ubuntu_puppet.sh