2012年5月30日 星期三

Upgrade/Update Fedora 16 to 17

Today, I upgrade my fedora 16 to 17 on my laptop Fujitsu SH561.
There is some note about updating process.

1. Dump or back up your data first to ensure you can recover when issue occurred.

2. Get root permission
 
    # yum update
    # yum clean all
    # yum install preupgrade
    # preupgrade

After you make command "preupgrade", GUI upgrade GUI program will lead you finish upgrade process.
Or your can do this command by CLI.

# preupgrade-cli "Fedora 17 (Beefy Miracle)"

(It will take a period of long time and reboot your OS, be patient)

2012年1月2日 星期一

Mac OSX Python IDLE installation easy way

When we use Python on Mac OSX, we are confusing on Python environment with different version.
How can we develop each version Python on Mac without complex environment set up?
Using IDLE is a simple way and graphic user interface IDE.
First, we need to install tcl/tk GUI tookit to combine back-end python to front-end IDLE.
We can download ActiveTcl 8.5.11 (10.5+ x86_64/x86) and install via DMG file.
http://www.activestate.com/activetcl/downloads

Second, after we installed AvtiveTcl 8.5.11, we can choose Python version DMG file to install.
Python 2.7.2 (10.6 10.7 x86_64/x86)
Python 3.2.2 (10.6 10.7 x86_64/x86)

Then we can see Python X.X directory in our Applications directory.

Open the Python X.X directory and click IDLE, we can open a IDLE window with Python version.

Now we can write code on IDLE with different Python version by easy way.

2011年12月7日 星期三

Munin installation

# yum install munin munin-node

# chkconfig munin-node on

# service munin-node start

# vim /etc/munin/munin.conf

dbdir   /var/lib/munin
htmldir /var/www/html/munin 
logdir  /var/log/munin
rundir  /var/run/munin
# Where to look for the HTML templates
tmpldir /etc/munin/templates
# a simple host tree [xxx.xx.xx]           ← domain name     
address 127.0.0.1
use_node_name yes

# mkdir /var/www/html/munin

# chown munin:munin /var/www/html/munin/

# service munin-node restart

# vim /var/www/html/munin/.htaccess


AuthUserFile /etc/munin/munin-htpasswd
AuthName "Munin"
AuthType Basic
<limit GET PUT POST>
require valid-user
</limit>

# htpasswd -c /etc/munin/munin-htpasswd admin

2011年10月17日 星期一

Firefox supports multi gesture on mac OSX

1.
   Key-in about:config on your Firefox URL field.
   And key-in gesture on search field.
2.
   edit

   Tree fingers switches web pages.



   browser.gesture.twist.right      Browser:NextTab
   browser.gesture.twist.left       Browser:PrevTab
 
 
  
  Two fingers zooms web pages.
 
browser.gesture.pinch.in         cmd_fullZoomReduce
  browser.gesture.pinch.in.shift   cmd_fullZoomReset
  browser.gesture.pinch.out        cmd_fullZoomEnlarge
  browser.gesture.pinch.out.shift  cmd_fullZoomReset

2011年10月13日 星期四

How to update your iPhone or iPad to iOS5 and sign up a iCloud account including me.com mail service

Step 1.

Plug your iDevices on computer with connecting line.

Step 2.

The iTune will sync your iDevice data and display it can upgrade to iOS 5.

Note: if you use laptop, please hand up your adapter.

Step 3.

Updating until the iTune finished all recover.

Note: The iDevice will power restart many times, please be patient and waiting all process done.

Step 4.

Use your iDevice to sign a iCloud account with your Apple ID, the one is that can purchase App on App Store, and step by step what you need to setup the iCloud service.

Note: iCloud account must be authorized on you iDevice including your iphone or ipad.

Step 5.

When you finish the register, the iCloud services provide you brand new experience, but the mail does

not work. It will need to registered a me.com email address. To log in your iCloud and chose the "Mail".

After that, you can sign up a <YourMail>@me.com address that can use iCloud Mail.

So, you have two account. One is AppleID, the other is me.com mail address.

2011年8月11日 星期四

Wireless connection command on Linux

#ifconfig

Show your network card interface. Mine is wlan0

#iwlist wlan0 scan

This will scan the wireless area to find the AP and essid

#iwconfig wlan0 essid XXXAP key s:PASSWORD


ping a IP to make sure the network on connection.

2011年8月3日 星期三

Nvidia Linux 64 bit driver installation on Fujitsu SH561 with CentOS 6

My office give me a new Fujitsu SH561 laptop. The preinstallation OS is Windows 7 profession. So I take the free HD space to make CentOS 6 installation. To build a twin system laptop.

But when the CentOS is installed, the display driver is set by the CentOS official's. The resolution is only 800x600 and make me bad view. So, I decide to take the Nvidia official drivers.

First, to go the Nvidia official site and the driver download page.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Choosing your display card series,ex. GeForce 500M, card name, mine GT520M, operation system, mine Linux 64 bit, and the language.

Second, you need to close the GUI level 5 and run level 3 on the text mode. System calls close X server.

 
創用 CC 授權條款