總網頁瀏覽量

搜尋此網誌

2011年4月29日 星期五

Manual Installing Nova Cloud Controller Ver for Cactus


sudo apt-get install python-software-properties
sudo add-apt-repository ppa:nova-core/trunk

sudo apt-get update
sudo apt-get install -y rabbitmq-server
sudo apt-get install -y python-greenlet python-mysqldb 
sudo apt-get install -y nova-common nova-doc python-nova nova-api
sudo apt-get install -y nova-network nova-objectstore nova-scheduler nova-compute
sudo apt-get install -y euca2ools unzip
vi /etc/nova/nova.conf   

bash
MYSQL_PASS=nova
NOVA_PASS=notnova
cat <
<  MYSQL_PRESEED | debconf-set-sselections
mysql-server-5.1 mysql-server/root_password pasword $MYSQL_PASS
mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
mysql-server-5.1 mysql-server/start_on_boot boolean true
MYSQL_PRESEED


sudo apt-get install -y mysql-server

sudo sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf
sudo service mysql restart



mysql -uroot -p$MYSQL_PASS -e 'CREATE DATABASE nova;'
mysql -uroot -p$MYSQL_PASS -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;"
mysql -uroot -p$MYSQL_PASS -e "SET PASSWORD FOR 'root'@'%' =PASSWORD('$MYSQL_PASS');"


sudo addgroup nova
chown -R root:nova /etc/nova
chmod 640 /etc/nova/nova.conf

/usr/bin/nova-manage db sync
/usr/bin/nova-manage user admin dub
/usr/bin/nova-manage project create dubproject dub
/usr/bin/nova-manage network create 192.168.104.0/24 1 255

mkdir –p /root/creds
/usr/bin/python /usr/bin/nova-manage project zipfile dubproject dub /root/creds/novacreds.zip
 unzip /root/creds/novacreds.zip -d /root/creds/
cat /root/creds/novarc >> ~/.bashrc
source ~/.bashrc 
euca-authorize -P icmp -t -1:-1 default
euca-authorize -P tcp -p 22 default
killall dnsmasq service 
nova-network restart
/etc/init.d/networking restart
restart libvirt-bin; restart nova-network; restart nova-compute;
restart nova-api; restart nova-objectstore; restart nova-scheduler
chgrp kvm /dev/kvm
chmod g+rwx /dev/kvm


 iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m
 tcp --dport 80 -j DNAT --to-destination $
NOVA_API_IP:8773

mysql -u$MYSQL_USER -p$MYSQL_PASS nova -e 'select * from
 services;'



2.Configuring Multiple Compute Nodes

ubuntu 更換網卡 鎖住原ip eth0 不見

1. cat /proc/net/dev "抓到的網路卡是eth1"
 eht1:    70634      820  0      0      0      0      0      0      4401        36    0      0      0      0      0      2.sudo 2.rm -f /etc/udev/rules.d/70-persistent-net.rules
3.sudo reboot

2011年4月27日 星期三

Script Nova 安裝

cloud controller--------------------------------------------------------------------------------------------------------------------------
1.前置動作  
A.查看cpu有無支援權虛擬化
egrep -c '(vmx|svm)' /proc/cpuinfo 檢查cpu是否支援虛擬化
如果算出來的數字大於 0 的話,就表示有支援了,不過還是記得要去 BIOS 裡確認是否有 Enable CPU Virtualization 
 鳥哥 http://linux.vbird.org/linux_enterprise/xen.php--說明
 B.如果設定網路IP等...確認./etc/init.d/networking restart 執行會不會fall"
C.sudo apt-get update

設定 固定ip
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.104.30
        netmask 255.255.255.0
        broadcast 192.168.104.255
        gateway 192.168.104.1
        dns-nameservers 61.64.172.2

2. 下載 Script  
wget --no-check-certificate https://github.com/elasticdog/
OpenStack-NOVA-Installer-Script/raw/master/nova-install
3.變更權限  sudo chmod 755 nova-install
4. 執行

sudo bash nova-install -t cloud
提問
################################################################
 Nova Services Configuration
################################################################

This section includes setting the host IP addresses for the Nova Cloud
Controller, S3, RabbitMQ, and MySQL services...these are typically hosted on
the same machine.

Cloud Controller host IP address [192.168.104.15]:"enter"
S3 host IP address [192.168.104.15]:"enter"
RabbitMQ host IP address [192.168.104.15]:"enter"
MySQL host IP address [192.168.104.15]:"enter"

Database credentials
####################

Desired MySQL root password:"輸入mysql密碼"
Verify MySQL root password:"輸入mysql密碼"
 :###############################################################
################################################################
 Local Network Settings
################################################################

In order to set up the network bridge, we'll need some information on your
local network interface configuration. The settings will default to the first
known device as listed by 'ifconfig'.

Enter this machine's IP address [192.168.104.15]: 192.168.104.15
Enter this machine's broadcast address [192.168.104.255]:
Enter this machine's netmask [255.255.255.0]:
Enter this machine's gateway [192.168.104.1]: 192.168.104.254
Enter this machine's DNS nameserver address [61.64.172.2]
  Local Network Settings
################################################################

In order to set up the network bridge, we'll need some information on your
local network interface configuration. The settings will default to the first
known device as listed by 'ifconfig'.

Enter this machine's IP address [192.168.104.15]: "enter"
Enter this machine's broadcast address [192.168.104.255]:"enter"
Enter this machine's netmask [255.255.255.0]:"enter"
Enter this machine's gateway [192.168.104.1]: 192.168.104.254
Enter this machine's DNS nameserver address [61.64.172.2]:"enter"

################################################################
 Project Network Configuration
################################################################

Here you will set the network range that ALL of your projects will reside in,
and the number of IP addresses in that block that should be available for use.
After that, you'll create a project administrator and a new project.

Network range for ALL projects (normally x.x.x.x/12): 10.0.0.0/12
Total amount of usable IPs for ALL projects: 8

New project creation
####################

User name for the project administrator: dub
Name for the project: dubproject

Desired network range for the 'dubproject' project (normally x.x.x.x/24): 192.168.0.0/24
How many networks for the 'dubproject' project: 1
How many available IPs per 'dubproject' project network: 255

########
########

One last thing...there is currently no way to background/preeseed the
RabbitMQ package's installation splash screen, so we'll need you to
manually go through it.

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-os-mon erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools
  libsctp1 lksctp-tools
Suggested packages:
  erlang-tools erlang erlang-manpages erlang-doc-html
The following NEW packages will be installed:
  erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-os-mon erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools
  libsctp1 lksctp-tools rabbitmq-server
0 upgraded, 13 newly installed, 0 to remove and 30 not upgraded.
Need to get 4,337 kB/7,198 kB of archives.
After this operation, 14.2 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main erlang-base amd64 1:13.b.3-dfsg-2ubuntu3 [4,337 kB]
Fetched 4,337 kB in 18s (235 kB/s)
Selecting previously deselected package erlang-base.
(Reading database ... 47590 files and directories currently installed.)
Unpacking erlang-base (from .../erlang-base_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-crypto.
Unpacking erlang-crypto (from .../erlang-crypto_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-mnesia.
Unpacking erlang-mnesia (from .../erlang-mnesia_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-runtime-tools.
Unpacking erlang-runtime-tools (from .../erlang-runtime-tools_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-public-key.
Unpacking erlang-public-key (from .../erlang-public-key_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-ssl.
Unpacking erlang-ssl (from .../erlang-ssl_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-inets.
Unpacking erlang-inets (from .../erlang-inets_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-snmp.
Unpacking erlang-snmp (from .../erlang-snmp_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-os-mon.
Unpacking erlang-os-mon (from .../erlang-os-mon_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package erlang-syntax-tools.
Unpacking erlang-syntax-tools (from .../erlang-syntax-tools_1%3a13.b.3-dfsg-2ubuntu3_amd64.deb) ...
Selecting previously deselected package libsctp1.
Unpacking libsctp1 (from .../libsctp1_1.0.11+dfsg-1_amd64.deb) ...
Selecting previously deselected package lksctp-tools.
Unpacking lksctp-tools (from .../lksctp-tools_1.0.11+dfsg-1_amd64.deb) ...
Selecting previously deselected package rabbitmq-server.
Unpacking rabbitmq-server (from .../rabbitmq-server_2.3.1-1ubuntu1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up erlang-base (1:13.b.3-dfsg-2ubuntu3) ...
Searching for services which depend on erlang and should be started...none found.
Setting up erlang-crypto (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-mnesia (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-runtime-tools (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-public-key (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-ssl (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-inets (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-snmp (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-os-mon (1:13.b.3-dfsg-2ubuntu3) ...
Setting up erlang-syntax-tools (1:13.b.3-dfsg-2ubuntu3) ...
Setting up libsctp1 (1.0.11+dfsg-1) ...
Setting up lksctp-tools (1.0.11+dfsg-1) ...
Setting up rabbitmq-server (2.3.1-1ubuntu1) ...
Adding group `rabbitmq' (GID 112) ...
Done.
Adding system user `rabbitmq' (UID 104) ...
Adding new user `rabbitmq' (UID 104) with group `rabbitmq' ...
Not creating home directory `/var/lib/rabbitmq'.
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

################################################################
 ENTERING AUTO-PILOT MODE
################################################################

At this point, you've entered all the information needed to finish the
installation of this Nova component. Feel free to get some coffee, you have
earned it!

Installing packages
###################

Installing package 'python-software-properties' ... done
Adding 'ppa:nova-core/release' repository ... done
Installing package 'euca2ools' ... done
Installing package 'mysql-server' ... done
Installing package 'nova-api' ... done
Installing package 'nova-compute' ... done
Installing package 'nova-network' ... done
Installing package 'nova-objectstore' ... done
Installing package 'nova-scheduler' ... done
Installing package 'unzip' ... done

Setting up the Nova configuration file
######################################

Generating nova.conf ... done
Setting proper permissions for nova.conf ... done

Finalizing MySQL setup
######################

Adjusting MySQL network configuration ... done
Creating database ... done
Initializing database ... done

Generate Nova user credentials
##############################

Generating and extracting novacreds.zip ... done
Appending novarc environment settings to your ~/.bashrc ... done

Updating network interfaces
###########################

Adding bridge device ... done
Restarting networking service ... done

Bringing your Nova node online
##############################

Restarting Nova services ... done
Ensure all five Nova services are running:

UID        PID  PPID  C STIME TTY      STAT   TIME CMD
nova      6671  6667 19 15:55 ?        S      0:00 nova-api
nova      6660  6657 37 15:55 ?        S      0:01 nova-compute
nova      6647  6645 18 15:55 ?        S      0:00 nova-network
root      6683  6675  5 15:55 ?        S      0:00 nova-objectstor
nova      6692  6690 16 15:55 ?        S      0:00 nova-scheduler

Allowing ICMP and SSH access to all VMs ... done


########################################################################
# You /MUST/ re-source your 'novarc' to use the API commands since the #
# script cannot pass the source information out of its own process...  #
# the variables have been appended to your ~/.bashrc file for sourcing #
########################################################################

For reference, the generated credentials can be found in /root/creds/


The next thing you are going to want to do it get a VM to test with.
You can find a test VM how-to and read about custom image creation here:

  http://nova.openstack.org/adminguide/multi.node.install.html
  http://wiki.openstack.org/GettingImages

Enjoy your new private cloud!
reboot
source /root/creds/novarc
5.檢查
執行 euca-describe-instances  測試api server 是否運作正常
情況
A.正常 不會出現 訊息
B.EC2_ACCESS_KEY environment variable must be set. #EC2_ACCESS_KEY沒設好
重設

/usr/bin/python /usr/bin/nova-manage project zipfile nova nova /root/creds/novacreds.zip
unzip /root/creds/novacreds.zip -d /root/creds/
cat /root/creds/novarc >> ~/.bashrc
source ~/.bashrc
source /root/creds/novarc


euca-describe-instances 測試確定
--------------------------------------------------------------------------------------------------------------------------
cloud node---------------------------------------------------------------------------------------------------------

wget --no-check-certificate https://github.com/elasticdog
/OpenStack-NOVA-Installer-Script/raw/master/nova-install
1.變更權限  sudo chmod 755 nova-install


nova-install -t compute
 .....省略

2.What is the IP address of your NOVA CONTROLLER? 輸入相關資訊

-------------------------------------------------------------------------------------------------------------------------------

controller--------------------------------------------------------------------------------------------------------------------------
1.mysql -uroot -pnova nova -e 'select * from services;'
可以看到node 加入
+---------------------+---------------------+------------+---------+----+---------+----------------+----------                                                -+--------------+----------+-------------------+
| created_at          | updated_at          | deleted_at | deleted | id | host    | binary         | topic                                                     | report_count | disabled | availability_zone |
+---------------------+---------------------+------------+---------+----+---------+----------------+----------                                                -+--------------+----------+-------------------+
| 2011-05-05 13:37:50 | 2011-05-05 15:49:56 | NULL       |       0 |  1 | nova-cc | nova-network   | network                                                   |          786 |        0 | nova              |
| 2011-05-05 13:37:55 | 2011-05-05 15:49:59 | NULL       |       0 |  2 | nova-cc | nova-compute   | compute                                                   |          787 |        0 | nova              |
| 2011-05-05 13:38:00 | 2011-05-05 15:50:01 | NULL       |       0 |  3 | nova-cc | nova-scheduler | scheduler                                                 |          785 |        0 | nova              |
| 2011-05-05 15:47:50 | 2011-05-05 15:50:00 | NULL       |       0 |  4 | 64node1 | nova-compute   | compute                                                   |           13 |        0 | nova              |
+---------------------+---------------------+------------+---------+----+---------+----------------+---------- 
2.image="ubuntu1010-UEC-localuser-image.tar.gz"
3.wget http://c0179148.cdn1.cloudfiles.rackspacecloud.com/ubuntu1010-UEC-localuser-image.tar.gz
4.uec-publish-tarball ubuntu1010-UEC-localuser-image.tar.gz dub-bucket x86_64

euca-describe-images
euca-add-keypair test > test.pem
chmod 600 test.pem

euca-run-instances -k test -t m1.tiny "ami-key" 
5.test images  
查 image ipaddress
euca-describe-instances 
ssh ubuntu@$ipaddress
sudo -i

2011年4月26日 星期二

Open Stack Nova Compute node configuration steps

1.wget --no-check-certificate https://github.com/dubsquared/OpenStack-NOVA-Installer-Script/raw/master/nova-NODE-installer.sh


2. sudo chmod 755 nova-NODE-installer.sh

3.sudo ./nova-NODE-installer.sh
 

What is the IP address of your NOVA CONTROLLER?
...... 
並將 控制台端 etc/nova/nova.conf copy 到Node 的同一個位置

4.到控制器主機 打 mysql -u帳號  -p密碼 nova -e 'select * from services;' 查看

2011年4月6日 星期三

ubuntu NFS 安裝 與 autofs 自動掛載

1. 192.168.104.253 Server端 Install
$ sudo apt-get install nfs-common
$ sudo apt-get install nfs-kernel-server

2. 設定 /etc/exports (For example: 將/shareData 給192.168.104.5 rw使用)
$ sudo vi /etc/exports
/shareData 10.2.3.78(rw)

3. 啟動 nfs server
$ sudo /etc/init.d/nfs-kernel-server start

4. 檢查 $ showmount -e localhost

1.client端要先安裝autofs
以ubuntu為例
sudo apt-get install autofs

2.client端 vi /etc/auto.master
例希望/NFSData第下的資料夾來作autofs
所以加上這行
/NFSData   /etc/auto.nfs
3.client端修改/etc/auto.nfs 檔案要先create
我要去mount 192.168.10.9上面的/NFSData第在本機的/mnt/nfs上面
#sudo nano etc/auto.nfs
加上這行
253-share  -rw,bg,soft,rsize=32768,wsize=32768 192.168.104.253:/shareData
4./etc/init.d/autofs restart

ubuntu10 ssh keygen – 登入不用密碼 終於不用輸入了

1.ssh-keygen -t rsa ###前面記得不要加sudo不然會做出 root 這使用者的金鑰
2.詢問你要將金鑰放在哪邊基本上按下 Enter 
3. Enter passphrase 這是要保護金鑰的密碼直接按下 Enter不然到最後還是要密碼
4.公鑰跟私鑰都有了之後 把公鑰丟到client 
scp ~/.ssh/*.pub client IP:~/.ssh/ 這時候scp指令要密碼
5.到client端輸入 cat .ssh/id_rsa.pub >> .ssh/authorized_keys
6. ssh server 已經可以不用輸入密碼就登入主機 YA

2011年4月4日 星期一

Open Stack Nova Single Machine Installation

System :Ubuntu 10.04 64Bit Desktop   IP:192.168.104.3

Step 1:安裝所需的先決條件 & Nova packages available in Maverick Meerkat
Nova需要RabbitMQ的消息傳遞因此我們將先安裝。確保您的主機名指向你的IP地址在/etc/ hosts中,否則 RabbitMQ的服務器將無法啟動沒有任何錯誤信息。

sudo apt-get install rabbitmq-serve  

你會看到消息開始用“Reading package lists... Done”,你必須鍵入 y確認要繼續。

sudo apt-get install python-software-properties sudo add-apt-repository ppa:nova-core/trunk 
注意:如果sudo add-apt-repository ppa:nova-core/trunk不行,更換sudo add-apt-repository ppa:nova-core/release
sudo apt-get update
然後安裝 Nova和相關依賴關係包

sudo apt-get install python-nova
sudo apt-get install nova-common nova-doc nova-api nova-network nova-objectstore nova-scheduler nova-compute euca2ools unzip
你會看到消息開始用“Reading package lists... Done”,你必須鍵入 y確認要繼續。此操作可能需要一段時間因為許多相關的軟件包將被安裝。

Step 2: Set up configuration file (installed in /etc/nova)
sudo gedit  /etc/nova/nova.conf
内容如下:
------------------------------
--daemonize=1
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--loggdir=/var/log/nova
--state_path=/var/lib/nova
--verbose
--sql_connection=mysql://root:nova@192.168.104.3/nova
###SQL數據庫的位置
--s3_host=192.168.104.3 ###這是Nova承載 objectstore服務,其中將包含VM images and buckets
--rabbit_host=192.168.104.3 ###這是rabbit AMQP messaging service
--ec2_host=192.168.104.3    ###這是nova-api service lives
--verbose                              ###Optional but very helpful during initial setup
--ec2_url=http://192.168.104.3:8773/services/Cloud ###nova-api 主機URL位址
--network_manager=nova.network.manager.VlanManager ### 控制型態分類如下
This is how your controller will communicate with additional Nova nodes and VMs: nova.network.manager.FlatManager # Simple, no-vlan networking type nova.network.manager. FlatDHCPManager # Flat networking with DHCP nova.network.manager.VlanManager # Vlan networking with DHCP –/DEFAULT/ if no network manager is defined in nova.conf
--fixed_range=192.168.104.0/24 ###這將是IPrange項目,未來將駐留在虛擬機的guest IP範圍。
--network_size=128 ### IP Addres 總數量使用虛擬機guests
-------------------------------
注意請依照自己環境設定
創造一個 “nova” group, 並set 權限:
sudo addgroup nova
sudo chown -R root:nova /etc/nova
sudo chmod 644 /etc/nova/nova.conf

Step 3 - 安裝 SQL DB (MySQL for this setup)

1-繞過all setup提示加快速度
sudo bash
MYSQL_PASS=nova
cat <
mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS
mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
mysql-server-5.1 mysql-server/start_on_boot boolean true
MYSQL_PRESEED
2-安装mysql

sudo apt-get install -y mysql-server
3- 編輯/etc/mysql/my.cnf,bind-address
sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf ###sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf表示全面用127.0.0.1取代0.0.0.0
service mysql restart
4-mysql配置

mysql -uroot -p$MYSQL_PASS -e 'CREATE DATABASE nova;'
mysql -uroot -p$MYSQL_PASS -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;"
设置root用户密码
mysql -uroot -p$MYSQL_PASS -e "SET PASSWORD FOR 'root'@'%' = PASSWORD('$MYSQL_PASS');"
###mysql的root用户初始password是空的設置時,最好設定一組Password給$MYSQL_PASS
----Compute Node Installation---
重複Step 1和Step2,然後配置你的網絡計算實例的計算節點,複製 nova.conf文件從雲控制器節點到該節點中。 
----Compute Node Installation---

Step 4 Network Configuration

如果您使用FlatManager作為網絡管理器(而不是VlanManager即顯示在nova.conf上面的例子),有一些額外的網絡改變你就得 做,以確保您的節點和虛擬機之間的連通性。如果您選擇 VlanManager或FlatDHCP,可以跳過這一節,因為它會自動為您設置。
< begin /etc/network/interfaces > ---VlanManager或FlatDHCP 設定
# The loopback network interface
auto lo
iface lo inet loopback

# Networking for NOVA
auto br100

iface br100 inet dhcp
       bridge_ports    eth0
       bridge_stp      off
       bridge_maxwait  0
       bridge_fd       0
< end /etc/network/interfaces >
sudo /etc/init.d/networking restart
< begin /etc/network/interfaces > 
auto lo
iface lo inet loopback

# Networking for NOVA
auto br100
iface br100 inet static
    address 192.168.104.3
    netmask 255.255.255.0
    network 192.168.104.0
    broadcast 0.0.0.255
    gateway 192.168.104.1
    bridge_ports eth0
    bridge_stp   off
    bridge_maxwait 0
    bridge_fd      0
    dns-nameservers "DNS IP"< end /etc/network/interfaces >
sudo /etc/init.d/networking restart
 

2011年4月3日 星期日

ubuntu 10 64.bit 安裝 flashplayer

1.下載頁面
http://labs.adobe.com/downloads/flashplayer10.html
2. 解壓縮 tar -xzvf flashplayer10_2_p3_64bit_linux_111710.tar.gz
3.移動檔案 到 sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so