2011-06-08

Post install of LMDE

The input method. LMDE is really fantastic.
-- ibus --
But you will find there is no other input method  installed by default. For me, ibus is the most fav. So just type
apt-get install ibus im-config
(this is used to replace im-switch). Then add input libraries that you like.
For example:
apt-get install ibus-pinyin
After this run ibus-setup, then simply restart

-- innotop --
Try to start innotop to monitor my kid MySQL.  Following error message show up:
Can’t locate Term/ReadKey.pm in @INC (@INC contains ….
To solve this problem type following commands with root privilege. 

perl -MCPAN -e shell
install Term::ReadKey
exit


-- search engine --
This is the most easiest way to fix it.
http://mintytux.blogspot.com/2010/10/remove-custom-mint-search-from-firefox.html

2011-02-26

Try the first samba

Add following code (this is just a example) in to /etc/samba/smb.conf

[share]
    comment = Ubuntu File Server Share
    path = /srv/samba/share
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755


In ubuntu 10.10 service could be restart by using:
sudo restart servicename
To restart samba server following two command need be used:
sudo restart smbd
sudo restart nmbd
To block unauthorized access, change "security = no" in [Global]  section and "guest ok = no" in shared section.

Last apparmor have to be modified to allowed application access certain files. Install apparmor-profiles packages which contains binary file to modify. "sudo apt-get install apparmor-profiles". Edit /etc/apparmor.d/usr.sbin.smbd by adding following specified path info at the end of this file: 
/srv/samba/share/ r,/srv/samba/share/** rwkix,
Reload to enable the setting: sudo aa-enforce /usr/sbin/smbd

2010-10-13

Probably the Best Webhotel in Sweden

One of my friend is asking me to create a website for his company. For a small or company that mainly provide simple information, that means does not have much traffic, a webhotel could be a god choice. Here is a test from IDG.se and the winner in April 2010: binero. If you happen need such kind of service, this could be a good choice. (But not the cheapest one ;) )

AMQP - Open Standard for Messaging Middleware

Messaging is a critical concept in our life. It exchanged between different systems. People a reliable way to guarantee their message could be delivered in a speed, security way. Several years ago, messaging system is the most complicated and expensive system. But right now, everything is changed. AMQP is a standard wire-level protocol and semantic framework for high performance enterprise messaging. It is a Open Standard for Messaging Middle-ware. It is transparent to system platform and language (programming).
RabbitMQ enables developers of messaging solutions to take advantage of AMQP. The Open Telecom Platform is used by multiple telecommunications companies to manage switching exchanges for voice calls, VoIP and video. The most scalable and flexible robust system on the planet.
For more info: http://www.rabbitmq.com/

2010-04-30

Change the keyboard layout!

I like Swedish keyboard layout. But it does not meet my programming habit. So here is the solution.

Per session: "setxkbmap us"
System wide: "
sudo dpkg-reconfigure console-setup"

2010-04-25

Starting my blog life :)

Here is the start! The first time writing a blog. The first time have a blog field.