RSS

Monthly Archives: November 2011

How to create your own local Ubuntu Repository part 1

G’day,

I find this tremendously useful to have my own repositories on a local drive, as I do most of my development offline or in a place where there’s no Internet. Also, it speeds downloads faster. But it’s very cool to say to people that you have 26,000 programs on a disk that pops in your pockets.

These are all the tools necessary (probably too many but some are there to create DVD based respoitories)…

In a terminal copy/paste this…
sudo apt-get install debmirror liblockfile-simple-perl liblog-agent-perl ruby mkisofs dpkg-dev libdigest-sha1-perl libruby libzlib-ruby

Now you need to find a mirror that ain’t gonna bust ya download limit – cos it will – cos these download are huge! Unless ya got unlimited then who cares. But many larger ISPs will have their own free download server. And many times it’ll have a Linux folder. I’m with iinet and I did a search on Google… “iinet ftp” – this’ll bring up a result with “Index of /” – BINGO!

Click it – click the pub folder – see if there’s a ubuntu folder – click on that – then if you see a list of folders with dist indices pool project …. then BINGO! … again.

So the host is ftp.iinet.net.au/pub/
and the root is ubuntu/ … this’ll make sense in a tick. You need to find your own free download server from your ISP.

I prefer a USB Hard drive cos for $80 u can get 500GBs. Reformat it to ext3 (ext4 is better but older distros can’t use ext4) using gparted. And now you’ve got a large blank Hard drive ready.

Make sure that’s it’s mounted before starting the next step. See what the path is to the USB Hard Drive by looking in your File Manager – mine’s /media/disk

Using my ISP free Server…
In a terminal copy/paste this:
debmirror –source -m –passive –host=ftp.iinet.net.au/pub/ –root=ubuntu/ –method=http –progress –dist=lucid,lucid-security,lucid-updates,lucid-backports,lucid-proposed –section=main,restricted,universe,multiverse –arch=i386 /media/disk/Lucid/LucidRepos –ignore-release-gpg –timeout=seconds -t 240
This is a 80GBs download!

arch means the type of versions: eg: i386 is the normal 32bit version – yo can change that to amd64 for amd 64bit processors.

Occasionally it will timeout due to a server reset/update or something similar. Just restart the download and it will restart where it last left off.

Warning: If you accidentally mistype the destination (eg: /media/disk/Lucid/LucidRepos) it’ll wipe all that directory. I’ll give an example that I was stupid enough to do. I was getting a smaller PPA repository and the destination was /home/martin/hardy/PPA; I forgot to finish that line as I went back to make another correction and I had only typed /home/martin. That wiped my entire home folder – clever! Luckily I had a backup from the previous day.

Your ISP may not have uploaded the latest security update from Ubuntu so once the download has finished check your repository with this:

copy/paste into a Terminal:
debmirror –source -m –passive –host=au.archive.ubuntu.com/ –root=ubuntu/ –method=http –progress –dist=lucid,lucid-security,lucid-updates,lucid-backports,lucid-proposed –section=main,restricted,universe,multiverse –arch=i386 /media/disk/Lucid/LucidRepos –ignore-release-gpg –timeout=seconds -t 240

This is the official Ubuntu Server. To keep this up-to-date I update my mirror every 2 weeks using the official server. Probably a 1-2gb download.

How to point to the local drive instead of online:

In a terminal copy/paste this:
sudo gedit /etc/apt/sources.list

everything that points to the archive.ubuntu.com server needs to be changed from http://au.archive.ubuntu.com/ubuntu/ to file:///media/disk/Lucid/LucidRepos (don’t change anything else on that line and remember that the desitination make be named differently) – save and close

In Terminal type:
sudo apt-get update

done!

Any error means that you’ve pointed it wrong to the wrong place.

I will copy and example of my source.list file in the comments section.

Next I will show you all the extra repositories you can accumulate.

Cheers
Martin

PS: If you don’t want the source code where it says –source change that to –nosource (smaller download)

Advertisements
 
3 Comments

Posted by on November 28, 2011 in TLC CE Linux

 

Compromise is not a dirty word

G’day,

Well I will stick with Opera for ONE of the Web Browsers – it will be the heavy one – and can/will be updated regularly to reflect on-going improvements and a better Internet experience.  The other Web Browser will be Epiphany!  It will be classed as the Light one.  Epiphany will be the perfect Browser to chuck any/all How tos, tutorials or Help files.

Anyway, let’s test with this configuration…. why not stick with Firefox it’s just as heavy and slow as Opera?  Opera has a focus on mobile devices and as such seeks to improve performance without sacrificing a cool experience.  Firefox’s long term aim isn’t as clear.  Maybe in six months things may change…. Yes I do miss Flash block and the plethora of plugins but Opera’s plugins aint too bad either.  But most importantly, Firefox is no longer being compiled for Ubuntu Hardy Heron – I would need to install the binary which again slows performance.

Cheers

Martin

 
Leave a comment

Posted by on November 28, 2011 in TLC CE Linux

 

Web Browser woes

G’day,

After tests Opera 12 uses around 50mbs!!! Way too much.  So I tried Midori 0.17 – no Flash! So I tried Midori 0.16 – again no Flash!  So I tried Epiphany-webkit – Flash causes Seg Fault.  So I tried Kazehakase-gtk gecko – just crashes almost immediately.  Swiftweasel is not longer supported – Arora is not in the Hardy repos (i’m not gonna compile something that may not work – I saw a number of “Flash does not work” forum entries”) – so I tried the base version of Epiphany-gecko … well blow me!  It works and works well – no problems – just haven’t tested it on TLC CE Linux yet to find out the RAM usage – if it’s under 20mbs or there-abouts it’ll do – it is dog ugly but at least it works!

I’ve only tested most of these on my full Ubuntu installation on my primary lappie but it’s got Hardy running…

Cheers

Martin

 
1 Comment

Posted by on November 27, 2011 in TLC CE Linux

 

Mini-update

G’day,

the System update includes improved stability for IPv6 support – that ought to be good for longer term suppot for TLC CE Linux.

Concerning that Swiftfox has not been updated in a long time – still on 3.6.13 which was the same a few months back – seriously thinking of migrating the OS to Opera as it’s lighter and as fast as Chrome and stable updated support should continue for 8.04 at least 3 more years.. perhaps longer.  The update isn’t associated with the system, which is Hardy Heron, but with a Stable release and installs as a binary.  Will check the RAM usage before committing.  Oh and there’s been a Kernel update so I need to install that and uninstall the last kernel as it uses 198mbs of extra space.

Cheers

Martin

 

 
Leave a comment

Posted by on November 26, 2011 in TLC CE Linux

 

Ooops!

G’day,

Remastered both slim and gdm versions with the repositories (/etc/apt/sources.list) pointing to my local drive…. clever!  I do most of my dev work offline so I have all the Ubuntu repositories on a local HD – It’s very convenient.  Just updated the primary repos with a stack load of security updates which TLC CE Linux will be have before the next remaster.  Then I’ll release this Alpha version … sorry I meant to have it available this w’end….

Finally needed a new(ish) computer for down at my offices.  So I found a nice Dell XPS m1730 GTX lappie for $800  on ebay.  Got dual sli 8800 Nvidia cards and raid mounted dual hard drives with a large 17″ screen.  It weighs around 12kg with the power brick – that’s all right .. I’m large (+100kgs) and a regular gym junkie.  It can suck up to 200 watts of power and is nicknamed “The Beast”….  It’s gonna be a challenge to get the most of the sli vid cards and setting up the raid array .. looking forward to that – maybe I’ll have a KDE desktop with ALL the bells and whistles! lol

I think the next post I’ll document a walk-through to make your own local repository if you have a spare 120gbs – it’s very handy… stay tuned..

Cheers

Martin

 
Leave a comment

Posted by on November 25, 2011 in TLC CE Linux

 

Alas Slim!

G’day,

After a number of wasted CDs I am “currently” unable to make the remaster stick with the Slim Login Manager.  So I will have one version with gdm so ppl can check out in LiveCD mode.  The install version will only have Slim.  Even though gdm seemd to only use about 7mbs more, all applications appear more sluggish – so there must be some other process that I’m unable to trace at this time.

For people who want to help test this I will be uploading both version this weekend.   (the GDM version may be a few days earlier as the install version is the most important)

Cheers

Martin

 
Leave a comment

Posted by on November 21, 2011 in TLC CE Linux

 

LiveCD login

G’day,

Quick update …. apparently it should be ok if gdm has been installed … well gdm has been installed from the beginning, so it must be something else.  What I’ve done is given root a password and see if the LiveCD will login using root and the root password – IMO it’s worth a shot.  In anticipation of a successful outcome I’ve put the Ubuntu Installer and the User Desktop configuration to give a working example of the System.

Got the eqf files for audacious but haven’t had a chance to import them.  With sound Xfce 4.4 doesn’t have a Sound Profile editor – that’s in 4.6 but you can add some experimental configurations with libcanberra to get them going.  Thar dependency is not native to the 8.04 repositories so it’ll need compiling.  This will be done at some unspecified time in the future as I’ve read a number of failure in forum posts.  What I will have is a play  login and logout sound script and add that to autoplay and in one of the x11 logout/shutdown files (will find that out).  So people … you will have to do without clicking beeping ringing and buzzing tones for all your Desktop functions …. actually I would have turned them off – annoying!!

Cheers

Martin

 
2 Comments

Posted by on November 20, 2011 in TLC CE Linux