Menu
It has many features same like uTorrent (which is one of the powerful windows based bittorrent clint). Expect for the start up time my choice for best bittorrent clint is KTorrent. KTorrent offline insataller9.04 is created with the help of aptoncd. This will allow user to install KTorrent in Ubuntu. Ttf-mscorefonts-installer; unrar; As of Ubuntu 10.10, several of these dependencies are included indirectly, through another metapackage called Ubuntu Restricted Addons. Due to the legal status of the software included in Ubuntu Restricted Extras, the package is not included by default on any Ubuntu CDs.
![]() ![]()
Note: Pardon the messy formatting. I’m still figuring out how to easily tweak a free blog whose CSS I can’t edit. If you find any errors, please let me know and I will correct them.Problem: Typical Ubuntu installs, including all the necessary applications, require fast and reliable access to the Internet. This, coupled with limited ISP speeds, reliability, and capacity caps, mean that a single install can take a long time and be very expensive. This becomes prohibitive if you have many computers.Setting: I am a U.S. Peace Corps Volunteer stationed in Uganda and am working with a small local NGO’s ICT system. All the computers run Ubuntu 10.04 LTS.
We have Internet, but it is slow and expensive.Solution: Create a method to build an initial system with limited Internet and subsequent systems with no Internet connectivity and using only a flash drive.Disclaimer: Please don’t punch me if something goes wrong. By that I mean I am not accountable for anything that goes wrong. Remember to back up your data. Finally, I assume you know how to use apt-get, synaptic, and rm properly. Prepare the MaterialStart off by getting some good sleep and giving yourself time to mess up.You need the following:. Internet access to get the first prototype computer set up.: This can be a LiveCD or bootable flash drive.
Computer to build a prototype system on. Flash drive big enough to hold a repository of everything you want to install. Computer to build your final system on (client). No Internet is required.Prepare the Install MediaYou can download Ubuntu 10.04 LTR and follow the instructions for a USB-drive or LiveCD install by visiting the. Build the Prototype ComputerInstall a fresh version of Ubuntu 10.04 LTS on a computer you will use for prototyping.
Make sure this has access to the Internet and keep the install media since you will need it to install the base system on the client computer.Install everything you will eventually want on the subsequent computers (client computers). Configure all the repositories and update rules just the way you want.Note that some packages, such as ttf-mscorefonts-installer and flashplugin-installer, connect to their own server and download items.
This additional information will not be stored in your custom repository and you will need to install them later on the client if you get Internet access.Record the package names that you install. I have a lot of packages I install, but as an example, this the set I like to install first (note that you must first): ubuntu-restricted-extras adblock-plus libdvdcss2 w32codecs mtpfs hplip-gui testdisk usb-creator-gtk aptoncdWhen you install or update applications and packages everything is downloaded and stored in the following location: /var/cache/apt/archivesThe set of packages in the archives are needed to make the custom repository, so keep it safe.
If you let it sit long enough the computer WILL erase it (i,e, days, weeks, etc.). I suggest you back it up.It is important that Ubuntu has all of the package information is synchronized correctly because you will be copying all of the package information (i.e. What is installed and what is available) to a client computer. Issue the following and restart if you need to: sudo apt-get update sudo apt-get upgrade Create the Model Repository ISOYour goal is to create a CD or DVD image (ISO) that Ubuntu can recognize as a repository. I use an application called aptoncd. If it is not already installed you can install it with the following: sudo apt-get install aptoncdThis application reads the contents of /var/cache/apt/archives and gives you the option of creating a repository image (ISO) out of them.Here is the catch, the contents of /var/cache/apt/archives must fit on a CD or DVD.
Normally that should be no problem because aptoncd does not select old versions of packages by default. If you need to you can de-select big packages.
I have not checked it, but aptoncd may give you the option of creating multiple ISO images. You can explore this if you want.Save your image to the flash drive you will use for holding the repository. I saved mine as a DVD image. Name, or rename it so it is saved as the following (check the name once it is made): aptoncd-DVD1.iso Record the name of your flash driveYou will be typing in all sorts of commands that refer to paths on your flash drive.Make sure you know the true name of your flash drive. Mine is “FA3A-251A.” I found it by inserting the flash drive and looking for the name by issuing: ls /mediaIMPORTANT: I refer to my own flash drive throughout this document.
Change all instances of “FA3A-251A” to your own, or name your flash drive the same as mine. Make a file listing the CD as the only repositoryThe default install of Ubuntu is designed to access package repositories online. Instead, Ubuntu will need to access just a CD or DVD image. You will prepare a file containing just this information that we can easily copy later to the client computer.Enter the following to create and edit a sources.list file: nano /media/FA3A-251A/sources.listISOCDROMThe file should be blank. Add the following text: deb file:/media/ISOCDROM/./Save file by pressing Ctrl+O and save.
Copy all the package information from the prototypeThe final step is to copy all of the package information from the prototype computer to the flash drive.On the prototype computer issue the following to copy everything to the flash drive: cd /etc/aptsudo tar cvf /media/FA3A-251A/etcapt.tar. ReviewYou should now have ended up with the following:. A computer (a) with the applications you want, (b) fully updated, and (c) fully upgraded. A copy of the Ubuntu 10.04 LTR install media you used. A flash drive. The name of your flash drive, such as “FA3A-251A”The flash drive should have at least the following files:.
aptoncd-DVD1.iso. sources.listISOCDROM. etcapt.tarInstall Client ComputerThis is the fun part. Assuming everything has been prepared properly it’s really nice to see a complete install go quickly. Install Base SystemInstall a basic Ubuntu 10.04 LTR system on your client computer.
Use the same install media (or Ubuntu release) that you used to make the prototype computer. Don’t set up users or tweak the system until after the entire offline install process is complete. Mount CD/DVD RepositoryThe computer packaged management system (apt-get) needs to have proper access to the ISO repository that was created.Insert the flash drive into the client computer.
We need to mount the repository ISO image, but double-clicking will cause it to mount as a removable hard-drive. We need to take a different approach.Make a mount directory: sudo mkdir /media/ISOCDROMBackup the default repository and package information and direct apt-get to just use the CD/DVD repository.
Sudo cp -ri /etc/apt/ /etc/aptBACKUP/sudo rm /etc/apt/sources.listsudo cp /media/FA3A-251A/sources.listISOCDROM /etc/apt/sources.listMount the iso repository on the device (FA3A-251A) to ISOCDROM: sudo mount -t auto -o loop /media/FA3A-251A/aptoncd-DVD1.iso /media/ISOCDROMLook on your desktop and verify that ISOCDROM is mounted.Synchronize the client computer with CDROM repository. Sudo apt-get updateApt-Get should have very quickly updated all of the package information from the CD-Drive.
If it did not work properly than double check the previous steps. UpgradeBefore installing applications make sure the software is upgraded to the most recent versions on your ISO repository. Do this by issuing the following: sudo apt-get updatesudo apt-get -y -allow-unauthenticated upgradeThe upgrade will take some time and some items may be held back.Restart the computer. Make sure the flash drive is mounted correctly and repeat the command to mount the ISO image: sudo mount -t auto -o loop /media/FA3A-251A/aptoncd-DVD1.iso /media/ISOCDROMTry upgrading using Synaptic. I have not bothered to find out why some items are held and some are not, but Synaptic upgraded everything for me.Restart once everything is upgraded properly.
Install Additional ApplicationsAfter restarting, once again mount the flash drive by issuing: sudo mount -t auto -o loop /media/FA3A-251A/aptoncd-DVD1.iso /media/ISOCDROMNow is the opportunity to install all the packages that you installed on your prototype computer. I use my initial packages as an example. Remember, this assumes the prototype computer had both the medibuntu repository added and the following applications installed.
Sudo apt-get -y -allow-unauthenticated install ubuntu-restricted-extras adblock-plus libdvdcss2 w32codecs mtpfs hplip-gui testdisk usb-creator-gtk aptoncdRestart the computer after your install is complete. Reset the RepositoriesIt’s now time to reset the repositories on the client computer so if it ever gets Internet access the update and install system can function normally.Make sure the flash drive is correctly mounted.
You do not need to mount the ISO image.By issuing the following commands you will copy all of the repository information and update protocol developed on the prototype computer to this computer. Sudo rm -r /etc/apt/.cd /etc/apt/sudo tar xvf /media/FA3A-251A/etcapt.tar.Congratulations. You are now done. If you did it with no problems you are light-years ahead of me.
Please let me know if you find any mistakes, have any technical suggestions, have formatting suggestions, or wish you could punch me but can’t because of my disclaimer.
Network installerThe network installer lets you install Ubuntu over a network. It includes the minimal set of packages needed to start and the rest of the packages are downloaded over the network. Since only current packages are downloaded, there is no need to upgrade packages immediately after installation.The network installer is ideal if you have a computer that cannot run the graphical installer, for example, because it does not meet the minimum requirements for the live CD/DVD, or because the computer requires extra configuration before a graphical desktop can be used. The network installer is also useful if you want to install Ubuntu on a large number of computers at once.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |