全文検索:
- ps でgrepについて @02_freebsd:80_unixコマンド
- 256620 11448 ? Ss Jun11 0:02 /usr/sbin/httpd apache 30234 0.0 0.7 257644 7592 ? S 12:23 0:00 /usr/sbin/httpd apache 30557 0.0 0.7 257644 7624 ? S 12:36 0:00 /usr/sbin/httpd apache 31189 0.0 0.7 257644 7560 ? S 13:08 0:00 /usr/sbin/httpd apache 31665 0.0 0.7 257644 7500 ? S
- 06 squid @02_freebsd:01_net
- s port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher... gistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe
- 01 Wget @02_freebsd:01_net
- た。 ===== 簡単な使い方 ===== ○基本1 <code console> wget http://flateight.com/~matsui/index.html </code> http://flateight..../index.htmlのみをダウンロードする。 ○基本2 <code console> wget -r http://flateight.com/~matsui/index.html </code> http://flateight..../index.htmlから再帰回収(-r)でホームページをダウンロードする。
- suPHP @02_freebsd:02_www
- </color> ==== ソースダウンロードここで最新版をダウンロードしてくる ==== [[http://www.suphp.org/Home.html|suPHP Homepage]] ==== ... AddHandlerを使えるようにmod_suphp.cを修正 ==== 下記のように修正すると、httpd.confでsuPHP_AddHandlerが使用可能になる。 <code console> $... =100 [handlers] ;Handler for php-scripts x-httpd-php=php:/usr/local/bin/php ;Handler for CGI-s... cripts x-suphp-cgi=execute:!self </code> ===== httpd.confの変更 ===== httpd.confに下記を追加する。 <code> LoadM
- netstat @02_freebsd:80_unixコマンド
- 0 0 105.233.75.202.e.50205 itpro.nikkeibp.c.http ESTABLISHED tcp4 0 0 105.233.75.202.e.http ThinkPad.4170 TIME_WAIT tcp4 0 0 105.233.75.202.e.http ThinkPad.4169 TIME_WAIT tcp4 0 0 105.233.75.202.e.http ThinkPad.4168 TIME_WAIT tcp4 0
- Apache 2.0 + MySQL + PHP @02_freebsd:02_www
- PRIVILEGES; </code> ====== インストール(PHP) ====== [[http://www.php.net/downloads.php|PHP本家]]よりダウンロードしてくる。 ... ----------変更箇所-------------------- </code> ===== httpd.confの編集 ===== <code console> # vi /usr/local/etc/apache2/httpd.conf 下記の2行を追加する。 ------------------追加-------------------- AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php
- WebDAV @02_freebsd:02_www
- tall </code> ===== 日本語対応(mod_encoding) ===== ■[[http://webdav.todo.gr.jp/download/|WebDAV Resources JP... よりソースとApache2用のソースをダウンロード <code console> # fetch http://webdav.todo.gr.jp/download/mod_encoding-20021209.tar.gz # fetch http://webdav.todo.gr.jp/download/experimental/mod_enc... ing.so /usr/local/libexec/apache2/ </code> ===== httpd.confの修正 ===== <code console> # vi /usr/local/et
- 02 ProFTPD @02_freebsd:01_net
- も安全なftpサーバ ProFTPDをインストール ===== ソースを持ってくる ===== http://www.proftpd.org/ より最新のtarballをダウンロードする。 最新はprof... tpd-1.2.10.tar.gz </code> ===== パッチを持ってくる ===== http://www.hayasoft.com/haya/linux/proftpd_nlst_patch.html <code console> # wget http://www.hayasoft.com/haya/linux/proftpd-nlst-patch/... <code console> # cd /usr/ports/distfiles # wget http://www.hayasoft.com/haya/linux/proftpd-nlst-patch/
- ApacheのCustomLog @02_freebsd:02_www
- combinedのフォーマット ===== <code> CustomLog /var/log/httpd/access_log combined LogFormat "%h %l %u %t \"%r... すると処理時間を先頭に出力する事ができます。 <code> CustomLog /var/log/httpd/access_log combined LogFormat "%T %h %l %u %t \... するとクッキーを先頭に出力する事ができます。 <code> CustomLog /var/log/httpd/access_log combined LogFormat "%{cookie}i %h %l... たApacheのプロセス番号(PID)| |%r|リクエストの最初の行| |%s|リクエストに対するHTTPのステータスコード(表3参照)| |%t|リクエストされた時間(形式例:[08/Feb/2002:0
- ApacheのBasic認証でPostgreSQLを参照 @02_freebsd:04_database:02_posgresql
- pgsql.so ===== 確認 ===== 一般ユーザーに戻り、Apacheの設定ファイル(httpd.conf)の内容を確認する。 \\ 以下のような行が自動的に追加されているはずである。 ... pgsql/lib/libpq.so.3 /usr/lib/libpq.so.3 ===== httpd.conf(.htaccess)の設定 ===== インストールできたら、httpd.conf(または .htaccess)の設定を行おう。 \\ 本来ならデータベースを先に用意するべきだが、説明の都合上こ... ファイルの設定は、前回説明したようにディレクトリ別のセキュリティ設定に用いられる。 \\ ここでは、httpd.confに/usr/local/apache/htdocsで公開されているコンテンツへのアクセス
- PostgreSQLコマンド @02_freebsd:04_database:02_posgresql
- ws) </code> -PostgreSQLのユーザ作成、データベース作成等の基本操作\\ [[http://www.develop-memo.com/database/postgresql/postgresqloperate.html]] -PostgreSQLデータベースのコマンド\\ [[http://y-kit.jp/saba/xp/postgrecmd.htm]] ===== [DEFA... (変更後フィールド名) </code> ===== postgresqlチップス ===== [[http://ash.jp/db/pg_tips.htm>http://ash.jp/db/pg_tips.htm]] ==== 縦表示 ==== mysql だと末尾に 「\G」と付けると、出力が縦表示なるけ
- Intel-NIC @02_freebsd:01_net
- ====== Intel-NIC ====== [[http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=3294|em-1.7.41.tar.gz]] [[http://downloadcenter.intel.com/Detail_Desc.aspx?lang=jpn&DwnldID=10206|em-5.1.5.tar.gz]] [[http://downloadcenter.intel.com/Detail_Desc.aspx?lang=
- FreeBSD カーネル再構築 @02_freebsd:99_その他
- ection on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handb... always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information... ====== コンパイル&インストール ====== ■処理にかなりの時間がかかります。\\ [[http://dokuwiki.fl8.jp/doku.php/02_freebsd/99_%E3%81%9
- ログイン時のメッセージを変更する @02_freebsd:99_その他
- ed errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ... ntly. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distributi
- 16 mysql community からyum @02_freebsd:04_database:01_mysql
- ysql community からyum ====== CentOS5 # rpm -ivh http://dev.mysql.com/get/mysql-community-release-el5-5.noarch.rpm CentOS6 # rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm CentOS7 # rpm -ivh http://dev.mysql.com/get/mysql-community-release-el7-5