インストール

「インストール」の編集履歴(バックアップ)一覧に戻る

インストール - (2007/09/21 (金) 07:08:19) のソース

*opensuse
公式からdisk imageをdownload。メディアに焼いて使用。

*前準備
以下のpackageをyastでinstall。

gcc
gcc-c++
kernel-source
scim
anthy

*vmware
kernelを再構築する必要有。

-[[公式>http://www.vmware.com/jp/]]からrpmをdownload。yastでinstall。
-yastでkernelのsource,gccをdownload。
-commandを実行して再構築。
--/usr/bin/vmware-config.pl

//system-more program-vmware server consoleで起動。

*athcool
-[[pciutils-devel>ftp://rpmfind.net/linux/sourceforge/p/po/powersave/pciutils-devel-2.2.1-12.1.SUSE10.0.i586.rpm]]
をdownloadしてinstall。
-[[athcool>http://members.jcom.home.ne.jp/jacobi/linux/files/athcool-0.3.11.tar.gz]]
をdownloadして解凍。
-commandを実行。
--make
--make install
-/etc/init.d/boot.localにathcool onを追記。

/usr/sbin/athcool onで有効化。athcool offで解除。/usr/sbin/athcool statで状態表示。

//*lm-sensors
//defaultでinstall。設定の必要あり。

//-commandを実行。
//sensors-detect
//-設問に回答後、示されたscriptを指定されたfileにpaste。
//--/etc/modprobe.conf 1番目
//--/etc/init.d/boot.local 2番目

*truecrypt
packageはdefaultで構築されたkernelを前提。そうでない場合moduleのloadに失敗する可能性有。その場合はsourceからinstallする事が必要。

-[[公式>http://www.truecrypt.org/]]からsourceをdownload。
-解凍先のlinux folder上でcommandを実行。
--./build.sh
--./install.sh

truecrypt -c test.tcを実行して設問に回答する事でtest.tcの仮想drive作成。/truecrypt/Y folderを作成後truecrypt test.tc /truecrypt/Yでtest.tc仮想driveを/truecrypt/Yにmount。truecypt -d /truecrypt/Yで/truecrypt/Y上の仮想driveをunmount。

filesystemがext3の仮想drive作成。
-truecryptで仮想driveを作成(filesystemはnone)。
-truecryptでmount。
-truecrypt -lで仮想driveのmapperを特定。
-systemでumount。
-mkfsでext3 filesystemを作成。
--ex. mkfs -V -t ext3 /dev/mapper/truecrypt0
-truecryptでunmount。
--ex. truecrypt -d

作成した仮想driveのpermissionはroot。必要に応じchown,chgrpでpermissionを変更。
-chown -R hoge /truecrypt/Y
-chgrp -R users /truecrypt/Y

*mplayer
-公式から[[source>http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2]]、[[codecs>http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2]]、
[[skin>http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2]]をdownload。
//-libpng、libpng-devel、xorg-devel、gtk2-develをyastでinstall。
-commandを実行。codecsを解凍して設置。
--tar jxvf essential-20061022.tar.bz2
--mv essential-20061022 win32codecs
--mv win32codecs /usr/local/lib
-commandを実行。playerをinstall。
--tar jxvf MPlayer-1.0rc1.tar.bz2
--cd MPlayer-1.0rc1
--./configure --confdir=/etc/mplayer --enable-gui --with-win32libdir=/usr/local/lib/win32codecs
--make
--make install
-commandを実行。fontを指定。
--ln -s /usr/X11R6/lib/X11/fonts/truetype/sazanami-mincho.ttf /usr/local/share/mplayer/subfont.ttf
-commandを実行。skinをinstall
--tar jxvf Blue-1.7.tar.bz2
--mv Blue /usr/local/share/mplayer/skins
--cd /usr/local/share/mplayer/skins
--ln -s Blue default

gmplayerで起動。

unoffical package
http://packman.links2linux.de/download/128/65022/MPlayer-1.0rc1try3-1.pm.1.i586.rpm

*mplayer plugin
-mozilla-develを[[download>http://rpm.pbone.net/index.php3/stat/4/idpl/4005462/com/mozilla-devel-1.8_seamonkey_1.0.8-0.1.i586.rpm.html]]してinstall(yast -i mozilla-devel-1.8_seamonkey_1.0.8-0.1.i586.rpm)。
-[[公式>http:prdownloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.31.tar.gz?download]]からsourceをdownload。
-commandを実行。
--tar -xzvf mplayerplug-in-3.31.tar.gz
--cd mplayerplug-in
--./configure
--make
--cp mplayerplug-in*.so /usr/lib/firefox/lib/plugins
--cp mplayerplug-in*.xpt /usr/lib/firefox/lib/plugins

*samba
-commandを実行。
--chkconfig smb on
--chkconfig nmb on

-/etc/xinetd.d/swatを修正。以下を追加。
--         only_from       =  192.168.1.0/24