« 2009年11月 | メイン | 2010年01月 »

2009年12月 アーカイブ

2009年12月08日

Redmineをアップデート

■zipをダウンロードして解凍
Sorce Forge
http://rubyforge.org/frs/?group_id=1850

■zipファイルを解凍

■log/delete.meを削除

■SSHでログインして以下を実行
[root@vm02 redmine]# rake config/initializers/session_store.rb
(in /home/webadmin/sandbox/redmine.example.com/html/redmine)
[root@vm02 redmine]# rake db:migrate RAILS_ENV=production
(in /home/webadmin/sandbox/redmine.example.com/html/redmine)

2009年12月18日

nginxでバーチャルホストの設定

[#root@vm13 ~] vi /etc/nginx/conf.d/virtual.conf
server {
listen 80;
server_name ys-factory.example.com;
access_log /path/to/ys-factory.example.com/logs/access_log;
error_log /path/to/ys-factory.example.com/logs/error_log;

location / {
root /path/to/ys-factory.example.com/html;
index index.html index.htm index.php;
}
location /cgi-bin/ {
alias /home/webadmin/clients/ys-factory.example.com/cgi-bin;
}
location / {
fastcgi_pass 127.0.0.1:8080;
#fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param PATH_INFO /home/webadnin/clients/ys-factory.example.com/cgi-bin/*.cgi;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_pass_header Authorization;
fastcgi_intercept_errors off;
}
}

"/etc/nginx/conf.d/virtual.conf" 26L, 632C written
[root@vm13 ~]# nginx -t
2009/12/18 15:41:09 [info] 16721#0: the configuration file /etc/nginx/nginx.conf syntax is ok
2009/12/18 15:41:09 [info] 16721#0: the configuration file /etc/nginx/nginx.conf was tested successfully
[root@vm13 ~]# service nginx restart

«     2010年01月   
          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            
«  2010年01月
Sun Mon Tue Wed Thu Fri Sat
          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            

About 2009年12月

2009年12月にブログ「MTなのです」に投稿されたすべてのエントリーです。過去のものから新しいものへ順番に並んでいます。

前のアーカイブは2009年11月です。

次のアーカイブは2010年01月です。

他にも多くのエントリーがあります。メインページアーカイブページも見てください。