CentOSでニコニコ動画

家の主力機にするには、ニコニコが外せない。笑
ということで、ニコニコを見るのに必要なFirefox3、Flush-Player9とついでにNVIDIAを入れたときのログ。

Firefox3

Firefox3はかなり速いという噂なので。

# cd /usr/src
# wget "http://download.mozilla.org/?product=firefox-3.0.1&os=linux&lang=ja"
# tar zxvf firefox-3.0.1.tar.bz
# cp -rf firefox /usr/local/
# ln -s /usr/local/firefox/firefox /usr/local/bin/
Firefoxのアイコンをデスクトップに
$ vi ~/Desktop/firefox.desktop
-----新規-----------------------------------------------------
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=firefox
Type=Application
Exec=/usr/local/firefox/firefox
Icon=/usr/local/firefox/icons/mozicon50.xpm
--------------------------------------------------------------

Flush-player

以下からflush-playerをダウンロード
http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux&P3_Browser_Version=Netscape4
ダウンロードするバージョンはtar.gz
ダウンロード後

# cd ~/Desktop
# tar zxvf install_flash_player_9_linux.tar.gz
# cd install_flash_player_9_linux
# ./install_flash_player_9_linux
Copyright(C) 2002-2006 Adobe Macromedia Software LLC.  All rights reserved.

Adobe Flash Player 9 for Linux

Adobe Flash Player 9 will be installed on this machine.

You are running the Adobe Flash Player installer as a non-root user.
Adobe Flash Player 9 will be installed in your home directory.

Support is available at http://www.adobe.com/support/flashplayer/

To install Adobe Flash Player 9 now, press ENTER.

To cancel the installation at any time, press Control-C.



NOTE: Please exit any browsers you may have running.

Press ENTER to continue...





----------- Install Action Summary -----------

Adobe Flash Player 9 will be installed in the following directory:

Mozilla installation directory  = /home/hogehoge/.mozilla

Proceed with the installation? (y/n/q): y

NOTE: Please ask your administrator to remove the xpti.dat from the
      components directory of the Mozilla or Netscape browser.


Installation complete.


Perform another installation? (y/n): n 


Please log out of this session and log in for the changes to take effect.


The Adobe Flash Player installation is complete.

NVIDIA

続いてNVIDIA

nVidiaの型番確認
  • システム > 管理 > ハードウェア

http://www.nvidia.com/Download/index.aspx?lang=en-us
から型番に合ったものをダウンロード

$ cd ~/Desktop
$ chmod 744 NVIDIA-Linux-x86-173.14.12-pkg1.run

$ sudo init 3

$ ./NVIDIA-Linux-x86-173.14.12-pkg1.run

あとは出てくる質問に答えておけばOK

動作確認
$ glxinfo | grep NVIDIA
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL version string: 2.1.2 NVIDIA 173.14.12

ちなみにglxgearsで3Dベンチマークをとることができます。

$ glxgears
50591 frames in 5.0 seconds = 10115.904 FPS