Friday, November 2, 2007

gOS install

gOS is the operating system installed on $199 PC called "Everex Green gPC TC2502" from everex.
It's based on Ubuntu and designed for Google services' user like GMail, Google calendar, Google Maps and so on.

Now I boot with gOS CDROM image and install into VMware.


This is default screen. It has menu like MAC's Dock under the screen, Google search bar on the top and icons of netoworking and clock on the right side.


You can see complete list of Dock with clicking the leaf and selecting [Favorite Application].


By default, the list has following services and applications. If the service needs Web browser(e.g. GMail), Firefox will be launched.
  • Blogger
  • Facebook
  • Firefox Web Browser
  • GMail
  • Google Calendar
  • Google Docs and Spreadsheet
  • Google Maps
  • Google News
  • Meebo
  • Rhythmbox Music Player
  • Tech Support
  • Wikipedia
  • Xine Movie Player
  • YouTube

Now I double click [Install] to begin installation process.

Select system language.


Next, select time zone.


Next, keyboard layout. I choose Japanese keyboard.


Partitioning. I use entire disk.


Enter username and machine name.




Click [Install] and installation will be begun.

After installation, you can use gOS with your language.

In gOS, it's little bit messy to switch window because it doesn't have anything like task bar.

I couldn't find any appealing from gOS enough to change my OS from Ubuntu. In the part of Dock, most services is Web-base so bookmark is enough to me. At the same time, it has no mailer locally.

But it's great if everyone can buy computer with gOS costing only $199. He can use e-mail, Web, OpenOffice, multimedia player without doing anything.

I'm interested who the target of this machine for WAL MART is.
Does american people want to use it in your home? Or is it designed for school?

Thursday, October 18, 2007

Using wheel mouse on Ubuntu on VMware

By default, you cannot use wheel of mouse on Ubuntu on VMware.
You should configure /etc/X11/xorg.conf.

First, check your mouse setting in /proc/bus/input/devices.

$ more /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103
Change your mouse "Driver" and "Device" in /etc/X11/xorg.conf
$ sudo vi /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ps/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"

Change it like:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/event3"
Option "Protocol" "ps/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Restart gdm and you can use wheel.
$ sudo /etc/init.d/gdm restart

Tuesday, October 9, 2007

LAMP on Feisty Fawn

LAMP is: Linux, Apache, MySQL and PHP.
I've escaped from database in the past but now I can't.

Actually the document Installing LAMP On Ubuntu For Newbies is good enough to make LAMP correctly.
In addition to my process of setup a LAMP referencing the document, I write how to configure MySQL and phpMyAdmin, application to administrate MySQL remotely.

You need install following pack

  • Apache
    • apache2
  • PHP
    • php5
    • libapache2-mod-php5
  • MySQL
    • mysql-server
Instead of Synaptic, I use command line as the document.

First, install apache.

$ sudo apt-get install apache2

Next, PHP.

$ sudo apt-get install php5 libapache2-mod-php5
Restart Apache.
$ sudo /etc/init.d/apache2 restart
Test PHP.

Write on /var/www/testphp.php following line

<? php phpinfo(); ?> 

Access http://[server's IP address]/testphp.php with your browser to ensure that it shows PHP information.

Next, MySQL.

$ sudo apt-get install mysql-server
Now I start MySQL setting.

If you want to allow other computer to connect to your SQL server, you need to change [Bind Address] in /etc/mysql/my.cnf from to your IP address.

$ sudo vi /etc/mysql/my.cnf
bind-address =
bind-address = [server's IP address]

Create password for MySQL
$ mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.0.38-Ubuntu_0ubuntu1-log Ubuntu 7.04 distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('[パスワード]');
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Install PHPMyAdmin.
$ sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
To give a permission to administrate MySQL from PHP, configure /etc/php5/apache2/php.ini.
$ sudo vi /etc/php5/apache2/php.ini
remove ";".

Restart Apache.

$ sudo /etc/init.d/apache2 restart

Now you can login PHPMyAdmin by accessing http://[server's IP address]/phpmyadmin/.


Monday, October 1, 2007

Celena Linux Mint Beta 021 Installation

Linux Mint is one of Linux distribution for desktop user based on Ubuntu.
It has much more support for multimedia than Ubuntu.

I believe the installation process is completely same as Ubuntu.
I installed Linun Mint Celena BETA021 to VMWare.

Boot PC with CD.


It's cool isn't is?
Select [Start Linux Mint].



Booted up completely.


Double click [Install] for beginning installation process.

First, you need to select locale.
I wanted to use Japanese for installation but I cannot read Japanese yet.


Select time zone.


Keyboard layout.


Partitioning. I use entire disk.
[Manual] shows partition dialog like GPart.


Merge the configuretions of Windows user in the machine to Linux. I don't have any other OSs so there's nothing to see.


Create user.




Click [Install] then is's started installation. It's so easy...

Friday, September 14, 2007

Mounting Linux partition on Windows with Explore2fs

I think Explore2fs is a program much simpler than Ext2Fsd.

Although it doesn't have many fanction like Ext2Fsd(in Explere2fs you cannot copy/paste with shortcut-key in the window), I prefer Explore2fs because it's not resident in memory.

Installation is very simple.
Download Explore2fs from the Web site, unzip it and dobleclick explore2fs.exe.
Explore2fs mounts Linux partition automatically, and now you can edit your Linux partition.

Thursday, September 6, 2007

Mounting Linux partition on Windows with Ext2Fsd

You may find that you need mount Linux partition on Windows when you use dual boot PC.
I introduce utility "Ext2Fsd", enabling mount a partition on Windows.

First, you need to assign drive letter to Linux partition.

Hmmm I can't... saying, "Healthy but unknown partition".

I tried to command line utility "mount.exe" to assign drive letter.
You can get it here.

In console, execute:

c:\> mount 0 3 h:

Now the drive letter of Linux partition is "H:".

View the drive letter in Ext2 Volume Manager.

Now you can access Linux partition from Explorer. Copy and paste are available as well.

You cannot access to the garbled name directory or file is garbled.

Sunday, August 26, 2007

IP address is 169.254.*.* even though it's addressed statically

In my office, I connect to the network

Even though I set my IP address statically, when I execute ifconfig:

$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:D6:FA:FA
inet addr: Bcast: Mask:
inet6 addr: fe80::208:2ff:fed6:fafa/64 Scope:Link
RX packets:4287 errors:0 dropped:0 overruns:0 frame:0
TX packets:4414 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3240523 (3.0 MiB) TX bytes:805926 (787.0 KiB)
Interrupt:10 Base address:0x800

That address is a temporary one for when the device cannot get IP address from DHCP server, no?

However, my /etc/network/interfaces has static address...

$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

And in this situation, I CAN connect to internet.

After restarting /etc/init.d/networking, the address turn to, the static address I set.
$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... [ ok ]
jocv@jocv:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:D6:FA:FA
inet addr: Bcast: Mask:
inet6 addr: fe80::208:2ff:fed6:fafa/64 Scope:Link
RX packets:6978 errors:0 dropped:0 overruns:0 frame:0
TX packets:7132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5267012 (5.0 MiB) TX bytes:1299465 (1.2 MiB)
Interrupt:10 Base address:0x800
It's causally related to zeroconf.
zeroconf is a tecnology that can let some device connect to network without configuration.
First, zeroconf request an IP address to DHCP server. If the server doesn't exist, zeroconf give an IP address of automatically. I uninstalled zeroconf and now everything is fine.

At any rate, even though the result of ifconfig is 169.254.*.*, IP address is absolutely 192.168.50.* because it connected to network...why? I'm no longer able to believe ifconfig?