2007-10-20から1日間の記事一覧

ユーザー権限 セキュリティ memo

権限情報参照 mysql > show grants for 'user'@'host'; 権限の設定 grant select,insert,delete,update,create,drop,alter,index,lock tables on *.* to 'user_name'@'host' identified by 'password'; -h host lock tables ?

IPアドレスを固定にする memo

centos 5 $vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 OTPROTO=static BROADCAST=192.168.11.255 IPADDR=192.168.11.3 NETMASK=255.255.255.0 NETWORK=192.168.11.0 BOOT=yes $vi /etc/resolv.conf nameserver 192.168.11.1 search localdom…