忍者ブログ
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

wget のインストール
# yum install wget

tdiary最新版をダウンロード
$ wget http://www.tdiary.org/download/tdiary-full-3.2.1.tar.gz

解凍
$ tar xvzf tdiary-full-3.2.1.tar.gz

配置
$ mv tdiary-3.2.1/ ./public_html/diary

バックアップしてあったファイルをコピー

tdiaryのプラグインの image_ex.rb を使うためImageMagickをインストール
# yum install ImageMagick

rep2のインストール
dataディレクトリを適当な位置に作成。(~/ あたり)

バックアップしてあったrep2をコピー

php-mbstringをインストール
# yum install php-mbstring

httpdを再起動
 
PR
CentOS6.4をnetwork install 。
初期パッケージはminimum。 + webサーバ、php、ruby、perl,mysql

インストール後、ユーザ作成。
この状態で動作している機能
auditd         0:off 1:off 2:on 3:on 4:on 5:on 6:off
blk-availability 0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond           0:off 1:off 2:on 3:on 4:on 5:on 6:off
htcacheclean   0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd           0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables       0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables       0:off 1:off 2:on 3:on 4:on 5:on 6:off
lvm2-monitor   0:off 1:on 2:on 3:on 4:on 5:on 6:off
mysqld         0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole     0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs           0:off 1:off 2:off 3:on 4:on 5:on 6:off
network         0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix         0:off 1:off 2:on 3:on 4:on 5:on 6:off
rdisc           0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond     0:off 1:off 2:off 3:off 4:off 5:off 6:off
rsyslog         0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd       0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd           0:off 1:off 2:on 3:on 4:on 5:on 6:off
udev-post       0:off 1:on 2:on 3:on 4:on 5:on 6:off

Webサーバを動作させるので httpd をonに変更
# chkconfig httpd --level 345 on

IPv6は使用しないので iptables6 をoffに変更
# chkconfig ip6tables --level 2345 off

httpd を起動
# /etc/init.d/httpd start

このままでは見えなかったのでSELinuxを停止
# vi /etc/selinux/config
SELINUX = enforcing

#SELINUX = enforcing
SELINUX = disabled
に変更しreboot

postfix が動作していたので postfixを停止
# chkconfig postfix --level 345 off

iptables で規制がかかっていたのでhttpをopen

今日はここまで。
rep2のインストールでどうもうまくいかないなーと思っていたのだがようやく判明。
なんのことはない、php-mbstringがインストールされてないだけでした。

vncでgnomeとする方法

$ vi ~/.vnc/xstartup

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

これだけ。
あとはvncをrestart

CentOSでXenを使えば普通に仮想化できそうなので、OpenVZやlxcをやめてXenに乗り換えます。
カレンダー
04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
ブログ内検索
前のページ  HOME  次のページ

material:web*citron  template:ゆずろぐ

忍者ブログ [PR]