
mysqldump 在備份資料庫時預設不會把 trigger 也備份出來
如果要備份的話
利用下面語法
mysqldump -h servername -u root -pxxxx --no-data --routines --triggers --all-databases > mydb-schema.sql
helloworld 發表在
痞客邦
留言(0)
人氣()

# vi /usr/local/etc/apache24/httpd.conf
找到 ServerTokens 關鍵字
如果沒有的話,自己加一行
ServerTokens 有以下幾個選項,如果不願意暴露太多資訊,建議設定成 Prod
helloworld 發表在
痞客邦
留言(0)
人氣()

升級thunderbird 版本後
可能會遇到無法收發信件的狀況
出現類似以下的錯誤訊息
訊息傳送失敗。
對方使用不支援的安全通訊協定版本。
必須修正與 xxx.xxx.xxx.xxx 相關的設定。
helloworld 發表在
痞客邦
留言(0)
人氣()

以下情境為單機模式
port: tcp/27017
資料庫路徑: /var/lib/mongodb
1. 在shell 啟動一個mongod 服務
# mongod --port 27017 --dbpath /var/lib/mongodb
helloworld 發表在
痞客邦
留言(0)
人氣()

example:
# pecl install mongodb
出現以下錯誤訊息
Connection to `ssl://pecl.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)
helloworld 發表在
痞客邦
留言(0)
人氣()

如果出現以下錯誤訊息
# mount /dev/sdc1 /mnt/usb/ mount: unknown filesystem type 'exfat' |
helloworld 發表在
痞客邦
留言(0)
人氣()

更新 cisco catalyst switch IOS
1. 將ios 檔案放在 tftp server
helloworld 發表在
痞客邦
留言(0)
人氣()

以下作法適用於已知的enable 密碼或是尚未設定enable 密碼
sw01#
write eraseErasing the nvram filesystem will remove all configuration files! Continue? [confirm]y[OK]
Erase of nvram: complete
helloworld 發表在
痞客邦
留言(0)
人氣()

不是家用的網路設備或是儲存設備多半都會提供console 介面供初始化設定
或是故障排除的時候使用
目前市面上幾乎找不到有rs232 介面的電腦了
所以首先必須買一條usb to rs232 轉接頭,如下
helloworld 發表在
痞客邦
留言(0)
人氣()

除了三倍券還有農遊券、藝FUN券、動滋券可以抽喔
相關資訊請參考以下連結
helloworld 發表在
痞客邦
留言(0)
人氣()

發現 netgear r7800 預設的韌體沒有 snmp 功能
所以無法遠端監控流量
一個路由器沒有 snmp 總覺得哪邊怪怪的
爬了一下網路上建議的方法是重新安裝 DD-WRT
helloworld 發表在
痞客邦
留言(0)
人氣()

https://im.qq.com/linuxqq/
雖然還是 beta 版本,今年的四月有最新的更新也算是有誠意了
helloworld 發表在
痞客邦
留言(0)
人氣()