fedora 6にTeraStationをマウントする
mount -t cifs -o iocharset=utf8,codepage=cp932,username="username",password="password" //TeraStationのIP/マウントしたいフォルダ名 /mnt/マウント先フォルダ名
"username"のところにログイン用ユーザ名,"password"のところにログイン用パスワードを入力
fedora 6にCMS Designerの全機能使用するためのPHP4をインストールする
libjpeg のダウンロードとインストール
libjpeg のソースファイルを libjpeg 公式サイト からダウンロードしてコンパイル、インストールを行います。
# wget -P /usr/local/src http://www.ijg.org/files/jpegsrc.v6b.tar.gz
# cd /usr/local/src
# tar xzf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/usr/local
# make
# make install
# make install-lib
configure オプションの解説
インストール先のディレクトリを設定します。* --prefix=/usr/local※インストール時に "/usr/bin/install: cannot create regular file `/usr/local/man/man1/cjpeg.1': No such file or directory" のようなエラーが表示される場合は Makefile を編集します。
# vi /usr/local/src/jpeg-6b/Makefile
/usr/local/httpd/conf/httpd.conf
20 行目辺り
#mandir = $(prefix)/man/man$(manext)
mandir = /usr/share/manマニュアルインストールディレクトリ
libpng のダウンロードとインストール
libpng のソースファイルを libpng 公式サイト からダウンロードしてコンパイル、インストールを行います。
# wget -P /usr/local/src http://jaist.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.gz
# cd /usr/local/src
# tar xzf libpng-1.2.12.tar.gz
# cd libpng-1.2.12
# ./configure --prefix=/usr/local
# make
# make install
libxsltをインストール
yum -y install libxslt-devel
expatをインストール
# wget -P /usr/local/src http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz
# cd /usr/local/src
# tar xzf expat-2.0.1.tar.gz
# cd expat-2.0.1
# ./configure --prefix=/usr/local
# make install
Sablotをインストール
# wget -P /usr/local/src http://download-1.gingerall.cz/download/sablot/Sablot-1.0.3.tar.gz
# cd /usr/local/src
# tar xzf Sablot-1.0.3.tar.gz
# cd Sablot-1.0.3
# ./configure --prefix=/usr/local
# make
# make install
php4をインストール
http://www.php.net/からphp4のソースをダウンロード
解凍し
# ./make
# ./configure --prefix=/home/php4 --exec-prefix=/home/php4 --enable-mbstring --enable-mbregex --with-zlib --with-gd --with-jpeg-dir=/usr/local/lib --enable-xslt --with-xslt-sablot --with-dom-xslt --with-dom
# ./make install