Monday, August 31, 2009

need to remember few commands to run file manger

I start to use the x-window but I can only run those command in terminal mode I can use sudo -i but I can not activate the file manager in ubuntu by luck I found it is call the root@kohfamily-desktop:/usr/java# nautilus ** (nautilus:5175): WARNING **: Unable to add monitor: Operation not supported Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing. [when i try to copy this portion, as window user i use CTRL-C and it stop the process ] now i remember i can use #nautilus & or use CTRL-Z to run in the background anyway, for the time being it is working Still i need to run terminal by activating in file manager as previous in Solaris environment I will able to open terminal with directory where ever the file manager stop It save the typing in terminal mode BTW. the command # xterm & run the x-windows terminal and black background seem better for me to read but then nautilus & still better to use as it has copy and paste further more i found that i can toggle directory location bar to text base. So i can copy and paste into the terminal The other command I remember now is df . And the command df give kohfamily@kohfamily-desktop:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb2 10309828 2761676 7024436 29% / tmpfs 222284 0 222284 0% /lib/init/rw varrun 222284 112 222172 1% /var/run varlock 222284 0 222284 0% /var/lock udev 222284 160 222124 1% /dev tmpfs 222284 76 222208 1% /dev/shm lrm 222284 2192 220092 1% /lib/modules/2.6.28-15-generic/volatile /dev/sdb3 6815184 240248 6228736 4% /home /dev/sdb1 16334 11016 5318 68% /media/Ubuntu Inst /dev/sda1 71139568 23570044 47569524 34% /media/disk

how to create a bootable usb hdd

I still amid of experiment but that how i do it along with ubuntu help most of the time I access help via https://help.ubuntu.com/9.04/installation-guide/i386/boot-usb-files.html how to get there is via Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Installation Guide > Obtaining System Installation Media > Preparing Files for USB Memory Stick Booting I boot up using ubuntu live cd I used the partition editor (Gparted) to partition my 40 HDD 2.5" HDD to create the smallest partition 18mb FAT 16 the second partition is 10Gb EXT 3 / third partition 6Gb EXT 3 /home last partition 2Gb SWAP I committed the action Then I got problem continue so I continue to install the ubuntu on the ext hdd I have to install Gpart as not in std installation #apt-get install gpart but i take a rest next day I read the ubuntu help again and it is much clearer the first partition i created is /dev/sda1 download to /tmp fr netboot/boot.img.gz # zcat boot.img.gz > /dev/sda1 All the files are there ! [last night I struggle to copy the system file vmlinuz (kernel binary) initrd.gz (initial ramdisk image) but it is either not able to be copied in the installed sytem or I do not it is contained in the casper directory in the LiveCD ] then i #mount /dev/sdX1 /mnt try to use vi but forgot all command so i use the text editor and found the files in the /mnt directory change the file syslinux.cfg include menu.cfg default vesamenu.c32 prompt 0 timeout 0 to default vmlinuz append initrd=initrd.gz only ========================== THIS PORTION is found to be fatal and wrong after that root@ubuntu:/mnt# cd / root@ubuntu:/# umount /mnt root@ubuntu:/# root@ubuntu:/# install-mbr /dev/sda1 The program 'install-mbr' is currently not installed. You can install it by typing: apt-get install mbr -bash: install-mbr: command not found root@ubuntu:/# root@ubuntu:/# apt-get install mbr after installing ... mbr root@ubuntu:/# install-mbr /dev/sda1 THIS PORTION does not work for HDD and distroy all the works done as in the rest of section ================================================ let try and it should works I try on old PC and does not work but it does work well on HP nx6325 notebook

Sunday, August 30, 2009

番茄花园

我托友人从中国带回来 番茄花园XP SP3 V5.1 我迫不及待装了两个系统 其中一个,和无版图 ubuntu 并拢在 40MB硬盘内 很简单 先装 番薯花园 下载 无版图 LiveCD .iso 下载 Free Easy Burner 制造成 无版图 LiveCD 从 无版图 LiveCD 启动 装上 无版图 结果以后MBR可以启动番薯花园视窗或无版图

double boot to Linux and Windows

Search on the web there is lot of infor on double boot to Linux and Windows Beginner do check on http://www.howtoforge.com/dual_boot_windows_xp_vista_ubuntu_feisty One of the key point I notice is that MS Windows has to be installed first (I install Tomatolei Chinese Windows) Then install Linux (I did try out UBunTu) and it works easily ! The most important is to choice the manual partition As for the partition of 40 MB HDD I divide into two half first 20Mb for windows FAT 32 The last partition of 2Gb for SWAP I divide another partition 10Gb for partition / Ext 3 the rest for partition /home Ext 3 I add the option to port over the user in windows After boot up I saw both options of Ubuntu and Windows in the MBR I boot up in Ubuntu and I saw the wallpaper of Tomatolei ! So I wonder if there will be a hinder if Google OS /Linux is to be set up first and later left the option of install MS windows later

Plan to setup a server or depository

I suddenly want to record this idea I want to build a server or depository to record and upload some of my data It may like my yahoo groups that hold some of my data in work or study It is also a diary that record my work so far I have been doing some of it online with yahoo group Maybe I should get a portable USB HDD to hold some of my private data...

create bootable USB HDD

http://www.novell.com/communities/node/4536/how-create-external-usb-bootable-linux-hard-drive-without-dual-boot

Thursday, August 27, 2009

struggle and get Fedora 11 up on one hdd

After install the Fedora I dun quite like it unless i found this following site http://www.mjmwired.net/resources/mjm-fedora-f11.html#moreinfo this is a website even ubuntu user should take a look too

Monday, August 17, 2009

IME Input Method Edition SCIM

https://help.ubuntu.com/community/SCIM even thought I have installed Sim Chinese but as a record I put this blog as a reminder

Plan list to reinstall Ubuntu

I read the documentations and planning the re-install I understand some idea how to re-partition the hdd. http://gparted.sourceforge.net/screenshots.php I may consider to create a swap partition of 2Gb size I also may make a /home or /data partition I plan to write script to install java I just need to remember download QQ for linux

无版图 理念 Ubantu Linux

pupy linux 中文译名是 芭比linux 我和苏州友人聊天时 把 UBanTu Linux 翻译成 无版图 理念 从官网 Ubuntu 意味着什么? Ubuntu 是一个非洲词汇,它的意思是“人性对待他人”或“群在故我在”。Ubuntu 发行版将 Ubuntu 的精神带到软件世界中。 我也被这理念吸引了 我翻译成无版图,也是同样意义 可惜 linux 还是没有翻译词 读音是理念 而我的 CLinuxG 英文读音是和 synergy 同音 http://en.wikipedia.org/wiki/Synergy

云计算争夺战:中国人还在睡觉

http://www.cncloudcomputing.com/china/76.html 云计算争夺战:中国人还在睡觉 这几天有两条关于互联网的消息吸引了我的目光。一条是微软公司正在秘密开发完全脱离桌面的互联网操作系统“Midori”,取代已经有20多年历史的Windows操作系统,目的是为了大规模应用云计算技术。另一条则是惠普、英特尔和雅虎三家公司联合创立一系列数据中心,目的同样是推广云计算技术。   说实话,在这之前,我从未关注过云计算,但如此多的大公司卯足劲去开发云计算,却引起了我的兴趣。英文名为“Cloud computing”的云计算并不是一个最新概念,早在上世纪90年代末就被著名科技公司IBM提了出来。但是当时这个技术只是被认为能够应用在超级计算机上面,直到互联网发展壮大,尤其是Google为代表的搜索巨头的出现,云计算开始有了新的应用点。   用最简单的话来说,云计算就是让你把所有数据处理任务都交给网络来搞定,由企业级数据中心——性能可以说是超级强大——负责处理客户电脑上的数据任务,这样就可以通过一个数据中心向使用多种不同设备的用户提供数据服务,从而为个人用户节省硬件资源。   哪些公司在争夺“云计算”技术?看看吧,全是大腕级别的国外企业:从不可一世的微软、Google到风光无限的英特尔、IBM、SUN。为什么这些跨国公司在这场争夺战中如此卖力,那是因为未来的互联网发展必然朝着分布式计算和分布式服务的方向发展,个人用户的电脑不可能完成所有的数据任务,将数据处理转移到网上去是一种必然的趋势。而云计算则是这个趋势最好的体现,一旦掌握了云计算市场的主动,就能够真正控制互联网的庞大用户,从而获取巨额回报。比如比尔盖茨自己的想法就是,全世界有数以亿计的Windows用户,微软所要做的就是将这些用户通过互联网更紧密地连接起来,并向他们提供云计算服务—通过Windwos Live。 但是在这份长长的名单里面,我们没有看到任何一家中国企业的名字,或者说,在这场全球范围的云计算争夺战中,中国企业似乎显得特别低调——更准确地说是保守。   也许中国企业从来不相信在互联网是一个“技术为王”的行业。在如此之多已经取得巨大成功的中国互联网企业看来,一个先进的技术远不如一个火爆的商业概念吸引人。中国的互联网企业,更多热衷于在炒作和被炒作中赚取眼球,提升流量——互联网曾经一度被视为是一个“眼球为王”的行业。也许在全世界范围内,没有谁能像中国的互联网企业那样更擅长概念炒作,而不是技术开发。即使正在飞速发展的网络游戏行业,“美女营销”手段比游戏研发本身更受到推崇,也更受到大家的注意。国内最成功的搜索引擎百度最厉害的地方是什么,不是搜索技术,而是每天炒得热火朝天的帖吧。   当然,也有国内企业注意到云计算。瑞星推了一个“云安全”计划,想法是通过这个计划把整个互联网变成一个庞大的“杀毒软件”。但问题是这样的例子凤毛麟角,更多的国内互联网企业压根都没关注过“云计算”这种代表未来网络趋势的技术,而把更多精力投入到无限制的自我炒作中去。对于如今正风光无限的中国互联网企业来说,商业概念的炒作、VC的融资、企业的上市或许更为重要,但是如果忽视了“云计算”为代表的互联网未来技术,那么在未来的日子里,中国企业将在互联网行业付出沉重代价。   由此可见,在这场关于互联网未来主动权的“云计算”争夺战中,中国人应该醒醒啦

Gnome and KDE

I learn about different X window environment. Still I start with Ubuntu with Gnome, I gather from https://help.ubuntu.com/9.04/config-desktop/C/other-desktops.html that I can Using KDE or Xfce instead of the GNOME desktop So I download and test out. One mistake is that I answer "using KDE" as default window manager of that sort. KDE does not run well on my ATI video But it give a similar interface as puppy Then I struggle to change back to Gnome default AT last I found http://ubuntuforums.org/archive/index.php/t-1155162.html I think Gnome is ok Microsoft has the advantage at this moment as the task bar can be below as in KDE or pull up to the top as Gnome. But I believe X window will one day be able to do so. But at this time of writing the blog, I am not able to remove the KDE even though I shutdown to single user mode and run # apt-get remove kde-core I still reboot into KDE environment At the login screen, I have to struggle to login and change the screen to Gnome Quite miserable ... But I have to bear with it for the time being. Then I finally found the right term - default login manager and found this http://ubuntuforums.org/showthread.php?t=613148
sudo dpkg-reconfigure gdm

sudo /etc/init.d/gdm start

QQ on Ubuntu

I try to use Pidgin on ubuntu for everthing But it seem that only MSN is working Ironically, microsoft and other make MSN a very good IM environment. I got no problem login to MSN anywhere and everywhere. Yahoo messenger also seem fails in this Pidgin In babie Linux, the (Integate IM) also can not get yahoo messenger login But babie Linux got the integrated QQ for Linux From there, I learn to download QQ for Linux and it works well in Ubuntu Forget about wrong password false massages in Pidgin, QQ still want to maintain as a propiarety protocall. 如果你要在Linux用QQ 最好是到 http://g.cn 搜索 QQ for Linux 或到http://im.qq.com/qq/linux/ 下载

variant and history of Linux

I study the whole day and night review the history of Linux I have tried puppy and ubuntu Linux I have try the Live CD on fedora after break through the login screen. I have to call Timonthy who gave the CD and he advise is to ask Redhat on Monday. However, I was lucky that this time, the login screen went through quietly after a long wait. With Ubuntu, I think I dun see any difference. So I put is aside. From http://en.wikipedia.org/wiki/Puppy_linux "However, because Puppy is small-sized and can boot from many media, it is also useful as a rescue disk, a demonstration system, or for reviving old computers." Yes, puppy and babie Linux still have that advantage. Then I try to follow Google is up to Interally they are using Goobuntu The other indication is gOS So Ubuntu has evolved from Debian Linux and form a trend by itself. So I think I will focus on ubuntu for a while

Sunday, August 16, 2009

super user root

It take me some time to find out that under Ubuntu you have to use $ sudo -i to change into super user root It is different from puppy It take a while to get used to it I do not how to do that in the file manager mode I surprise I still remember sudo command after my last experience with ... IBM AIX ??? and that is almost 15 years ago Ha Ha Please check out https://help.ubuntu.com/6.06/kubuntu/desktopguide/C/root-and-sudo.html

Saturday, August 15, 2009

中文输入系统

在小芭比 那智能拼音有个问题 我不能用PageDown或arrow 去下找其他词汇 而在ubunto 我还没有下载QQ 真的难取舍。。。

still got problem with ATI

I still have problem with ATI X.org driver even though I think I have a ATI video card After add the package I reboot it and the video got corrupted and the system seem to be hanged I did it two times and still the same I have to re-install two times the Xfix during the boot menu does not seem to work even though later I realised I can boot up from CDROM and surf the Internet for solution I found one and did not have chance to try it dpkg-reconfigure xserver-xorg

second variety of linux

From the interest on Google OS I thought it will be based on Ubuntu but i end up trying puppy and babie Linux When I end up accidentally in their websites http://www.ubuntu.com.cn/ I like it better than Redhat I like it as how the concept behind not only just the OS I like it as the community set IT up structurely So I download the iso image and there is so many choices and I start with desktop Since I am in Singapore using Singtel broadband Surprisingly Singapore website is very slow So I have to use Australia Optus (Singtel subsidy) I got it download within 2hr After boot up I Choose Chinese as my main interface It seem that it need more than file space in the hdd So I wipe off my windows partition I create a ext4 Primary partition and mount / (root) (later I choose ext3 filesystem as to be compatible and read by puppy) I did not set up swap partition but will do so in next OS setup (a lot of this need lot of planning but i do it trial and learn)

Friday, August 14, 2009

Java setup

My nephew play RunEscape So it required Java RunTime I really need to recall my past UNIX experience and knowledge as I have not touch UNIX for almost 8 years I use the self-extracted version http://www.java.com/zh_TW/download/help/5000010500.xml#selfextracting The instruction is quite ok The most important I changed as the follow ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so root@kohfamily-desktop:/usr/lib/firefox-3.0.8/plugins# ls -la total 8 drwxr-xr-x 2 root root 4096 2009-08-15 01:38 . drwxr-xr-x 5 root root 4096 2009-04-20 22:03 .. lrwxrwxrwx 1 root root 58 2009-08-15 01:38 libjavaplugin_oji.so -> /usr/java/jre1.6.0_15/plugin/i386/ns7/libjavaplugin_oji.so You must know which plugins directory, If not you have to do for all mozilla, firefox etc Once you got it works, that is most important

Thursday, August 13, 2009

芭比LINUX

有了经验后,我便下载 http://puppy.cnbits.com/ 除了下载麻烦,一切还好 (我想开一个群组,把 .iso image 放到网上) 有 puppy linux 的 cdburner 我创造了第二个系统光盘 小芭比是我的目标 它可以从光盘启动,甚至可以不影响硬盘下, 上网或提取资料 而且有中文界面 还有QQ 包括其他工具,messenger etc

Wednesday, August 12, 2009

Start looking for Chinese Tiny Linux

This blog is recorded for my second interest in IT This week I begin to setup Linux The first trial is puppy Linux I download from .iso image from http://www.puppylinux.com/download/index.html then I download a trial copy of nero burn and burn into CDR I have created a Operating System bootable disk After I boot from the CDR, and I was amazed that it works very well