firewall-cmd 筆記
不得不說 centos 7 讓我用得很痛苦 XD 原本是用 setup 就可以設定防火牆了. 現在預設是使用 firewall 當然可以用下列指令把它改回來 # systemctl disable firewalld # systemctl stop firewalld # yum install …
不得不說 centos 7 讓我用得很痛苦 XD 原本是用 setup 就可以設定防火牆了. 現在預設是使用 firewall 當然可以用下列指令把它改回來 # systemctl disable firewalld # systemctl stop firewalld # yum install …
下面的例子是 取代所有 php 檔案 內的 foo 更改為 bar # sed -i — ‘s/foo/bar/g’ *.php
ldap example : SSLRequireSSL AuthType Basic AuthName “internal area” AuthBasicProvider ldap AuthLDAPURL “ldaps://ldap.liho.tw ldap2.liho.tw/ou=people,dc=liho,dc=tw?uid” Require valid-user kerberos example : SSLRequireSSL AuthType Kerberos …
1. backup repository from old server # svnadmin dump /xxx/xxx/repository > repository_name.svn_dump 2. create a repository into new server svnadmin create /xxxx/xxxx/repository …