runme.sh 2.12 KB
Newer Older
1
#!/bin/sh
2 3
mkdir /home/ostdeveloper/EducationSoftware
mkdir /home/ostdeveloper/EducationSoftware/FlashPlayer
4 5 6 7

mv /home/ostdeveloper/*.desktop "/home/ostdeveloper/Επιφάνεια εργασίας"
chmod +x "/home/ostdeveloper/Επιφάνεια εργασίας/*.desktop"

8
uxterm -e "wget -O /home/ostdeveloper/EducationSoftware/FlashPlayer/flash_player_npapi_linux.ι386.tar.gz http://ostdev.minedu.gov.gr/~pgeorg/customDistros/developerEdition/UbuntuMate/flash_player_npapi_linux.ι386.tar.gz ; tar xvf /home/ostdeveloper/EducationSoftware/FlashPlayer/flash_player_npapi_linux.ι386.tar.gz -C  /home/ostdeveloper/EducationSoftware/FlashPlayer ; echo xtremesource | sudo -S cp /home/ostdeveloper/EducationSoftware/FlashPlayer/libflashplayer.so /usr/lib/mozilla/plugins ; sudo cp -r /home/ostdeveloper/EducationSoftware/FlashPlayer/usr/* /usr ; sudo apt-get update ; sudo apt-get -y --force-yes install oracle-java8-installer ; sudo apt-get -y --force-yes install python-tk ; sudo apt-get -y --force-yes install phpmyadmin ; sudo apt-get -y --force-yes install nodejs ; sudo apt-get -y --force-yes install npm ; sudo apt-get -y --force-yes install xtightvncviewer ; sudo phpenmod mcrypt ; sudo phpenmod mbstring ; sudo dpkg -i --ignore-depends=libqt4-gui /home/ostdeveloper/VidyoDesktopInstaller-ubuntu32bit.deb ; sudo dpkg --add-architecture i386 ; sudo apt-get update ; sudo gpasswd -a ostdeveloper epoptes ; gsettings set org.mate.panel.toplevel:/org/mate/panel/toplevels/top/ orientation bottom ; gsettings set org.mate.panel.toplevel:/org/mate/panel/toplevels/top/ size 20 ; gsettings set org.mate.panel.toplevel:/org/mate/panel/toplevels/bottom/ size 20 ; gsettings set org.freedesktop.ibus.general use-system-keyboard-layout true ; gsettings set org.freedesktop.ibus.panel show-icon-on-systray false ; gsettings set org.mate.caja.desktop computer-icon-visible true ; gsettings set org.mate.caja.desktop network-icon-visible true ; gsettings set org.mate.caja.desktop trash-icon-visible true ; rm /home/ostdeveloper/.config/autostart/RunME.desktop ; rm /home/ostdeveloper/Επιφάνεια\ εργασίας/RunME.desktop ; sudo dpkg --configure -a ; reboot"
9 10 11