Jeg har udkommenteret flash driveren da jeg mener den er indeholdt i chrome per automatik.
Herunder er det fulde script til voksenmaskinerne
Kode: Vælg alt
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade -y
# aktivere de forskellige repositories
echo "
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security multiverse
deb http://archive.canonical.com/ubuntu $(lsb_release -cs) partner
deb-src http://archive.canonical.com/ubuntu $(lsb_release -cs) partner
deb http://extras.ubuntu.com/ubuntu $(lsb_release -cs) main
deb-src http://extras.ubuntu.com/ubuntu $(lsb_release -cs) main
" > /etc/apt/sources.list
#Installer flash - forskel på 64bit og 32bit udg.
#
#
#
#if [[ `uname -m` == 'x86_64' ]];
#then
#sudo apt-get install -y flashplugin-installer;
#else
#sudo apt-get install -y adobe-flashplugin;
#fi
# Installer plugins, java, drivers og diverse codecs
#
#
#
sudo apt-get install -y icedtea-7-plugin ubuntu-restricted-extras vlc-plugin-pulse ttf-mscorefonts-installer totem-plugins-extra && sudo /usr/share/doc/libdvdread4/install-css.sh
# Installer diverse programmer
#
# Heruder indsættes andre programmer der skal installeres fra start, og som ikke kræver ekstra ppa'er
#
# Skype - samtale/cam client
# vlc - video afspiller
# audacity - audio editor/recorder
# gparted - partitionmanager
# sysinfo - System informationer
# rar, p7zip - vigtige pakkeprogrammer
# Gnome-system-tools -
# Users and groups
# Date and time
# Network configuration
# Runlevels
# Shared Folders through Samba or NFS
# Phatch - foto batch behandler
# indicator-weather - app til at se vejret med
sudo apt-get install -y skype vlc audacity gparted sysinfo p7zip-full gnome-system-tools mypaint phatch
#Installer diverse programmer i nyeste versioner - eller som ikke er med i grund repo's endnu
#Ubuntu-tweak
sudo add-apt-repository -y ppa:tualatrix/ppa
#unsettings
sudo add-apt-repository -y ppa:diesch/testing
#system load indicator
sudo add-apt-repository -y ppa:indicator-multiload/stable-daily
#classicmenu-indicator
sudo apt-add-repository -y ppa:diesch/testing
#Gimp'en
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp
#geany
sudo add-apt-repository -y ppa:geany-dev/ppa
#inkscape
sudo add-apt-repository -y ppa:inkscape.dev/stable
#Darktable
sudo add-apt-repository -y ppa:pmjdebruijn/darktable-release
sudo apt-get update
sudo apt-get install -y geany ubuntu-tweak unsettings indicator-multiload classicmenu-indicator gimp inkscape darktable
#diverse programmer der kun kan hentes fra udbyder
#
#Herunder indsættes kommende ekstra programmer der kræver leverandør ppa'er
#
#VirtualBox
sudo wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
#Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install -y dkms virtualbox-4.3
sudo apt-get install -y google-chrome-stable
#Opdatering af libreoffice til nyeste udgave
sudo add-apt-repository -y ppa:libreoffice/libreoffice-4-3
sudo apt-get update
sudo apt-get dist-upgrade -y
#Installer dropbox
sudo apt-get -y install nautilus-dropbox
sudo apt-get update
sudo apt-get upgrade -y
exit 0
Herunder er scriptet til børnecomputerne
Kode: Vælg alt
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade -y
# aktivere de forskellige repositories
echo "
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security main restricted
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security main restricted
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security universe
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security multiverse
deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-security multiverse
deb http://archive.canonical.com/ubuntu $(lsb_release -cs) partner
deb-src http://archive.canonical.com/ubuntu $(lsb_release -cs) partner
deb http://extras.ubuntu.com/ubuntu $(lsb_release -cs) main
deb-src http://extras.ubuntu.com/ubuntu $(lsb_release -cs) main
" > /etc/apt/sources.list
#Installer flash - forskel på 64bit og 32bit udg.
#
#
#
#if [[ `uname -m` == 'x86_64' ]];
#then
#sudo apt-get install -y flashplugin-installer;
#else
#sudo apt-get install -y adobe-flashplugin;
#fi
# Installer plugins, java, drivers og diverse codecs
#
#
#
sudo apt-get install -y icedtea-7-plugin non-free-codecs ubuntu-restricted-extras libdvdcss2 vlc-plugin-pulse ttf-mscorefonts-installer totem-plugins-extra
sudo /usr/share/doc/libdvdread4/install-css.sh
# Installer diverse programmer
#
sudo apt-get install -y skype vlc audacity sysinfo p7zip-full
#Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install -y google-chrome-stable
sudo apt-get update
sudo apt-get upgrade -y
exit 0