- Mar 13 Mon 2017 09:55
Windows 7 異機 還原 安裝 新機
- Dec 29 Thu 2016 11:33
Excel 為何部分儲存格內的資料無法印出 預覽列印 空白
- Dec 29 Thu 2016 10:12
word excle 您嘗試執行的函數中包含巨集, 或是需要巨集語言支援的內容
在windows 7裝了office 2010 或 2007 後,每次在 中打開文件,就會出現這樣的訊息
"您嘗試執行的函數中包含巨集, 或是需要巨集語言支援的內容。您(或是您的管理員)在安裝此軟體時,選擇了不要安裝巨集或控制項的支援"
而且不是只出現一次,而是開一個文件,即使按了"確定"後還會一直出現,有時按了十幾下這個訊息才會消失.有時甚至就當機
- Dec 22 Thu 2016 09:43
設定 mysql 只保留 1 天前的 log
只保留 1天前的 mysql log
Linux 預設 mysql 的 binary log 檔會保留10天 ( /var/log/mysql/mysql-bin.xxxxxx ),
當硬碟空間(/var分割區)不是很大且mysql的資料量又多時,常常因為保留太多的 binary log 而造成空間不夠
解法如下:
- Dec 22 Thu 2016 09:28
定期刪除 七天前 mysql 超佔空間的 binary log
定期刪除
mysql binary log
在crontab 裡面加上
0 1 * * * `mysql -uroot -e 'PURGE MASTER LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 7 DAY);'`
- Dec 19 Mon 2016 16:07
linux 清除 root var 及 log 資料
用df -h 查目前硬碟使用情況,尚未處理前是卡在 var 與 home這兩個目錄的Use%都達到 90%
var是影響的關鍵,因為資料庫與記錄檔都放在這目錄,每個目錄下用du -sh * 指令一個一個去看,以下是已經處理過的..未處理前,除了log過大外,發現mail也是大的離譜..
- Dec 19 Mon 2016 11:58
利用 ghost 將 GHO 與 VMDK 互相轉換
- Dec 08 Thu 2016 16:27
linux 服務自動啟動功能 rc.local
setup 、rc.local 和chkconfig三種方式都可以設置
第一種)
輸入#setup指令進入系統服務功能表,選擇你想啟動的服務比如HTTPd,然後重起機器或者 /etc/rc.d./init.d/HTTPd start
- Dec 08 Thu 2016 16:19
windows 2012r2 nfs server
Install NFS File Services
- Launch Server Manager.
- On the top menu, click Manage.
- Click Add Roles and Features.
- On the Before you begin screen, click Next.
- On the Select installation type screen, ensure Role-based or feature-based installation is selected, and then click Next.
- On the Server selection screen, click Next.
- On the Select server roles screen, expand File and Storage Services, expand File and iSCSI Services, and then check Server for NFS.
- Click Next.
- If an Add features that are required for Server NFS dialog box appears, click Add Features.
- On the Select feature screen, click Next.
- Confirm the installation details, and then click Install.
Configure an NFS Share
- Launch File Explorer.
- Create a new directory for your NFS share.
- Right-click the directory and click Properties.
- Select the NFS Sharing tab.
- Under the NFS Sharing tab, click the Manage NFS Sharing… button
- Check the Share this folder check box.
- Dec 06 Tue 2016 14:27
vmware deploy vCenter Appliance network