Archive for 11月, 2010

 

Tokyo cabinet/tyrant install centos 64bit

11月 14th, 2010

bzlib.hが無いと言われたので # yum install bzip* ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bzip2-devel i386 1.0.3-6.el5_5 updates 39 k bzip2-devel x86_64 1.0.3-6.el5_5 updates 38 k bzip2-libs i386 1.0.3-6.el5_5 updates 37 k Updating: bzip2 x86_64 1.0.3-6.el5_5 updates 50 k bzip2-libs x86_64 1.0.3-6.el5_5 updates 35 k Transaction Summary ================================================================================ Install 3 Package(s) Upgrade 2 Package(s) # ./configure […]

Read full article | コメントは受け付けていません。

closure-compiler : google javascript compiler

11月 10th, 2010

http://closure-compiler.appspot.com/home ついでにjavascriptのエラーチェックも出来ました。

Read full article | コメントは受け付けていません。

PHP 5.3.3 for Centos 64bit

11月 7th, 2010

以前更新したもの http://blog.bbtune.com/archives/194/update-php-5-3-2-for-centos-5-2 は、32ビット用なので上手くいかなかったので、新しいものを利用です。 作業は同じ感じです。 === PHP 5.3 for 64bit === #wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm #wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm #rpm -Uvh epel-release-5-4.noarch.rpm remi-release-5.rpm # yum –enablerepo=remi install php* mysql* とやるとエラーになりました。 You could try using –skip-broken to work around the problem You could try running: package-cleanup –problems package-cleanup –dupes rpm -Va –nofiles –nodigest The program package-cleanup is found in the yum-utils […]

Read full article | コメントは受け付けていません。

SAKURA VPS Spec

11月 4th, 2010

# uname -a Linux www11139u.sakura.ne.jp 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release CentOS release 5.5 (Final) # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping : 11 cpu […]

Read full article | コメントは受け付けていません。

SAKURA VPS first setting

11月 4th, 2010

ようやく重い腰をあげて・・・VPSの利用を開始しました。 いろいろ設定。 1. root でログイン コントロールパネルからOS起動! 2. ユーザー作成 # adduser username # chpasswd username:userpassword ctrl+D root パスワード変更 # passwd パスワード 3. SSH設定 rootログインを禁止 # vi /etc/ssh/sshd_config #PermitRootLogin yes PermitRootLogin no # /etc/init.d/sshd restart 4. iptables # /sbin/chkconfig iptables –list iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off # /sbin/chkconfig iptables off # /sbin/chkconfig iptables –list […]

Read full article | コメントは受け付けていません。

sendmailに攻撃が。

11月 3rd, 2010

Nov 3 20:20:25 xxxx sendmail[21910]: oA3BKA9C021910: dsl.dynamic85997434.ttnet.net.tr [85.99.74.34] (may be forged): possible SMTP attack: command=AUTH, count=4 Nov 3 20:20:32 xxxx sendmail[20782]: oA3BHiRU020782: dsl.dynamic85997434.ttnet.net.tr [85.99.74.34] (may be forged) did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA なんとなくログを観ていたら・・・あれ・・・iptables止まってる・・・起動し忘れたようです。 ローカルだけしかsmtpは利用できないので良かったですが危険ですね。 80と22以外は閉めました。

Read full article | コメントは受け付けていません。