Wednesday, December 10, 2008

Syncing Windows Mobile 5/6 with Synce (Ubuntu 8.10 version)

One of my "to achieve" points was syncing my calendar and contact information from my Windows Mobile 5.0 Smartphone (Qtek 9100).

This post is an update from my previous one, after my Ubuntu 8.10 upgrade. Please refer to that first post if you're using previous versions of Ubuntu. I upgraded Ubuntu and Synce, so if you are installing it from scratch and you're having problems please let me know. I'll try and help you.

I will show how I'm syncing my phone with Evolution using Synce in Ubuntu 8.10.
This is based in Synce wiki and Synce mailing lists.

Note: save this post if you're using Gnome Network Manager, because you may stay without Internet after installing the core libraries. It's very easy to fix though. In Ubuntu 8.10 I don't have this problem.

Disclaimer

This is not an official Synce guide. This is my personal eXPerience using a single device, with a single WM flavor and a single OS.

If you are starting to play around with Synce, this post could help you if you're using the same WM and Linux OS's, but you should always check Synce official wiki for updates.

If you are having problems, the Synce mailing lists are probably the best place to go right now. The people are friendly and will help you solving your problems. You could also send me an email. If I can, I'll help, if not, I'll guide you in the right direction.


Monday, November 3, 2008

Upgrading to Ubuntu 8.10 The Intrepid Ibex

Last week Ubuntu 8.10, aka The Intrepid Ibex, was released.

Time to updgrade :-) First in my laptop.

I will be the using the 64 bit alternate cd to upgrade. This means that the upgrade will have a cd image as his source, and not the Internet. This way it's much faster.


Before you start
  • Check for updates using Update Manager
  • Backup your data
  • Check the Release Notes
  • Download Ubuntu (I recommend using Torrents)
  • Check the file hash (example: md5sum ubuntu-8.10-alternate-amd64.iso)
  • Be sure to upgrade from Ubuntu 8.04.
  • Use Gmount-iso to mount the iso file. This way cd could be mounted without having to burn a cd.
In the Terminal, go to the cd mount point (example: /media/cdrom) and type:
$ gksu "sh /cdrom/cdromupgrade"
And now we wait...

During the upgrade there may be some questions about replacing some configuration files. I replaced them all with the new versions.

After restarting and reactivating my Software Sources there were more updates to do. This is because Ubuntu deactivates other software sources and because I made the upgrade from the alternate cd.

Tuesday, September 16, 2008

HP Pavilion dv5-1020ep (Ubuntu 64 bits)

My old laptop's battery is dying, and I used that as an excuse to buy myself a new on :-)

I had a HP Pavilion zt3240EA, and have been very happy with it. Nice machine. Still, age weights on every one.

I'm gonna be installing Ubuntu 8.04.1 LTS Desktop Edition, 64 bits version, on my new HP Pavilion dv5-1020ep.

Download and Burn a CD
$ md5sum ubuntu-8.04.1-desktop-amd64.iso
  • Burn a cd (you can use Brasero, for example, if you already use Ubuntu). 

Running the live cd
  • Boot from the cd.
  • After booting it's important to check the integrity of the cd. Burning cds also fails.


New laptop

Just bought a new HP Pavilion dv5-1020ep.


Downloading 64 bits Ubuntu and almost ready to install it. I'll write a post about it.


Virtualbox 2.0

Virtualbox 2.0 is out and now it's easier to install and maintain.


Install
  • Download and register Sun authentication key
$ wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
  • Go to System > Administration > Software Sources and Third-Party Software.
  • Add the following sources for Hardy (check your distibution here)
deb http://download.virtualbox.org/virtualbox/debian hardy non-free
  • Now you can go to Synaptic Package Manager and look for virtualbox. This way you can uninstall previous Virtualbox installations (Synaptic Package Manager will do that for you).
  • Don't forget to install the new Guest Additions if you're using a Windows Virtual Machine.
  • Now you'll receive updated through Update Manager.
Also check my previous posts about Virtualbox for more info and tips:

Wednesday, August 27, 2008

Twitter

Just created a Twitter account. You can follow me here.


Here's a bunch of Twitter Clients for Ubuntu.


My favourite way to twitter is using the Twitter Plugin in Gnome Do. Very cool!


I'm also trying Twitux. To install just go to Synaptic Package Manager and look for twitux.


Wednesday, August 20, 2008

Wednesday, July 30, 2008

Sun Virtualbox

I have Virtualbox OSE (Open Source Edition) installed. I use it basically to use Office, when needed.

Currently I only restart to Windows to sync my iPod Touch, and that's because Virtualbox OSE doesn't support USB.

But there's a version, provided by Sun, that supports USB devices.


Uninstall Virtualbox OSE

If you already have Virtualbox installed go to Applications > Add/Remove... and look for virtualbox to uninstall your current version.

I also went to System > Administration > Synaptic Package Manager and also looked for virtualbox to remove every trace of it.


Install Sun Virtualbox (currently v1.6.2 v1.6.4)

Go to Virtualbox download site and go to Binaries (all platforms).

Select your Platform (Ubuntu 8.04 x86 in my case), agree to the license and continue to the download.

After the download is complete start the installer (or double click the .deb file):
$ sudo dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb
And it's that easy.


Squarespace

Squarespace is an amazing publishing service for building websites and creating blogs.

Check out the video and prepare to be amazed.

Squarespace is an amazing publishing service for building websites and creating blogs.

Check out the video and prepare to be amazed.

As Kevin Rose said:

"... it's like Typepad and Wordpress on crack."
It's a paid service, but it seems to me it's worth every penny.

I didn't try it yet, but there's a free, no credit card needed, 14 days trial period.

If you've tried please leave your thoughts :)

Syncing Windows Mobile 5/6 with Synce (updated)

One of my "to achieve" points was syncing my calendar and contact information from my Windows Mobile 5.0 Smartphone (Qtek 9100).

After trying for some time, I used a tip from Synce mailing lists. This tip was great for me because the author was also having troubles and started from scratch.

I think my problem was the config.xml file. I believe that if I just followed the instructions from the good folks from Synce, as I first did, but changed the config.xml, as in the mailing list, I wouldn't have needed to clean my system.

So, if you are starting, you probably could skip the "clean your system" part.

I will show how I'm syncing my phone with Evolution using Synce in Ubuntu 8.04.
This is based in Synce wiki and Synce mailing lists.

Note: save this post if you're using Gnome Network Manager, because you'll probably stay without Internet after installing the core libraries. It's very easy to fix though.


Disclaimer

This is not an official Synce guide. This is my personal eXPerience using a single device, with a single WM flavor and a single OS.

If you are starting to play around with Synce, this post could help you if you're using the same WM and Linux OS's, but you should always check Synce official wiki for updates.

If you are having problems, the Synce mailing lists are probably the best place to go right now. The people are friendly and will help you solving your problems. You could also send me an email. If I can, I'll help, if not, I'll guide you in the right direction.


Tuesday, July 29, 2008

GnomeDo 0.5

A friend of mine asked me about a Linux equivalent to Launchy, a keystroke launcher for Windows.

And that is GnomeDo.


Install
  • If you have an older version of GnomeDo start by removing it and deleting is plugins:
$ sudo aptitude purge gnome-do gnome-do-plugins gnome-do-plugin-rhythmbox
$ rm -rf ~/.local/share/gnome-do/plugins/
  • Then add the following software sources (System > Administration > Software Sources):
deb http://ppa.launchpad.net/do-core/ubuntu hardy main
deb-src http://ppa.launchpad.net/do-core/ubuntu hardy main
  • Install GnomeDo (currently v0.5.97):
$ sudo aptitude update && sudo aptitude install gnome-do 

Using GnomeDo

Go to Application > Accessories > GNOME Do to start the application (it will also appear in your notification area).

To summon GnomeDo press Super+Space (the Super key is the one with the windows logo).

Know just type what you want to launch. If you want to open a Terminal window start typing Termi and your good to go.

Use the Down key to view all the options available to what you're writing and he Tab key to navigate horizontally (you'll get it).


Wednesday, July 23, 2008

Free Software in Portugal with SAPO

SAPO, a portuguese ISP, and for whom might interess, hosts Free Software (Software Livre, in portuguese).


The Software Livre project is still in an early stage, but I think that it's a great initiative.


A list of hosted projects and an english Service Catalog for Developers are available.


Currently there is a list of possible projects within the scope of SAPO Summerbits 2008.


The Software Livre platform is 100% free software and it's running Debian GNU/Linux with trac, mailman, svn, etc.


The following entities are supporting this project:


Logotipo da Ansol
ANSOL - Associação Nacional para o Software Livre (National Free Software Association)


Logotipo Caixa Mágica
Caixa Mágica - Distribuição de Linux Portuguesa (Linux Portuguese Distribution)


logo DRI
DRI - Consultoria Informática (An Information Technology Companie)


lof Ubuntu eXPerience country stats (July 2008)

I always like to check the blog statistics.

Here's an interesting one (80% is using Linux):

10 tricks for Linux systems administrators

Here's a 10 tricks article for Linux systems administrators.


You can also download the PDF version.


Tuesday, July 22, 2008

Cleaning your system from outdated software

As you install, uninstall and update applications there are some garbage left behind.


Autoremove

When you run autoremove, packages that have been installed but are no longer in use, are removed.
$ sudo apt-get autoremove 

Autoclean

Autoclean removes .deb files from packages no longer installed on your system.
$ sudo apt-get autoclean 


Do you have other cleaning tips? Send me an email or post a comment.

Thursday, July 17, 2008

SynCE 0.12 is out

Yesterday SynCE 0.12 was released.


As soon as I test it I'll update this post.


You can check the announcement at SynCE mailing lists.


Thursday, July 3, 2008

Wednesday, June 25, 2008

Firefox Download Day Certification

Have you downloaded Firefox 3.0 at Download Day and helped Firefox to set a new world record?


Yes? Get your certificate then :)


Tuesday, June 24, 2008

Synergy

Synergy is a great piece of software. It allows you to, and I quote, "easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware". Yes, your could use Linux, Windows or Mac OS. I'm only using it between to Ubuntu machines, so share your eXPerience if your using Linux and Windows for example.

Check here a little animation.

After you install and setup Synergy you only need to move your mouse to the right, left, up or down of your monitor (according to your setup) and your automatically gain control of the other machine. Now your mouse and keyboard will work there. To return to the main machine do the opposite.

This means that if your are using Synergy between your desktop and laptop, and the laptop is to the right of your desktop monitor, you'd move your mouse to the right to gain control of the laptop and to the left, in the laptop, to gain control of your desktop.


Install
  • Go to Applications > Add/Remove and look for synergy
  • Install QuickSynergy (a GUI for Synergy)

Thursday, June 12, 2008

Firefox Download Day is June 17, 2008

It's annouced!! Firefox 3.0 will be released in June 17, it's a Tuesday.


Firefox is trying to set a Guinness World Record, so don't forget, pledge now and download Firefox 3.0 next Tuesday.



Wednesday, June 11, 2008

Migration to WordPress

I'm migration the blog to WordPress.

In the process I'm changing/fixing:
  • the overall look of the blog
  • the post categories
  • some html related problems/improvements in some posts
I'm also redirecting http://lof-ubuntu-xp.lofspot.net/ from Blogspot to WordPress.

All the posts from the old blog are already migrated.

Please, let me know what you think.

Tuesday, June 10, 2008

ufw - Ucomplicated Firewall

I'm starting to play around with ufw (Ucomplicated Firewall), a firewall for Linux.

It's command line based, but simple enough.

I'll update this post as I play along.


Enable/disable ufw
$ sudo ufw enable
$ sudo ufw disable 

Default policy
  • mostly open ports
$ sudo ufw default allow
  • mostly closed ports
$ sudo ufw default deny 

Allow/deny services syntax
$ sudo ufw allow|deny <service> 

Add rules syntax
$ sudo ufw allow|deny [proto <protocol>] [from <address> [port <port>]] [to <address> [port <port>]] 

Delete rules syntax
$ sudo ufw delete <rule type> from <ip address> to any port <port number> 

Firewall status
$ sudo ufw status 
Firewall loaded
To Action From -- ------ ---- 24800:tcp ALLOW 100.000.1.1


Examples
$ sudo ufw allow proto tcp from 100.000.1.1 to any port 24800
$ sudo ufw delete allow proto tcp from 100.000.1.1 to any port 24800
$ sudo ufw allow ssh
$ sudo ufw delete allow ssh

Thursday, June 5, 2008

Removing old kernels from your system

After a while you're starting to collect kernel versions on your system.

Since Hardy came out, with kernel 2.6.24-16, we had two kernel updates, so, in grub we have now entries to kernels 2.6.24-16, 2.6.24-17 and 2.6.24-18.

We just need one to boot in, and we and the most recent one of course. Still, when deciding to remove an old kernel be aware of possible problems.

Virtualbox for instance, needs a module to the specific kernel you're running. Every time a new kernel is released your Virtualbox setup will not work until your upgrade the said module.
So, if you need to use Virtualbox and you don't yet have the new module, you could just restart into the old kernel.

So, think before you remove old kernels.


Removing old kernels
  • Check what versions you have installed
$ sudo dpkg --list | grep linux-image
  •   Output example
ii linux-image-2.6.24-16-generic 2.6.24-16.30 Linux kernel image for version 2.6.24 on x86
ii linux-image-2.6.24-17-generic 2.6.24-17.31 Linux kernel image for version 2.6.24 on x86
ii linux-image-2.6.24-18-generic 2.6.24-18.32 Linux kernel image for version 2.6.24 on x86
ii linux-image-generic 2.6.24.18.20 Generic Linux kernel image
ii virtualbox-ose-guest-modules-2.6.24-18-generic 24.0.3 virtualbox-ose-guest module for linux-image-
ii virtualbox-ose-modules-2.6.24-18-generic 24.0.3 virtualbox-ose module for linux-image-2.6.24
  • In this example, only the first 3 rows are candidates to go. Make sure you don't remove the kernel you're using.
$ uname -r
  • To remove, for instance 2.6.24-16
$ sudo apt-get remove linux-image-2.6.24-16-generic
  • Update your grub list
$ sudo update-grub
And that is that.

Sunday, June 1, 2008

Firefox Guinness World Record

Help Firefox get the Guinness World Record for the most software downloads in 24 hours.


All you have to do is download Firefox 3 within the 24 hour after is release.


The launch day will be announced soon, so bookmark this link.


You can also get involved, and spread this record attempt.



Download Day 2008


Thursday, May 1, 2008

NFS file sharing

Here's how you share files between two Linux machines, using NFS.

Installation
  • Go to the Synaptic Package Manager
  • Find nfs-kernel-server and install

Configuration in machine 1 (where the shared folder is)
  • Define the shares you want to provide
$ sudo vi /etc/exports
  • Add your shares to the file
/home/mach1user/Public *(ro,sync)
/home/mach1user/Documents 100.000.00.01(ro,sync,no_subtree_check)
/home/mach1user/Share 100.000.00.01/20(rw,sync,no_subtree_check)
  • Make your changes be known
$ sudo exportfs -a

Configuration in machine 2 (where the shared folder are going to be accessed)
  • Create a folder, where the share will be mounted
$ mkdir /home/mach2user/HomeNetwork/Public
$ mkdir /home/mach2user/HomeNetwork/Documents
$ mkdir /home/mach2user/HomeNetwork/Share
  • Mount the shares (the IP is from machine 1)
$ sudo mount 100.000.0.05:/home/mach1user/Public /home/mach2user/HomeNetwork/Public
$ sudo mount 100.000.0.05:/home/mach1user/Documents /home/mach2user/HomeNetwork/Documents
$ sudo mount 100.000.0.05:/home/mach1user/Share /home/mach2user/HomeNetwork/Share
  • Make the shares available after rebooting
$ sudo vi /etc/fstab
  • Add to the file (the IP is from machine 1)
100.000.0.05:/home/mach1user/Public /home/mach2user/HomeNetwork/Public nfs ro,hard,intr 0 0
100.000.0.05:/home/mach1user/Documents /home/mach2user/HomeNetwork/Documents nfs ro,hard,intr 0 0
100.000.0.05:/home/mach1user/Share /home/mach2user/HomeNetwork/Share nfs ro,hard,intr 0 0

And that should do it.

Windows under Linux

Ok, some things I may need to do in Windows (for now).

So I will install a virtual Windows machine using VirtualBox.


Install
  • Applications > Add/Remove Applications
  • Show: All available applications
  • Search: virtualbox
  • Check VirtualBox OSE and Apply Changes
  • Run VirtualBox (Applications > System Tools > VirtualBox OSE)

 Creating a new Virtual Machine
  • Click New and follow the instructions (a virtual hard disk is needed, but you'll be easily guided through the installer)
  • Go to Synaptic Package Manager
  • Search for virtualbox
  • Install virtualbox-ose module for your kernel (like linux-image-2.6.24-16-generic)
  • Install virtualbox-ose-guest module for your kernel (like linux-image-2.6.24-16-generic)
  • Go to System > Administration > Users and Groups
  • In Manage Groups find vboxusers, click Properties and add your user to this Group
  • Logout from Ubuntu
  • Back to VirtualBox
  • Go to Settings > CD/DVD-ROM and mount your Windows CD or iso Windows file
  • Start the Virtual Machine and install Windows
  • Tip: Click in the VirtualBox window to get the mouse pointer into Windows and click Alt+Ctrl to get the mouse pointer back to Ubuntu
  • Note: I used Brasero to create a ISO image of Windows XP

Share folders with the Virtual Machine
  • In the VirtualBox window go to Devices > Install Guest Additions
  • This will download an iso image file, mounting it in Windows and install Guest Additions for Windows
  • Shutdown Windows
  • Go to Settings > Shared Folder and add the folders you want to share
  • Start Windows and map a Network Drive to:
\\vboxsvr\yoursharedfolder

VirtualBox running modes
  • Windowed: in this case Windows will be displayed in a window
  • Fullscreen: in this case Windows will be displayed in full screen
  • Seemless mode: in this case Windows will be integrated into Gnome

Ubuntu in my desktop (installation)

Tomorrow (01/05) is an holiday in Portugal and today it was a nice day to start installing Ubuntu in my Desktop :-)

The first reference for my eXPerience is my own post where I address several important points to check before installing and to achieve.

Running the live cd

So, the first thing was downloading Ubuntu 32 bits, checking the downloaded file hash (look for more info here) and burning the cd.

After booting from the cd is important to check the integrity of the cd. Burning cds also fails.


Tuesday, April 29, 2008

Ubuntu in my desktop (status)

I'm preparing to install Ubuntu 8.04 "Hardy Heron" in my desktop machine.


Before starting
  • Try, using the Ubuntu live-cd, at least graphics, sound and cable network access (done)
  • Backup important data (done)
  • Decide the partition layout for all my hard drives (example) (done)
  • Rethink my home network (IPs, Windows workgroup names...)
  • Decide between Ubuntu 32 bits and Ubuntu 64 bits for my AMD Athlon 64BIT X2 DUAL-CORE 4200+ SKAM2 2.20 GB
    • I've decided to go with Ubuntu 32 bits (done)
    • Check if both cores are beeing used (done)
I will be dual-booting (for now) with Windows XP, and in order to release myself from Windows completely, here's a "to achieve" list.

This list doesn't have a significant order of importance.

To achieve (check the installation eXPerience here)
  • Internet access using my home network (cable) (achieved)
  • Internet access using my home network (wireless)
  • Read and write support from Linux to my Windows partitions (just in case) (achieved)
  • Read and write support from Windows to my Linux partitions (just in case)
  • Divx and Xvid playback with subtitle files support (achieved)
  • Full browser experience (Java, flash...) (achieved)
  • Microsoft Office 100% support (achieved using a virtual machine)
    • it isn't enough .doc support
    • as an example, the Excel formats, graphs, etc. should be exactly the same
    • it could be done using a virtual machine
  • Windows XP in a virtual machine (objective - legacy support) (achieved)
  • Streaming media content (xvid, divx) to my Xbox 360
    • the the content must be converted to the right format in real time
    • it must add subtitles to the media (for instance .srt separated files)
    • in Windows I use TVersity
  • Print to PDF (achieved)
  • Have a subtitle editor (achieved)
    • a needed feature is to fix the subtitles in order to keep a fixed number of characters for column
    • in Windows I use Subtitle Workshop
  • Software to mount cd image files (like .iso) (achieved)
  • Recording software (CD and DVD support) (achieved)
  • Google Earth and Google Notifier (achieved)
  • Full iPod Touch support (it could be done using a virtual machine)
  • Full Calendar and Contacts sync support for Qtek 9100 (it could be done using a virtual machine) (achieved)
  • Apache, PHP and MySQL solution for my home database solution, currently working in Windows (achieved)
  • Remote Desktop Connection to other machines, including Windows (it could be done using a virtual machine)
  • Home network (at least shared folders) (achieved)

Other nice stuff I'd like
  • BIOS upgrades (it could be done using a virtual machine)
  • System monitor (hard drive free space, cpu, memory, network and temperature)

Friday, April 25, 2008

Upgrading to Hardy

And I'm set. I'm now officially running Ubuntu 8.04 LTS.

The recommended (and easier) way to upgrade from Ubuntu 7.10 is to use Update Manager. But the servers are clotted (April 25th)...
I tried it two times and it just isn't possible at this moment (yes, I want Hardy).

So I downloaded the alternate version of Ubuntu (check bellow the "Start Download" button).
This version isn't a live cd, and it can be used to upgrade Ubuntu.

I installed (Applications > Add/Remove) Gmount-iso. This way I could use the iso file without having to burn a cd.

To make sure cd image isn't corrupted:
  • In the Terminal
$ md5sum ubuntu-8.04-alternate-i386.iso
  • You should get the correct hash for the iso you're checking
166991d61e7c79a452b604f0d25d07f9 *ubuntu-8.04-alternate-i386.iso
  • Check the hash values here
After an hour I got the alternate version of Ubuntu 8.04, mounted the iso file using Gmount-iso and, in the Terminal:
$ gksu "sh /cdrom/cdromupgrade"
And off we go. Upgrading to 8.04.


Thursday, April 24, 2008

Hardy is out

Here it his. Ubuntu 8.04 LTS, codename Hardy Heron, is out.

This is the second Long Time Support (LTS) release from Ubuntu and it will be supported for 3 years (instead of the normal 18 months).

For those who don't want to install a new OS every 6 to 18 months this is a great chance to do a fresh install and keep your desktop up and running, with full support, for a long time.

If you have Ubuntu 7.10 it's easy to upgrade to Ubuntu 8.04. Basically you just need to update your system using Update Manager (check the list of links bellow).

Check your Ubuntu version:
$ lsb_release -a
I will upgrade my laptop and will be back soon will feedback.

Meanwhile here's some useful links:

Monday, April 21, 2008

Firefox Tip: Opening Search results in a new tab

Here's a useful tip to always open your Firefox search results in a new tab:
  • In the address bar type about:config
  • Look for browser.search.openintab
  • Double click the False value (in the Value column) to change it to True
  • Now try to search something in your favourite search engine
PS: this works in every OS (at least Linux and Windows).

Conky

Conky (1.5.1) is an application that posts system monitoring info onto your Desktop. It is very light-weighted and very cool to play with.


Steps to install

In the Terminal:
  • install conky
$ sudo apt-get install conky
  • get a configuration example file (check a nicer one bellow)
$ zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc 


Thursday, April 17, 2008

Firefox Widgets

Firefox widgets (buttons, radio buttons, drop down menus, text fields and checkboxes) in Ubuntu don't look so good. I don't like it. And I'm not the only one.
So, we can change the images and CSS code for the widgets so Firefox will look really nice :)

Here's a tip from Ubuntu Forums.


Steps to make Firefox widgets look good
  • Download the Firefox Widget Installer
  • Run the installer
    • unpack the archive and run the graphic_installer
    • install in the Firefox directory (default is /usr/lib/firefox)
  • Make this the default look, even when Firefox is updated
    • to make the default look
    $ sudo dpkg-divert --add /usr/lib/firefox/res/forms.css
    • to undo the previous
    $ sudo dpkg-divert --remove /usr/lib/firefox/res/forms.css

Before


After


Tuesday, April 15, 2008

Elisa Media Center

Today I was talking with a friend of mine about Media Centers. A little by change I found a great Open Source solution.

It's called Elisa.

Here's a little demo:


I had to try it. It is super simple to install.


Saturday, April 5, 2008

Error while starting Ubuntu

Yesterday, when I was starting up my Ubuntu machine, the screen went white and I had to manually turn off the laptop.

When I started it again the file system checkup (fsck) started. I got a lot of yes or no questions about fixing several problems. Near the end fsck aborted and I was left in the terminal to try and fix the problem.

I rebooted the system, but there was a X server error and it went to the terminal again.

Ok, at this moment I was scared. A lot of data I didn't wanna lose.

I logged to my desktop machine and went to Ubuntu Forums.

 Here's what I did, and yes, I'm posting from Ubuntu:
  • I started by unmounting all my file systems:
$ sudo umount /dev/sda1
$ sudo umount /dev/sda5
$ sudo umount /dev/sda6
$ sudo umount /dev/sda7
  • Then I run a filesystem check, like this:
$ sudo e2fsck -C0 -p -f -v /dev/hda1
$ sudo e2fsck -C0 -p -f -v /dev/hda5
$ sudo e2fsck -C0 -p -f -v /dev/hda6
$ sudo e2fsck -C0 -p -f -v /dev/hda7
And that was it :-)

I rebooted and all was ok.

Friday, March 21, 2008

Sharing Files with Windows

For sharing files with Windows you just have to follow this steps:

Got to System > Administration > Shared Folders
  • in the Shared Folders tab add the folders you wish to share
  • in the General Properties tab type the Workgroup of your Network (as in Windows)
In the Terminal add yourself as a Samba user:
$ sudo smbpasswd -a yourusername
That's it. You can now access your shared folder using you Linux user.

Thursday, March 20, 2008

Apache, PHP and MySQL

Ok, setting up Apache, PHP and MySQL is super easy. I used this tip from Ubuntu Forum.

I also want to import my site and database from Windows.

Install
  • Go to System > Administration > Synaptic Package Manager
  • Now go to Edit > Mark Packages by Task
  • Choose LAMP Server (Linux/Apache/MySQL/PHP server)
In my case, the Ultimate Edition already had this installed :-)

I just updated Apache, MySQL and PHP using System > Administration > Update Manager.

Automatix

Now a great piece of software to help you install a bunch of stuff: Automatix

I started with an update (Automatix already installed) using Update Manager.

I then installed:
  • Codecs and Plugins
    • MPlayer Plugin for Firefox
    • Ubuntu Restricted Extras and Multimedia Codecs
    • W32-DVD Codecs
  • Email Clients
    • CheckGmail
  • Miscellaneous
    • Extra Fonts
    • Nautilus Scripts (open as root option)
  • Office
    • Acrobat Reader
    • Google Earth
Check for other useful software yourself :-)

Desktop customization

So far I only changed the clock type to 24 hour.

Administration tasks

So far I've pass through:

System > Administration > 
  • BootUp-Manager: I disabled "Common files for NVIDIA video cards" (ATI on my laptop) and "Bluetooth services". Something to investigate a little more though.
  • Login Window: Changed the Theme to "Human" and disabled the login screen sound
  • Network: Already manually configured my IP
  • Time and Date: I like to keep my OS clock using a NTP server (ntp02.oal.ul.pt)

Changing preferences

So far I've changed:

System > Preferences >
  • Appearance: I don't really like the default Ultimate Edition theme, so I chose the Human theme and changed the Background
  • Keyboard: I had the EuroSign to the E key
  • Keyboard Shortcuts: Now the "Windows key" shows the panel menu (it's the Start Menu in Windows) and the "Menu key" activates the window menu (right mouse button)
  • Mouse: I never liked the "Tap to Click" option
  • Power Management: Changed some timeout options and had the Notification icon always on
  • Screensaver
  • Sessions: I disable the Bluetooth Manager
  • Sound: I like it quiet

Hardware: first impression

Uppon first boot all my hardware seems to be working, including my graphics card, the mute sound button and even the SD Card Reader (this one doesn't work out of the box in Windows).

So far I only had to manually config my wired connection (I have DHCP turned off) and restart the network service.
$ sudo /etc/init.d/networking restart

Partition Map

First thing to decide is how will I partition my hard drive.

/dev/sda
/dev/sda1 ext3 / 10240 MB
/dev/sda5 ext3 /home 10240 MB
/dev/sda6 ext3 /data 58547 MB
/dev/sda7 swap 1028 MB

Ubuntu Ultimate Edition

I chose Ubuntu Ultime Edition, based on Ubuntu 7.10 Gutsy Gibson because it added a lot of useful software and configuration out of the box.

Having tried it on my laptop I saw everything I needed to get me started, from hardware to software, was already there. So I backup all my data and started my eXPerience.

PS: I had Windows XP Professional Edition installed...

[ Starting ]

This blog is intended to log my latest experience in Linux.
Through the years I have tried out several distributions such as Red Hat (and later Fedora), Suse, Mandrake (now Mandriva) and the Portuguese Caixa Mágica.

There were always something that drove me back to Windows and as the years passed the free time started to be insufficient to allow me dive right into it.

I recently decided to format my laptop and install Ubuntu. I started by dual booting it with Windows to try it out first, but soon (in the same day actually) the eXPerience begun.
My desktop machine will be next.

This blog will help me (and perhaps others) in future installations and to document my favorite software and tips.

There will probably be others posts about other subjects. News, funny stuff and maybe even some crude blogging.

I will organize the blog using labels as an index to the several subjects. Each post can have zero or more labels. The index is bound to change.

Some posts will be edited through time instead of adding new posts with the same subject. If I need to add some new info about configuring network setting, the original post will probably be edited.