全文検索:
- UNIXBENCH @02_freebsd:08_benchmarks
- 117.7 lps (29.8 secs, 3 samples) File Read 1024 bufsize 2000 maxblocks 77817.0 KBps (30.0 secs, 3 samples) File Write 1024 bufsize 2000 maxblocks 15344.0 KBps (30.0 secs, 3 samples) File Copy 1024 bufsize 2000 maxblocks 15387.0 KBps (30.0 secs, 3 samples) File Read 256 bufsize 500 maxblocks 24471.0 KBps
- FreeBSD カーネル再構築 @02_freebsd:99_その他
- de> # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO88... is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or nec
- FreeBSD - vim @02_freebsd:99_その他
- <code> set nobackup if v:lang =~ "^ko" set fileencodings=euc-kr set guifontset=-*-*-medium-r-... -*-*-*-*-*-*-* elseif v:lang =~ "^ja_JP" set fileencodings=euc-jp set guifontset=-misc-fixed-me... -*-*-*-*-*-*-* elseif v:lang =~ "^zh_TW" set fileencodings=big5 set guifontset=-sony-fixed-medi... 5-c-160-big5-0 elseif v:lang =~ "^zh_CN" set fileencodings=gb2312 set guifontset=*-r-* endif
- 05 rsync @02_freebsd:01_net
- 使う。 \\ 空行と、';' または '#' で始まる行は無視されます。 | |--exclude FILE|「--exclude」オプションと似ていますが、代わりに FILE に除外するファイルのリストを記述します。FILE の空行と、';' または '#' で始まる行は無視されます。 | |--stats|コピーの結果を表示する。指定しないといっさいのメッセージは表示されない ... ==== /usr/local/etc/rsyncd.conf ==== <code> pid file = /var/run/rsyncd.pid log file = /var/log/rsync.
- MySQL - レプリケーション @02_freebsd:04_database:01_mysql
- </code> ===== 更新ログの状態を取得する ===== 実行したら、画面に出力された「File」と「Position」カラムの内容をメモしておきます。\\ これは、現時点での更新ログファイル名と... D='<replication password>', MASTER_LOG_FILE='<recorded log file name>', MASTER_LOG_POS=<recorded log offset>; mysql> START SLAVE; </c... Connect_Retry: 60 Master_Log_File: mysql-bin.000007 Read_Master_Log_Pos:
- Bonnie++ @02_freebsd:08_benchmarks
- 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done.
- file @02_freebsd:80_unixコマンド
- ====== file ====== ===== 機能 ===== fileコマンドは、指定したファイルがどのような種類のファイルかを調べます。 テキストファイルか、ディレクトリか、データファイルか、シェルスクリプトか、 実行可能なバイナリファイルか、などを判別できます。 ===== 構文 ===== file ファイル名 ===== コマンド例 ===== <code console> > file /etc/hosts /etc/hostsを調べる /etc/hosts: AS
- chmod @02_freebsd:80_unixコマンド
- 変更する。 ===== 構文 ===== <code> chmod (オプション) [a+w] [file name] chmod (オプション) [644] [file name] </code> ===== オプション ===== <code> -R 指定されたディレクトリ以下のファイルのアクセス... |x|1|実行可能| ===== コマンド例 ===== <code> > chmod a+w file1 全てのユーザーに書き込み権限を付加&br; > chmod 644 file2 file2を644(rw-r--r--)に変更&br; > chmod 701 *.cgi 拡張子がc
- tar @02_freebsd:80_unixコマンド
- をgzipで圧縮する(FreeBSD・Linux)| |j|bzip2を通して処理を行う | |X FILE|FILEに記述されたファイル(フォルダ)を除外する。| |C|指定したディレクトリにファイルを展開する| ===== コマンド例 ===== ==== /etcディレクトリ以下のファイルをフロッピーデ... イルだけを取り出す ==== <code console> $ tar zxvf foo.tgz filename </code> ==== 指定したディレクトリに展開する ==== hogeディレクト... ssh root@10.10.10.10 tar -C /mnt/ --sparse --one-file-system -zcp --numeric-owner --xattrs . | ssh root
- 03 Postfix + amavisd + clamav @02_freebsd:03_mail
- </code> === 添付ファイルがあるとはじかれる === <code> $banned_filename_re = new_RE( ### BLOCKED ANYWHERE # qr'^UNDE... qr'^\.(exe-ms|dll)$', # banned file(1) types, rudimentary # qr'^\.(exe|lha|tnef|cab|dll)$', # banned file(1) types ・ ・ ・ ); </code> この部分を <code> $banned_filename_re = new_RE(); </code> === 参考URL === [[http
- dump @02_freebsd:80_unixコマンド
- me) to /dev/rst0 DUMP: mapping (Pass I) [regular files] ・ ・ </code> === /homeをho... tandard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUM... [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 461079 tape blocks DUMP: fini
- unzip @02_freebsd:80_unixコマンド
- ------- 12 3 files </code> === アーカイブ内の詳細確認(-Z) === <code console>... p -Z test.zip Archive: test.zip 394 bytes 3 files -rw-rw-r-- 2.3 unx 4 tx stor 9-May-14 1... 2.3 unx 4 tx stor 9-May-14 11:10 c.txt 3 files, 12 bytes uncompressed, 12 bytes compressed: 0.
- MySQLのインストール @02_freebsd:04_database:01_mysql
- == 設定ファイルのコピー ====== <code console> # cp support-files/my-medium.cnf /etc/my.cnf # cp support-files/mysql.server /usr/local/etc/rc.d/mysql.sh # chmod 755 /... りあえず無視してよい様子。 # configure ・ ・ ・ /bin/rm: cannot remove `libtoolT': No such file or directory
- 06 squid @02_freebsd:01_net
- he.log cache_store_log /var/squid/store.log pid_filename /var/run/squid/squid.pid auth_param basic ch... # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling
- Apache 2.0 + MySQL + PHP @02_freebsd:02_www
- /sh /usr/l ocal/bin/mysqld_safe --defaults-extra-file=/var/db/m mysql 22702 0.0 7.7 65468 24832 ... 0.96 /usr/local/l ibexec/mysqld --defaults-extra-file=/var/db/mysql/my.c </code> mysqlshowでデータベース名が表示で