abblog
you can do your best....
Monday, July 21, 2014
Monday, May 19, 2014
Useful English Word - ML - Unit 1
1) assistant: someone who helps someone else do the job
2) househusband: a man who works at home doing the cooking, cleaning etc. for his family
3) intern: someone, especially a student, who works for a short time in a particular job in order to gain experience
4) keep in contact: to meet, telephone or write regularly
5) research analyst: someone who studies a subject to find out new things about it or to test new ideas, product etc
6) business contact: a person you know who may be able to help or advise, eapecially because of the work they do
2) househusband: a man who works at home doing the cooking, cleaning etc. for his family
3) intern: someone, especially a student, who works for a short time in a particular job in order to gain experience
4) keep in contact: to meet, telephone or write regularly
5) research analyst: someone who studies a subject to find out new things about it or to test new ideas, product etc
6) business contact: a person you know who may be able to help or advise, eapecially because of the work they do
Saturday, February 1, 2014
与謝野晶子(Akiko Yosano)
ずっと前からきになっていたが、今日本当に立ち止まってみてみたらすごいこと発見しました。堺にきて4年すぎましたが、自分がすんでいる家のすぐ近くにこんな有名な人生まれた場所だとは思わなかった。(https://ja.wikipedia.org/wiki/%E4%B8%8E%E8%AC%9D%E9%87%8E%E6%99%B6%E5%AD%90)
なんか感動です。
久しぶりに難波買い物に行きましたが、人がすごいですね。
さっすが忙しい商店街は違いますな。
Wednesday, January 29, 2014
Ubuntu Server 12.04: Ruby Install
$ sudo aptitude -y install ruby
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 218行目:Rubyスクリプトとして扱う拡張子を追記
AddHandler cgi-script .cgi .pl .rb
$ sudo service apache2 restart
* Restarting web server apache2
... waiting ...done.
[2] Rubyテストページを作成して動作確認をします。作成したテストページにWebブラウザでアクセスして、以下のようなページが表示されればOKです。
$ sudo vim /var/www/index.rb
#!/usr/bin/ruby
print "Content-type: text/html\n\n"
print "<html>\n<body>\n"
print "<div style=\"width: 100%; font-size: 40px; font-weight: bold; text-align: center;\">\n"
print "Ruby Test Page<br />"
print Time.now.strftime('%Y/%m/%d')
print "\n</div>\n"
print "</body>\n</html>\n"
$ sudo chmod 705 /var/www/index.rb
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 218行目:Rubyスクリプトとして扱う拡張子を追記
AddHandler cgi-script .cgi .pl .rb
$ sudo service apache2 restart
* Restarting web server apache2
... waiting ...done.
[2] Rubyテストページを作成して動作確認をします。作成したテストページにWebブラウザでアクセスして、以下のようなページが表示されればOKです。
$ sudo vim /var/www/index.rb
#!/usr/bin/ruby
print "Content-type: text/html\n\n"
print "<html>\n<body>\n"
print "<div style=\"width: 100%; font-size: 40px; font-weight: bold; text-align: center;\">\n"
print "Ruby Test Page<br />"
print Time.now.strftime('%Y/%m/%d')
print "\n</div>\n"
print "</body>\n</html>\n"
$ sudo chmod 705 /var/www/index.rb
Tuesday, January 28, 2014
Ubuntu Server 12.04: PHP Install
Ubuntu Server 12.04: PHP Install:
--------------------------------------------------------------------------------
$ sudo aptitude -y install php5 php5-cgi libapache2-mod-php5 php5-common php-pear
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 219行目あたりにでも追記:PHPとして扱う拡張子を設定
AddHandler php5-script .php
$ sudo service apache2 restart
* Restarting web server apache2
... waiting ...done.
[2] PHPテストページを作成して動作確認をします。以下のようなページが表示されればOKです。
$ sudo vim /var/www/index.php
<html>
<body>
<div style="width: 100%; font-size: 40px; font-weight: bold; text-align:center;">
<?php
print Date("Y/m/d");
?>
</div>
</body>
</html>
--------------------------------------------------------------------------------
$ sudo aptitude -y install php5 php5-cgi libapache2-mod-php5 php5-common php-pear
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 219行目あたりにでも追記:PHPとして扱う拡張子を設定
AddHandler php5-script .php
$ sudo service apache2 restart
* Restarting web server apache2
... waiting ...done.
[2] PHPテストページを作成して動作確認をします。以下のようなページが表示されればOKです。
$ sudo vim /var/www/index.php
<html>
<body>
<div style="width: 100%; font-size: 40px; font-weight: bold; text-align:center;">
<?php
print Date("Y/m/d");
?>
</div>
</body>
</html>
Saturday, January 18, 2014
Tuesday, January 7, 2014
Ubuntu Server 12.04: Apache2 Web Server Install
Ubuntu Server 12.04: Web Server
--------------------------------------------------------------------------------
$ sudo aptitude -y install apache2
$ sudo vim /etc/apache2/conf.d/security
# 27行目:変更
ServerTokens Prod
# 39行目:変更
ServerSignature Off
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 218行目:コメント解除し、CGIとして扱う拡張子を設定
AddHandler cgi-script .cgi .pl
$ sudo vim /etc/apache2/sites-available/default
# 2行目:管理者アドレス変更
ServerAdmin webmaster@server.world
# 10行目:変更 ( Indexes は削除 )
Options FollowSymLinks ExecCGI
# 11行目:変更
AllowOverride All
$ ln -s /usr/bin/perl /usr/local/bin/perl
$ sudo service apache2 restart
http://192.168.0.40/
$ sudo vim /var/www/index.cgi
#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "<html>\n<body>\n";
print "<div style=\"width: 100%; font-size: 40px; font-weight: bold; text-align: center;\">\n";
print "CGI Test Page";
print "\n</div>\n";
print "</body>\n</html>\n";
$ chmod 705 /var/www/index.cgi
--------------------------------------------------------------------------------
$ sudo aptitude -y install apache2
$ sudo vim /etc/apache2/conf.d/security
# 27行目:変更
ServerTokens Prod
# 39行目:変更
ServerSignature Off
$ sudo vim /etc/apache2/mods-enabled/mime.conf
# 218行目:コメント解除し、CGIとして扱う拡張子を設定
AddHandler cgi-script .cgi .pl
$ sudo vim /etc/apache2/sites-available/default
# 2行目:管理者アドレス変更
ServerAdmin webmaster@server.world
# 10行目:変更 ( Indexes は削除 )
Options FollowSymLinks ExecCGI
# 11行目:変更
AllowOverride All
$ ln -s /usr/bin/perl /usr/local/bin/perl
$ sudo service apache2 restart
http://192.168.0.40/
$ sudo vim /var/www/index.cgi
#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "<html>\n<body>\n";
print "<div style=\"width: 100%; font-size: 40px; font-weight: bold; text-align: center;\">\n";
print "CGI Test Page";
print "\n</div>\n";
print "</body>\n</html>\n";
$ chmod 705 /var/www/index.cgi
Subscribe to:
Comments (Atom)



