Archive for 5月 2016 CentOS openldap CentOS 6.4下安裝 OpenLDAP服務 tomy 5月 11, 2016 Leave a Reply Step1. 安裝openldap相關套件 [root@ldap ~]# yum install -y openldap-devel openldap-servers openldap openldap-clients 套件安裝完之後 其設定檔會在 /etc/openldap 指令類的會存放在 /usr/sbin/ 存放 bdb 記錄資料在 /var/lib/ldap Continue Reading
Archive for 5月 2016 CentOS hostname CentOS7 下修改 hostname的方法 tomy 5月 06, 2016 Leave a Reply 在CentOS7下,hostnamectl指令可以用來設定主機名稱, 除此外還能顯示一些系統相關資訊... Continue Reading
Archive for 5月 2016 text mode Ubuntu 讓 Ubuntu開機後進入文字模式 tomy 5月 05, 2016 Leave a Reply 這個簡單的教學將會展示如何讓你的 Ubuntu系統開機時直接進入文字模式This simple tutorial will show you how to boot your Ubuntu system (14.04 or 13.10) directly into command line (text mode or console). Continue Reading
Archive for 5月 2016 CentOS ethernet 網卡由em改回eth的兩種方法 for CentOS6 tomy 5月 05, 2016 Leave a Reply 由於客戶軟體寫死網卡名稱為通俗的ethX,卻不巧安裝在DELL的伺服器上,一般來說都會自動被Linux系統辨識為emX的device name,因此需要動些手腳處理... Continue Reading
Archive for 5月 2016 Database mysql MySQL 資料庫備份及還原 tomy 5月 04, 2016 Leave a Reply MySQL 的備份可以透過直接複製 MySQL 資料庫目錄(冷備份),或者用 mysqldump 匯出資料庫的完整 SQL 語句實現(熱備份),以下是兩種方法的優/缺點,以及實現方法: Continue Reading
Archive for 5月 2016 monitoring 用 smartmontools工具檢查 DELL 伺服器的磁碟狀態 tomy 5月 04, 2016 Leave a Reply 依照不同 RAID Controller 分別以不同參數檢查其掛載硬碟的個別狀態: Continue Reading
Archive for 5月 2016 Google Blogger javascript Blogger 新增回到最上層功能 tomy 5月 04, 2016 Leave a Reply 最近有一個瀏覽網頁的習慣,當頁面捲到下方時,會搜索頁面中的「回到頂端」按鈕。其實越來越多網站會加入這個功能,例如T客邦...等大型的資訊網站...等。這些網站的瀏覽經驗讓我養成了按「回到頂端」的習慣,也許也有人發現了自己不小心養成了這個習慣... Continue Reading
Archive for 5月 2016 AWS resize2fs AWS EC2 disk resize2fs 操作實例 tomy 5月 03, 2016 Leave a Reply 在申請aws ec2時,按照導引,在選擇存儲的時候默認硬碟大小是 8 GB,這時候可以根據自己的需要輸入一個合適的數字,例如100。完成導引並啟動ec2 instance 後登錄機器。使用命令: df -hT Continue Reading
Archive for 5月 2016 dns DNS生效檢查 tomy 5月 03, 2016 Leave a Reply 從五大洲、30個節點查看全球DNS伺服器對域名的更新狀況。 點擊連結前往查看 whatsmydns Continue Reading