
| Current Path : /home/ift/51_iftlib/intern/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //home/ift/51_iftlib/intern/install_script.sh |
if [ "$1" = "" ] then apt-get -y install joe apt-get -y install samba apt-get -y install cups apt-get -y install net-tools mkdir /home/share ln -s /home/ift/51_iftlib /usr/local/lib/python3.11/dist-packages/iftlib ln -s /home/ift/51_iftlib/scripts/yc /usr/local/bin/yc ln -s /home/ift/51_iftlib/scripts/yy /usr/local/bin/yy ln -s /home/ift/51_iftlib/scripts/yy1 /usr/local/bin/yy1 ln -s /home/ift/51_iftlib/scripts/ie /usr/local/bin/ie ln -s /home/ift/51_iftlib/scripts/gg /usr/local/bin/gg # cp /home/ift/51_iftlib/scripts/drush* /usr/local/bin ln -s /usr/local/lib/python3.11/dist-packages/iftlib/ppd /etc/cups/ppd1 cp /home/ift/51_iftlib/intern/rc-local.service /etc/systemd/system/rc-local.service cp /home/ift/51_iftlib/intern/restart.sh /home/ift cp /home/ift/51_iftlib/intern/wallpapers/lubuntu-default-wallpaper.png /etc cp /home/ift/51_iftlib/intern/wkhtmltopdf1 /usr/local/bin cp /home/ift/51_iftlib/intern/default.html5 /usr/local/bin chmod 775 /usr/local/bin/* #git config --global user.name IfT #git config --global user.email ift@ift-informatik.de less /home/ift/51_iftlib/intern/add_to_etc_bashrc.txt >> /etc/bash.bashrc less /home/ift/51_iftlib/intern/add_to_etc_rclocal.txt >> /etc/rc.local mv /etc/samba/smb.conf /etc/samba/smb.conf.default cp /home/ift/51_iftlib/intern/smb.conf /etc/samba/smb.conf cp /etc/cups/ppd1/update_printers.sh /etc/cups sh /etc/cups/update_printers.sh chmod -R 775 /home/ift # chown -R ift:ift /home/ift #------------------------------------------ dpkg-reconfigure console-setup joe /etc/joe/ftyperc fi mv /usr/lib/lubuntu-update-notifier/lubuntu-upg-notifier.sh /usr/lib/lubuntu-update-notifier/lubuntu-upg-notifier.shxx #ifconfig docker0 down #/usr/bin/snap remove docker apt-add-repository ppa:mscore-ubuntu/mscore3-stable apt-get update apt-get -y install net-tools apt-get -y install ttf-mscorefonts-installer # for Arial! apt-get -y install lxdm apt-get -y install ssh # Load perl modules: cpan i YAML cpan i Log::Log4perl cpan i DBD::SQLite cpan i Time::ParseDate cpan i Time::HiRes cpan i Net::SSH cpan i Net::SCP cpan i Graphics::GnuplotIF cpan i Term::ReadLine::Perl # (wichtig fuer readline) cpan i Term::ReadLine::Gnu # (wenn ::Perl nicht geht) cpan i MIDI::ALSA cpan i Audio::DSP cpan i Audio::Gramofile cpan i JSON cpan i JSON::RPC cpan i CGI::Session cpan i MIME::Entity cpan i Mail::Box cpan i CGI cpan i CGI::Session cpan i Audio::Gramofile cpan i Digest::SHA1 apt-get -y install ssh apt-get -y install sshd apt-get -y install pdsh apt-get -y install samba apt-get -y install samba-client apt-get -y install nfs-common apt-get -y install apache2 apt-get -y install libapache2-mod-wsgi-py3 apt-get -y install lynx apt-get -y install mlocate apt-get -y install libreoffice apt-get -y install vncviewer apt-get -y install git apt-get -y install git-extras apt-get -y install rdesktop apt-get -y install a2ps apt-get -y install gcc apt-get -y install make apt-get -y install p7zip apt-get -y install virtualbox-qt apt-get -y install shedskin apt-get -y install nmap apt-get -y install sqlite3 apt-get -y install mpv apt-get -y install dosbox apt-get -y install rungetty apt-get -y install openvpn apt-get -y install cifs-utils apt-get -y install texlive-full apt-get -y install latex2rtf apt-get -y install latex2html apt-get -y install wkhtmptopdf apt-get -y install pandoc apt-get -y install xvfb apt-get -y install inetutils-traceroute apt-get -y install pdf2svg apt-get -y install inkscape apt-get -y install pdftk apt-get -y install avconv apt-get -y install hwinfo apt-get -y install sane apt-get -y install sane-utils apt-get -y install sox apt-get -y install libgsm-tools apt-get -y install can-utils apt-get -y install psi apt-get -y install gedit apt-get -y install unrar apt-get -y install chromium-browser apt-get -y install thunderbird apt-get -y install wkhtmltopdf apt-get -y install pdf2svg # apt-get -y install x11vnc apt-get -y install xrdp apt-get -y install tree apt-get -y install lxsession apt-get -y install apache2 apt-get -y install otter apt-get -y install gap apt-get -y install lua5.3 apt-get -y install musescore3 apt-get -y install fbi apt-get -y install snmp # to avoid some 'cannot adopt' errors apt-get -y install mtp-tools apt-get -y install mtpfs apt-get -y install antiword apt-get -y install exfat-fuse apt-get -y install gitk apt-get -y install tig apt-get -y install cups apt-get -y install cups-client apt-get -y install cups-bsd apt-get -y install printer-driver-cups-pdf apt-get -y install smbclient # necessary to print via smb apt-get -y install cups-bsd apt-get -y install printer-driver-gutenprint apt-get -y install gcc-multilib apt-get -y install libcups2:i386 apt-get -y install adb apt-get -y install wget apt-get -y install printer-driver-hpijs apt-get -y install hplip apt-get -y install libcups2 apt-get -y install libdbus-1-dev apt-get -y install libjpeg-dev apt-get -y install libcups2-dev apt-get -y install cups-bsd apt-get -y install cups-client apt-get -y install libcupsimage2-dev apt-get -y install libusb-1.0.0-dev apt-get -y install libusb-0.1-4 apt-get -y install libsane-dev apt-get -y install libsnmp-dev apt-get -y install snmp-mibs-downloader apt-get -y install openssl apt-get -y install python3-pyqt4 apt-get -y install python3-tk apt-get -y install gtk2-engines-pixbuf apt-get -y install libtool apt-get -y install libtool-bin apt-get -y install gtk2-engines-pixbuf apt-get -y install xsane apt-get -y install redir apt-get -y install evince apt-get -y install python3-notify2 apt-get -y install python3-dbus.mainloop.qt apt-get -y install imagemagick apt-get -y install whois apt-get -y install gimp apt-get -y install libatk-adaptor #apt-get -y install docker #apt-get -y install docker.io #apt-get -y install kubernetes apt-get -y install nodejs apt-get -y install npm apt-get -y install lxqt apt-get -y install xcb-proto apt-get -y install novnc apt-get -y install tightvncserver apt-get -y install xtightvncviewer apt-get -y install arj bzip2 cabextract cpio file gzip nomarch pax unzip zip #apt-get -y install wine # besser wine 6 installieren #apt-get -y install winetricks #apt-get -y install winbind #xvfb-run -s -a "-screen 0 640x480x16" winetricks dotnet45 # wine for 32 bit #dpkg --add-architecture i386 #apt-get update #apt-get install -y wine32 apt-get -y install mailutils apt-get -y install thunderbird # nodemcu requirements apt-get -y install wget apt-get -y install libncurses-dev apt-get -y install make apt-get -y install flex apt-get -y install bison apt-get -y install git apt-get -y install gcc apt-get -y install gperf apt-get -y install python apt-get -y install python-serial apt-get -y install xfce4 # openalpr requirements apt-get -y install cmake apt-get -y install python3-opencv apt-get -y install libopencv-dev apt-get -y install tesseract-ocr apt-get -y install tesseract-ocr-deu apt-get -y install liblog4cplus-dev apt-get -y install libcurl4-openssl-dev # openalpr-master.zip entpacken, dann in src das Verzeichnis build erstellen, dann dorthin wechseln, dann: # cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc .. # (genauso eingeben), dann: make # Drupal requirements: apt-get -y install php8.1 apt-get -y install php8.1-xml apt-get -y install php8.1-gd apt-get -y install php8.1-sqlite3 apt-get -y install libapache2-mod-php8.1 apt-get -y install php8.1-xml apt-get install -y php8.1-mysqlnd apt-get install -y php8.1-mbstring apt-get install -y php8.1-intl apt-get install -y php8.1-pear apt-get install -y php8.1-imap # apt-get install -y php8.1-mcrypt # obsolete, not found anymore apt-get install -y php8.1-memcache # apt-get install -y php8.1-ming # obsolete, not found anymore apt-get install -y php8.1-curl apt-get install -y php8.1-imagick apt-get install -y php8.1-ps apt-get install -y php8.1-pspell # apt-get install -y php8.1-recode # obsolete, not found anymore apt-get install -y php8.1-snmp apt-get install -y php8.1-tidy apt-get install -y php8.1-mbstring apt-get install -y php8.1-xmlrpc apt-get install -y php8.1-xsl apt-get install -y php8.1-apcu apt-get install -y libxml2:i386 apt-get install -y gdebi-core apt-get install -y libcanberra-gtk0 apt-get install -y libcanberra-gtk-module apt-get install -y libcanberra-gtk-module:i386 apt-get install -y gtk2-engines-murrine:i386 apt-get install -y libatk-adaptor:i386 # wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb dpkg -i /home/ift/51_iftlib/intern/AdbeRdr9.5.5-1_i386linux_enu.deb snap install teams # CORBA: #apt-get install -y omniorb #apt-get install -y libomniorb4-dev #apt-get install -y omniidl #apt-get install -y omniidl-python # you can compile the python bindings for CORBA with: ../configure --with-omniorb=/usr systemctl enable xrdp systemctl enable rc-local.service systemctl enable xrdp.service fc-cache locale-gen de_DE.utf8 locale-gen en_US.utf8 locale-gen de_DE.UTF-8 locale-gen en_US.UTF-8 # Load python modules: apt-get -y install python3-pip python3 -m pip install --break-system-packages --upgrade pip python3 -m pip install --break-system-packages numpy python3 -m pip install --break-system-packages scipy python3 -m pip install --break-system-packages matplotlib python3 -m pip install --break-system-packages xlwt python3 -m pip install --break-system-packages xlrd python3 -m pip install --break-system-packages jsonpickle python3 -m pip install --break-system-packages pdf python3 -m pip install --break-system-packages pypdf python3 -m pip install --break-system-packages jinja2 python3 -m pip install --break-system-packages PyPDF2 python3 -m pip install --break-system-packages stapler python3 -m pip install --break-system-packages pillow python3 -m pip install --break-system-packages selenium python3 -m pip install --break-system-packages webdrivermanager webdrivermanager firefox chrome --linkpath /usr/local/bin # disable python 2 #apt-get -y install --break-system-packages python-pip #python -m pip install --upgrade pip #python -m pip install numpy #python -m pip install scipy #python -m pip install matplotlib #python -m pip install xlwt #python -m pip install xlrd #python -m pip install jsonpickle #python -m pip install pdf #python -m pip install pypdf #python -m pip install jinja2 #python -m pip install stapler #python -m pip install pillow a2enmod cgid a2enmod ssl a2ensite default-ssl sleep 3 dpkg-reconfigure libdvd-pkg # compile codes for vlc sleep 3 # Load perl modules again: cpan i YAML cpan i Log::Log4perl cpan i DBD::SQLite cpan i Time::ParseDate cpan i Time::HiRes cpan i Net::SSH cpan i Net::SCP cpan i Graphics::GnuplotIF cpan i Term::ReadLine::Perl # (wichtig fuer readline) cpan i Term::ReadLine::Gnu # (wenn ::Perl nicht geht) cpan i MIDI::ALSA cpan i Audio::DSP cpan i Audio::Gramofile cpan i JSON cpan i JSON::RPC cpan i CGI::Session cpan i MIME::Entity cpan i Mail::Box cpan i CGI cpan i CGI::Session cpan i Audio::Gramofile cpan i Digest::SHA1 mv /usr/lib/lubuntu-update-notifier/lubuntu-upg-notifier.sh /usr/lib/lubuntu-update-notifier/lubuntu-upg-notifier.shxx # AdbeRdr9.5.5-1_i386linux_enu.deb