 status: user broj poruka: 2088 | Sadrzina install.bash fajla:
#!/usr/bin/bash
# HOW TO INSTALL LATEST ZORIN OS WITHOUT INTERNET CONNECTION # # Create bootable flash drive: Universal-USB-Installer-1.9.5.9.exe + zorin-os-9-lite-32.iso # # Install system to a virtualbox without Internet connection # # Enable the Internet after installation and do the following: # # Install dpkg-dev to make Packages.gz: # sudo apt-get install dpkg-dev # or for offline installation # sudo dpkg -i libdpkg-perl_1.17.5ubuntu5.4_all.deb dpkg-dev_1.17.5ubuntu5.4_all.deb # # Upgrade system and install necessary programs (Internet connection active): # # sudo apt-get update # sudo apt-get dist-upgrade # sudo apt-get install `whatever programs you need`, for example: # sudo apt-get install alltray convertall furiusisomount shutter tomboy qshutdown gimp deluge thunderbird uget audacity kdenlive smplayer vlc # cd /var/cache/apt/archives # sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz # # Copy /var/cache/apt/archives folder to root of a flash drive and `install.bash` as well (terminal chmod +x install.bash, upon a first time file creation) # # The previous procedure isn`t necessary anymore, once done, the following code can be executed automatically without Internet connection: # # add local deb repository in $HOME/archives folder: sudo sh -c `echo \`deb file:$(echo ~)/archives/ /\` >> /etc/apt/sources.list` # copy archives to home folder: cp -r archives ~ sudo apt-get update # upgrade system to the latest version: sudo apt-get -y - force-yes dist-upgrade # install some useful programs: sudo apt-get -y - force-yes install alltray convertall furiusisomount shutter tomboy qshutdown gimp deluge thunderbird uget audacity kdenlive smplayer vlc # delete previously added repository: sudo sed `$d` /etc/apt/sources.list >> /etc/apt/tmp.list sudo mv /etc/apt/tmp.list /etc/apt/sources.list sudo apt-get update rm -r ~/archives # # Install.bash file is run with the following command: # # sudo bash install.bash (terminal from a root of a flash drive), or from flash drive insertion autorun dialog, open flash drive and click F4 on a keyboard # # Final thoughts: # Universal-USB-Installer-1.9.5.9.exe + zorin-os-9-lite-32.iso + archives folder + install.bash, # and you can install latest operating system version with programs even without Internet connection ______________________________________ Fiat justitia ruat caelum http://www.dodaj.rs/f/38/3Z/1cB9qWjw/3/mail.jpg |