インストールに成功したものの、
$ utvpnclient start segmentation fault (core dump)
というエラーが発生。
解決策はこちら
http://wiki.livedoor.jp/taiki_kondo/d/UT-VPN/Debian#content_1_2_6
$ utvpnclient start segmentation fault (core dump)
# vim /etc/proftpd/proftpd.conf ServerIdent on "FTP Server"
apt-get update apt-get upgrade
vim /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian/ squeeze-updates main deb-src http://ftp.jp.debian.org/debian/ squeeze-updates main
apt-get clean
dpkg --audit
dpkg -l | grep ^rc
dpkg -P
apt-get update
apt-get upgrade
apt-get install linux-image-2.6-686
apt-get install udev
reboot
apt-get dist-upgrade reboot apt-get autoremove
apt-get remove linux-image-2.6.26-2-686 dpkg -P linux-image-2.6.26-2-686
upgrade-from-grub-legacy
apt-get -y install live-helper
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.10 DISTRIB_CODENAME=maverick DISTRIB_DESCRIPTION="Ubuntu 10.10"
dpkg -l | grep live-helper ii live-helper 2.0~a21-1 Debian Live - System Build Scripts (transitional package)
mkdir -v /root/work cd /root/work/
lh config --mode debian -b usb-hdd lh build
lh config --mode debian -b iso lh build
lh clean
vim /root/setup.sh
#!/bin/sh # --mode ubuntu は上手くいかないので --mode debian でテスト lh config --language ja --bootappend-live \ "locale=ja_JP.UTF-8 klayout=jp quickreboot" \ --packages "screen partimage vim less ssh lsof" \ --mode debian \ --distribution lenny \ --username falcon \ --hostname falcon-system \ --mirror-bootstrap "http://ftp.jp.debian.org/debian/" \ --mirror-binary "http://ftp.jp.debian.org/debian/" \ --mirror-chroot "http://ftp.jp.debian.org/debian/" \ --mirror-chroot-security "http://security.debian.org/" \ --mirror-binary-security "http://security.debian.org/" \ --iso-volume falconLive \ --syslinux-timeout 10 \ --syslinux-splash "config/binary_syslinux/falcon.jpg" \ --binary-images usb-hdd \ --archive-areas "main contrib non-free"
chmod a+x ../setup.sh
【省略形】|【フルスペル】
-l|--language ja
--bootappend-live "locale=ja_JP.UTF-8 klayout=jp quickreboot"
dpkg-reconfigure console-data
-p|--packages "screen partimage vim less ssh lsof"
--mode debian
-d|--distribution lenny
--username falcon
--hostname falcon-system
-m|--mirror-bootstrap "http://ftp.jp.debian.org/debian/"
--mirror-binary "http://ftp.jp.debian.org/debian/" --mirror-chroot "http://ftp.jp.debian.org/debian/" --mirror-chroot-security "http://security.debian.org/" --mirror-binary-security "http://security.debian.org/"
--iso-volume falconLive
--syslinux-timeout 10
--syslinux-splash "config/binary_syslinux/falcon.jpg"
-b|--binary-images usb-hdd
--archive-areas "main contrib non-free"
cd /root/work lh clean ../setup.sh lh build
dd if=binary.img of=
tune2fs -L live-rw /dev/sdb2
mkfs.ext3 -L live-rw /dev/sdb2
--mode debian
rm -rf /
mount -v -t iso9660 -o loop,ro rhel-server-5.5-i386-dvd.iso /media/
mount -v -t iso9660 -o ro /dev/cdrom /media/
mkdir -v /tmp/redhat cp -vpr /media/* /tmp/redhat/ cp -vp /media/.discinfo /tmp/redhat/
cp -vp anaconda-ks.cfg /tmp/redhat/isolinux/ks.cfg
vim /tmp/redhat/isolinux/ks.cfg
vim /tmp/redhat/isolinux/isolinux.cfg
default linux prompt 1 timeout 600 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg label linux kernel vmlinuz append ks=cdrom:isolinux/ks.cfg initrd=initrd.img
cd /tmp/redhat/ mkisofs -r -l -J -o /tmp/autoRedHat.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
apt-get -y install php5-sqlite
cd /usr/local/src/ wget -c http://ja.wordpress.org/wordpress-2.9.2-ja.tar.gz
tar -zxvf wordpress-2.9.2-ja.tar.gz mv -v ./wordpress /var/www/blog
cd /usr/local/src/ wget -c http://downloads.wordpress.org/plugin/pdo-for-wordpress.2.7.0.zip unzip pdo-for-wordpress.2.7.0.zip cd pdo-for-wordpress/ mv -v * /var/www/blog/wp-content/ cd /var/www/blog/wp-content/ rm -f readme.txt
cd /var/www/ chown -R www-data:www-data ./blog cp -vp wp-config-sample.php wp-config.php
diff -u wp-config-sample.php wp-config.php
--- wp-config-sample.php 2010-02-16 23:09:11.000000000 +0900 +++ wp-config.php 2010-12-30 17:19:08.000000000 +0900 @@ -37,6 +37,8 @@ /** データベースの照合順序 (ほとんどの場合変更する必要はありません。) */ define('DB_COLLATE', ''); + +define('DB_TYPE', 'sqlite'); // mysql or sqlite /**#@+ * 認証用ユニークキー
define('DB_COLLATE', '');
define('DB_TYPE', 'sqlite');
// mysql or sqlite
/etc/init.d/lighttpd restart
http://サーバのドメイン名/blog/
apt-get -y install lighttpd
apt-cache search lighttpd lighttpd - 最小限のメモリしか使用しない高速で軽量なウェブサーバ
/etc/lighttpd/lighttpd.conf
diff -u lighttpd.conf.org lighttpd.conf
--- lighttpd.conf.org 2010-02-01 04:14:11.000000000 +0900 +++ lighttpd.conf 2010-12-20 23:00:42.000000000 +0900 @@ -13,6 +13,7 @@ "mod_access", "mod_alias", "mod_accesslog", + "mod_fastcgi", "mod_compress", # "mod_rewrite", # "mod_redirect", @@ -165,3 +166,12 @@ } } +fastcgi.server = ( +".php" => + ("localhost" => + ( + "socket" => "/tmp/php-fastcgi.socket", + "bin-path" => "/usr/bin/php-cgi" + ) + ) +)
"mod_fastcgi",
fastcgi.server = ( ".php" => ("localhost" => ( "socket" => "/tmp/php-fastcgi.socket", "bin-path" => "/usr/bin/php-cgi" ) ) )
apt-get -y install php5 php5-cgi
/etc/init.d/lighttpd restart vim /var/www/index.php
<?php phpinfo(); ?>
chown www-data:www-data /var/www/index.php