全文検索:
- 41 CentOS7 NIC名変更
- ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth0" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth1" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth2" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth3" </code> ==== 対応 ==== ethX以外の名前付けて、PCIパス指定
- 60 CentOS OpenVPN
- rt KEY_CN=changeme ← 行頭に#を追加してコメントアウト #export KEY_NAME=changeme ← 行頭に#を追加してコメントアウト #export KEY_OU=change... IENT LIST Updated,Mon Mar 10 16:16:53 2014 Common Name,Real Address,Bytes Received,Bytes Sent,Connected ... 4:03:54 2014 ROUTING TABLE Virtual Address,Common Name,Real Address,Last Ref 10.8.0.6,client1,210.172.14... 0 END kill client1 ← client1強制切断 SUCCESS: common name 'client1' found, 1 client(s) killed status ← VPN
- 古いyumを利用したい
- tOS-Base.repo @@ -13,8 +13,9 @@ [base] name=CentOS-$releasever - Base -mirrorlist=http://mi... 23,8 +24,9 @@ #released updates [update] name=CentOS-$releasever - Updates -mirrorlist=http:/... uced in the build but not released [addons] name=CentOS-$releasever - Addons -mirrorlist=http://... tional packages that may be useful [extras] name=CentOS-$releasever - Extras -mirrorlist=http://
- 古いyumを利用したい
- tOS-Base.repo @@ -13,8 +13,9 @@ [base] name=CentOS-$releasever - Base -mirrorlist=http://mi... 23,8 +24,9 @@ #released updates [update] name=CentOS-$releasever - Updates -mirrorlist=http:/... uced in the build but not released [addons] name=CentOS-$releasever - Addons -mirrorlist=http://... tional packages that may be useful [extras] name=CentOS-$releasever - Extras -mirrorlist=http://
- 15 ローカルにyumリポジトリ作成
- yum.repos.d/CentOS-Base.repo ===== <code> [base] name=CentOS-$releasever - Base baseurl=http://[myrepo_name]/centos/$releasever/os/$basearch/ gpgcheck=1 gpgk... PM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates baseurl=http://[myrepo_name]/centos/$releasever/updates/$basearch/ gpgcheck=1
- 40 CentOS VLAN tag
- de console> # cat /proc/net/vlan/config VLAN Dev name | VLAN ID Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD eth0.210 | 210 | eth0 </code> ===== ③network-scriptを設... sysconfig/network へ以下を追加 === <code> VLAN=yes VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD </code> === 1.eth0は、インタ
- 53 Pacemaker crm コマンド
- ==== ノードをスタンバイにする。 ==== crm node standby [HOST NAME] ==== ノードをオンラインにする。 ==== crm node online [HOST NAME] ==== 障害状態をクリアする ==== crm resource cleanup [RESOURCE NAME] [HOST NAME] ==== 設定を消去 ==== crm configure erase ==== バックアップ ==== crm configure save ファイル名 ==
- 55 corosync pacemaker
- de> === クラスタ作成 === <code> # pcs cluster setup --name pcs_cluster node01 node02 node03 </code> ===== ... ocf:pacemaker:ping \ name=ping_set \ dampen=5s \ ... ocf:pacemaker:ping \ name=ping_g_set \ dampen=5s \ ... ocf:pacemaker:ping \ name=ping_pc_set \ dampen=5s \
- ipmitool Server内から、IPMI IP確認
- ユーザの一覧確認 ===== <code> # ipmitool user list 1 ID Name Callin Link Auth IPMI Msg Channel... > ===== ユーザ名変更 ===== <code> # ipmitool user set name 2 admin # ipmitool user list 2 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 Admin
- 34 s3cmd
- you can't conect to S3 directly HTTP Proxy server name: New settings: Access Key: XXXXXXXXXXXXXXXXXX... g Use HTTPS protocol: False HTTP Proxy server name: HTTP Proxy server port: 0 Test access with s
- 43 reposync リポジトリコピー
- o id repo name ... る <code> # cat /etc/yum.repos.d/ceph.repo [Ceph] name=Ceph packages for $basearch baseurl=http://192.16
- 21 CentOS5でPacketix VPN Client
- ocal/vpnserver/*_log /usr/local/vpnclient/*_log -name '*.log' -mtime +30 -delete </code> <code> chmod
- 44 CentOS7 chronyd NTP
- e> # chronyc sources 210 Number of sources = 4 MS Name/IP address Stratum Poll Reach LastRx Last
- 56 PCS コマンド
- == ===== 状態確認 ===== <code> # pcs status Cluster name: pcs_cluster Last updated: Fri Mar 31 13:40:39 20
- 75 Proftpd
- /ftpasswd --passwd --file=/etc/proftpd.passwd \ --name ftp_user \ --uid=1000 --gid=1000 \ --home=/var/ww