Skip to main content

Build Ubuntu Repository (feisty) from file .iso using CentOS

If you have 4 file iso that contain repository ubuntu, you can make web

based ubuntu reporitory.
First step, you have to make directory for mounting 4 dvd.
#mkdir /media/dvd1
#mkdir /media/dvd2
#mkdir /media/dvd3
#mkdir /media/dvd4
than you have to mount your file iso.

#mount -o loop /directory_youriso/ubuntu_repository_cd1.iso /media/dvd1
#mount -o loop /directory_youriso/ubuntu_repository_cd2.iso /media/dvd2
#mount -o loop /directory_youriso/ubuntu_repository_cd3.iso /media/dvd3
#mount -o loop /directory_youriso/ubuntu_repository_cd4.iso /media/dvd4

after that copy all the packages from dvd to your ubuntu directory.

#mkdir /home/yourusername/ubuntu
#rsync -avx --progress /media/dvd1/. /home/yourusername/ubuntu

Do this step four times and don't forget to change /media/dvd1 tobe /media/dvd2, /media/dvd3 and /media/dvd4
Next step, we must copy file Packages to hardisk,
#cp /media/dvd2/dist/feisty/universe/binary-i386/Packages /home/yourusername/ubuntu/dist/feisty/binary-i386/
Then join file Packages from dvd3 to hardisk
#cat /media/dvd3/dist/feisty/universe/binary-i386/Packages >> \
/home/yourusername/ubuntu/dist/feisty/binary-i386/Packages
Do the same step for dvd 4
#cat /media/dvd3/dist/feisty/universe/binary-i386/Packages >> \
/home/yourusername/ubuntu/dist/feisty/binary-i386/Packages
Remake file Packages.gz and Packages.bz2
#cd /home/yourusername/ubuntu/dist/feisty/binari-i386
#rm Packages.gz Packages.bz2
#gzip -9 -c Packages > Packages.gz
#gzip -9 -c Packages > Packages.bz2
To activate this repository, you have to install web server on your computer, example apache2.
then move your ubuntu directory to /var/www/ or another web directory
mv /home/yourusername/ubuntu /var/www/ubuntu
If your friends want to access your repository, change their sources list to your web.

On Ubuntu PC (Feisty)
$sudo nano /etc/apt/sources.list
add this line
$deb http://your-url-web-server/ubuntu feisty main universe multiverse restricted
save (ctrl+o, enter)
exit (ctrl+x)
last, update
sudo apt-get update
Enjoy

Note: if you want to make repo for another version,like dapper,gutsy, etc,

just change feisty to yours (dapper,gutsy etc)

Comments

Popular posts from this blog

Include dbase on PHP 5.3 Centos 5.7

I want to enable dbase on PHP 5.3. And i found website that have information about it. Environment : OS : CentOS 5.7 Final Web Server : httpd-2.2.3-53 PHP : php53-5.3.3-1.el5_6.1 Programming Language : gcc Download package from php.net [root@compare] # wget http://pecl.php.net/get/dbase-5.0.1.tgz Extract package [root@compare] # tar -zxvf dbase-5.0.1.tgz Prepare the build environment for a PHP extension and compile [root@compare] # cd dbase-5.0.1 [root@compare] # phpize [root@compare] #./configure [root@compare] # make [root@compare] # make install copy dbase.so to http modules [root@compare] # cp /root/php/dbase-5.0.1/modules/dbase.so /usr/lib64/httpd/modules/ Message error if dbase.so not compatible or not installed correctly [Wed Oct 26 20:15:28 2011] [error] [client 192.168.1.254] PHP Fatal error: Call to undefined function dbase_open() in /var/www/html/compare/impdbf.php on line 19 That's all Source : http://www.myee.web.id/index.php/howto.html

Free Stuff

I have free stuff that can i share with you. The free stuff is free magazine, free domain, free hosting, free rapidshare link generator and free money. 1. Free Magazine. You can get free magazine for you to read. There are many topics that can you choose. These are the topics that can you choose : Agri c ulture Automotive Biotechnology & Pharmaceuticals Computers Construction Education Engineering Executive & Management Finance Food & Beverage Government Healthcare Human Re sources Industrial & Manufacturing Internet Information Technology IT - Data Management IT - Security IT - Software & Development IT - Storage Insurance Mechanical / Machine Meetings & Travel Multimedia Network / Communications Purchasing & Procurement Retail Sales & Marketing Small & Medium Business Telecom & Wireless Trade/Professional Services Transportation & Logistics Utility & Energy Many topics

Rapidshare Premium Link Generator

Rapidshare Premium LINK Generator . Rapidshare.com is one of the biggest site that allow you to upload and share files with vary sizes. From rapidshare, you also can download files that another person upload the re. There are 2 kinds of user can download from rapidshare. First, free user, this user have limit features from rapidshare. Limit bandwidth, limit connection, etc. Second, premium user. Premium user have many features that free user doesn't have. If you want to be a premium user, you have to buy it from the web. You can use this link to buy premium account or from reseller that near you. But if you have not enough money to buy it, you can use Rapidshare Premium Link Generator . This is a website that give free service for anyone to generate rapidshare link from free to premium, so anyone can download with premium feature. <br><br>I