全文検索:
- MySQLコマンド @02_freebsd:04_database:01_mysql
- | varchar(60) | NO | PRI | | | | User | varchar(16) | NO | PRI | | | | Password | varchar(16) | NO | | | | | Select_priv | enum('N','Y') | NO | | N | | | Insert_priv
- vipw @02_freebsd:80_unixコマンド
- 1::0:0:Owner of many system processes:/root:/sbin/nologin operator:*:2:5::0:0:System &:/:/sbin/nologin bin:*:3:7::0:0:Binaries Commands and Source:/:/sbin/nologin tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
- FreeBSD カーネル再構築 @02_freebsd:99_その他
- # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1... # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots devic
- FreeBSD - vim @02_freebsd:99_その他
- == # cd /usr/ports/editors/vim # make install NO_GUI=yes ===== ソースからインストール ===== <color blue>※/ho... install </code> ====== .vimrc ====== <code> set nobackup if v:lang =~ "^ko" set fileencodings=euc-kr set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-* elseif v:lang =~ "^ja_JP" ... gs=euc-jp set guifontset=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-* elseif v:lang =~ "^zh_TW"
- 80_Unixコマンド @02_freebsd:80_unixコマンド
- ===== 標準 ===== {{topic>Unixコマンド +標準&header&table&nouser&tags&sort}} ===== ファイル操作 ===== {{topic>Unixコマンド +ファイル操作&header&table&nouser&tags&sort}} ===== 圧縮・復元・パックアップ ===== {{topic>Unixコマンド +圧縮・復元・パックアップ&header&table&nouser&tags&sort}} ===== ジョブ・タスク管理 ===== {{topic>Unixコマンド +ジョブ・タスク管理&header&table&nouser&tags&sort}} ===== エディタ ===== {{topic>Unixコマ
- 02 ProFTPD @02_freebsd:01_net
- inetdから起動する場合はinetd User nobody Group nobody <--nogroupから変更 DefaultRoot ~ !wheel DefaultRootの設定:この例ではユ... --------------------------------- ftp stream tcp nowait root /usr/local/sbin/in.proftpd in.proftpd
- 06 squid @02_freebsd:01_net
- nfを設定 ===== ログディレクトリとキャッシュディレクトリを変更しました。 <code> no_cache deny QUERY cache_dir ufs /work/squid 100 1... ----------- acl QUERY1 urlpath_regex cgi-bin \? no_cache deny QUERY1 ↑cgi-bin ?を含むURLをキャッシュしない acl SERVER1 dstdomain www.flateight.com no_cache deny SERVER1 ↑www.flateight.comのドメインをキャッシュしない no_cac acl QUERY2 url_regex yahoo\.co\.jp no_cache
- 15 MySQL 55 to 56 で問題 @02_freebsd:04_database:01_mysql
- ----------+ | sql_mode | STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION | +---------------+----------... ow in set (0.03 sec) mysql> SET GLOBAL sql_mode='NO_ENGINE_SUBSTITUTION'; Query OK, 0 rows affected (... obal.sql_mode | +------------------------+ | NO_ENGINE_SUBSTITUTION | +------------------------+ ... my.cnf === 再起動後も設定反映させるために、my.cnfも修正 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES ↓ sql
- 03 inetd @02_freebsd:01_net
- ------------------------- ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd ---
- nohup @02_freebsd:80_unixコマンド
- ====== nohup ====== ===== 機能 ===== nohupはログアウトした後でもプログラムを実行し続けます。 処理の長いものを、実行したときなどに便利です。 後は、ログアウト後もずっと実行し続けたいときなどに使用します。 ===== 構文 ===== <code> nohup コマンド </code> ===== コマンド例 ===== === grepをログアウト後も実行し続ける。 === <code console> root@vaio# nohup grep "." /var/log/apache/access_log > log & [
- MySQL - レプリケーション @02_freebsd:04_database:01_mysql
- y_Log_Space: 8663 Until_Condition: None Until_Log_File: ... Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Mast... _Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 ... no: 0 Last_SQL_Error: 1 row in set (0.00 sec) ERROR: No query specified </code>
- MySQLのインストール @02_freebsd:04_database:01_mysql
- seradd mysql -g mysql -d /usr/local/ -s /usr/sbin/nologin </code> ====== インストール ====== <code console>... or termcap functions library... configure: error: No curses/termcap library found </code> これでコンフィグできま... /include/regex.h:46: warning: data definition has no type or storage class /usr/include/regex.h:56: ... えず無視してよい様子。 # configure ・ ・ ・ /bin/rm: cannot remove `libtoolT': No such file or directory
- PostgreSQLコマンド @02_freebsd:04_database:02_posgresql
- ル名 ADD CONSTRAINT 制約名 UNIQUE ( 列名 [, 列名]... ); NOT-NULL制約の追加 ALTER TABLE テーブル名 ALTER COLUMN 列名 SET NOT NULL; 制約の削除 ALTER TABLE テーブル名 DROP CONSTRAINT 制約名; NOT-NULL制約の削除 ALTER TABLE テーブル名 ALTER COLUMN 列名 DROP NOT NULL; デフォルトの追加 ALTER TABLE テーブル名 ALTER COLU
- FreeBSD - アップグレード @02_freebsd:99_その他
- ておくとbuildworld.logにログを残してくれます。 <code> # /usr/bin/nohup time make buildworld >buildworld.log & </code>... : /libexec/ld-elf.so.1:_Shared_object_"libz.so.2"_not_found,_required_by_"vdelivermail"/ delivery 4: ... ibexec/ld-elf.so.1:_Shared_object_"libcrypt.so.2"_not_found,_required_by_"vdelivermail"/ </code> -対処:
- 01 MySQL インデックス @02_freebsd:04_database:01_mysql
- create table cloudstack_domain_resource( id int not null auto_increment, name text not null created_at datetime not null, primary key (id), key index_date(created_at), key index_domai