Korisnik:   Lozinka:   
Beograd Novi Sad Kragujevac Niš
PC Berza Forum : Ver. 2.35
Najnovije teme Najnoviji odgovori Prikačene teme Najaktivnije teme Najčitanije teme
Pronađi : U : Pretraži :
Forum : Svaštara
Svaštara
How to install latest Linux without Internet connection
STRANA 1 OD 1
micika988 How to install latest Linux without Internet connection 17.04.2015. 10:08 T61053

status: user
broj poruka: 1992
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
:: e-mail :: prijavi adminu :: citiraj :: odgovori ::
STRANA 1 OD 1
Broj postavljenih tema: 60275. Broj poslatih odgovora: 646107.
Trenutno niste prijavljeni na PC Berzu i zbog toga imate status 'gosta'. Kao gost ne možete da šaljete poruke na Forum. Ako ste registrovani kao član PC Berze, prijavite se. Ako ste novi korisnik, molimo registrujte se da bi dobili mogućnost aktivnog učešća u radu Foruma.
- niste prijavljeni - samo za čitanje - zaključano
- nema novih poruka - ima novih poruka - ima novih tema
Slagalica.net
Microsystems d.o.o.
PCB Network: pcberza.rs | lisica.rs