備份Appserv mysql 在 cmd 的方法

在windows裝appserv預設會裝在c:\AppServ\
cd c:\appserv\mysql\bin
mysqldump -uroot -p1234 database > backup.sql

-u帳號參數,後面不要空格加入root
-p密碼參數,後面不要空格加入密碼我設定為1234
Read more...

VirtualBox遠端連線介面伺服器 RemoteDisplayServer

在virtualbox 圖形介面中 選擇 細節->Display->Remote Display
Enable Server 打勾
預設
Server Port:3389
Authentication Method:空
Authentication Timeout:5000
確定

在想要連線的一端

如果是windows就在
開始->所有程式->附屬應用程式->遠端桌面連線
在 "電腦:" 輸入 主機IP(本體!而非虛擬的系統) 就可連線

如果是linux就輸入
$ rdesktop -a 16 -N xxx.xxx.xxx.xxx:3389
xxx.xxx.xxx.xxx為 主機IP(本體!而非虛擬的系統) 就可連線
Read more...

U-boot 載點

想玩embedded linux就趕快下載...
ftp://ftp.denx.de/pub/u-boot/
Read more...

解決惱人的WGA安裝


當每次開機看到這個畫面就覺得很煩...

解決辦法:
我的電腦->執行->輸入 "tasks"->選擇 WGAsetup 右鍵 內容

-> 將 "登入後才執行" 跟 "啟用(以排定的工作會在指定時間執行)" 打勾拿掉(不要打勾)

-> 套用 確定

這樣就解決了!!!


備註:
WGASetup C:\WINDOWS\Tasks
wgasetup.exe C:\WINDOWS\system32\KB905474


下載移除 每次開機都會出現的WGAsetup行程 點我下載DELWGAsetupSCHT.bat

DELWGAsetupSCHT.bat
schtasks /Delete /TN WGASetup /F

Read more...

note: httpd web server 網頁伺服器 架建筆記

讓他總是開啟服務

檢查httpd 預設狀態
#chkconfig --list httpd
httpd 0:關閉 1:關閉 2:關閉 3:關閉 4:關閉 5:關閉 6:關閉


開啟 run level 3(多人文字模式) 5(多人圖形模式)
# chkconfig --level 35 httpd on
# chkconfig --list httpd
httpd 0:關閉 1:關閉 2:關閉 3:開啟 4:關閉 5:開啟 6:關閉


即時啟動 httpd 服務
# /etc/init.d/httpd start
正在啟動 httpd: [ 確定 ]

檢查...
利用瀏覽器在網址列輸入:"http://localhost"如果是下列圖示...

表示ok了
Read more...

VirtualBox 分享資料夾

這很常用!!!
如果想要host 想要分享的資料為 vbox 則...

虛擬端 Windows
net use x: \\vboxsvr\vbox

虛擬端 Linux
sudo mkdir /media/vbox
sudo mount -t vboxsf vbox /media/vbox

Read more...

Powered by Blogger