Single command Ubuntu LAMP stack installation on Desktop Edition…..

CLI, Linux, Opensource, Ubuntu
This used to be a pain in the butt. Lots of manual apt-get lines and config edits to get it to work. Weŕe talking about installing the LAMP stack onto a preexisting Ubuntu Desktop Edition installation. I used to do this backwards in the old days by installing the Server edition first (with LAMP) and then getting the graphical desktop goodies installed on top of that. That method still works, but I found out that LAMP stack install on a Desktop edition is a simple one command affair. As of the 7.04 release, the Ubuntu base system includes Tasksel. You can install LAMP using tasksel.sudo tasksel install lamp-server
Read More

Writing Moblin (and Ubuntu) USB images using dd in OSX

Apple, Linux, Macintosh, OSX, osx Server, Tutorial, Ubuntu
I came across this problem this morning, while writing the newly downloaded moblin USB image file. The concept is straight forward, plugin a 1GB+ USB stick into a functioning Linux or Windows box, make sure the stick is not mounted and use dd to write the disk image to the stick. Under OSX however the instructions for unmounting are slightly different, so here are the quick steps:Download the desired .img file Open a Terminal (under Utilities) Run diskutil list to get the current list of devices Insert your flash media Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2) Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2) Execute sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1m (replace /path/to/downloaded.img with…
Read More

Sugar interface on a USB stick…..

Fedora Core, Linux, Opensource, Redhat, Ubuntu
Thanks to Sugar Labs you can now have your Ubuntu 8.10 or Fedora 10 linux distributions with sugar on it.....Shweet :-).  Yep you heard right, go here and grab your OLPC XO inspired 1GB USB stick image and boot all those old PC's into sugar. According to Walter Bender (the creator of Sugar OS) a new version dubbed Sucrose 0.84 is on its way soon. Complete article (including interview with Mr. Bender) is over at XConomy.
Read More

Duplicate your Ubuntu Installation….

CLI, Linux, Ubuntu, Unix
As good as Ubuntu (and linux) are in general, once in a while you just get to a point where you need a reinstall. That's when the realization kicks in that you've got far too many packages installed since the initial Ubuntu install. It's okay, there is a way out. Make sure you have a USB key.On Ubuntu Workstation (with graphical interface):Run Synaptic package manager. Once inside Synaptic, go to File/Save Markings As menu option and choose a filename and location (USB stick). MAKE SURE YOU ALSO CHECK THE BOX "SAVE FULL STATE, NOT ONLY CHANGES". This will save a text file that contains every single package installed on your system (through apt system and all it's variants....manual compile/installs are something else). Now you can go ahead and reinstall the…
Read More

Super Ubuntu save you time….

Linux, Technology, Ubuntu
If you've ever installed Ubuntu and started cursing right after because some piece of software you thought was in there wasn't, then Super Ubuntu might be for you. It's basically Ubuntu with a bunch of useful applications pre-installed. You even update through the standard Ubuntu methods. The only downside is that the distro is 32-bit only for now. Below you'll find a list of pre-installed additional software you get with Super Ubuntu:Adobe Reader 8.1.3 aMule 2.2.2 aMSN 0.97.2 Autopackage 1.2.5 Brasero 0.8.4 compizconfig-settings-manager (to configure the settings of Compiz and the desktop effects) EnvyNG (command line version) Firefox 3.0.4 Furius ISO Mount GParted 0.3.8 GIMP 2.6.3 gufw (GUI for uncomplicated firewall) 0.20.6 MPlayer (media player) NDISwrapper and ndisgtk 3 Opera 9.63 padevchooser (the graphical interface for PulseAudio) RealPlayer…
Read More

Basic APT commands

CLI, Linux, Shell Script, Ubuntu
Okay, now for a bit of CLI goodness. Here is a quick list of basic apt commands.  Debian and most derivatives (Ubuntu) use these for package maintenance.#searchapt-cache search packagename#package infoapt-cache show packagename#cleansudo apt-get cleansudo apt-get autoclean #old packages#checkapt-get check#get source codeapt-get source packagename#get depapt-get build-dep packagename#update/install/remove/upgradesudo apt-get updatesudo apt-get install packagenamesudo apt-get remove packagenamesudo apt-get upgradesudo apt-get dist-upgrade
Read More

UNetbootin takes care of all your USB Linux installtion blues….

Fedora Core, free, Linux, Opensource, Ubuntu
I'd covered Fedora's Live USB creator a while back. But for those of you wanting to install other flavours of linux on a USB stick (or a HD even), the process was lengthy and cumbersome. That was before UNetbootin, the Universal Netboot Installer. You see UNetbootin can be run from Linux or Windows and will enable you to install a fully functional linux distro to a USB stick or even a spare partition.The current version has built-in support for the following distributions:Ubuntu (and official derivatives)6.06 LTS6. LTSDebianStable/EtchTesting/LennyUnstable/SidLinux Mint3.14.05-r1openSUSE10.210.311.0FactoryArch Linux2007.08Damn Small Linux4.4SliTazStableCookingPuppy Linux4.00FreeBSD6.37.0NetBSD4.0Fedora789RawhidePCLinuxOS20072008Gentoo2007.02008.0Zenwalk5.2Slax6Dreamlinux3.2EliveDevelopmentCentOS45Mandriva2007.12008.02008.1FaunOS0.5.4Frugalware LinuxStableTestingCurrentSo go ahead and try some of those acquired flavors of Linux, or that FreeBSD you always wanted to install, but were too scared to. After all it's only a USB stick, if it screws up just format and reinstall…
Read More

Transcode and stream DV to mpeg4 via firewire using VLC and Ubuntu 8.04 (Hardy Heron)

Firewire, Linux, MP4, Transcoding, Ubuntu, Video, VLC
Well kids are you ready for todays lesson in transcoding DV video. So first you need a decent machine. I'm using a P4 2.4Ghz oldie that has Firewire on-board and am chewing up 50% CPU for NTSC encoding. Then you need to get Ubuntu 8.04 installed. Once that's done use the following command to install vlc (Video Lan Client):sudo apt-get install vlcThen either follow this guide or if you're using 8.04 (Hardy Heron) ONLY, use the following command to add Medibuntu to your repository sources.list:sudo wget -O /etc/apt/sources.list.d/medibuntu.listfollowed bysudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get updateto add the GPG key for Medibuntu Repository. You may be asked to accept this package even though it cannot be authenticated. This is normal; typing "Yes" means you trust…
Read More