2014年2月22日 星期六

Windows 7 無法更新

Windows Update 目前無法檢查更新,因為該服務尚未執行,您可能需要重新檢查電腦。

將SoftwareDistribution目錄刪除,系統會自動重建這個目錄。

目錄的位置C:\Windows\SoftwareDistribution\

2013年7月17日 星期三

2013年6月21日 星期五

筆電開機選單

Fujitsu Recovery Key

開機時按F12
選 Application Menu
選 Recovery and Utility


HP ENVY 15 Recovery Key

開機時按F11

HP ENVY 15 BIOS

開機時按F10

2013年6月12日 星期三

Windows 8 手動安裝語言包

在Windows中,按下 [ WIN ] + [ R ] 鍵

啟動[執行]視窗,輸入 [ lpksteup ]

 啟動 [ 安裝或解除安裝顯示語言 ] 視窗

選擇 [ 安裝顯示語言 ]

選擇語言包放置的位置

執行安裝

2013年5月3日 星期五

Firefox 更改搜尋引擎

先在 Firefox 網址列上,輸入

about:config

請在篩選器那一欄,輸入 

keyword.URL

請操作如圖,輸入

http://www.google.com.tw/search?complete=1&hl=zh-TW&q 

完成

2013年1月30日 星期三

Monitorix 安裝


apt-get update
apt-get install monitorix

service apache2 reload
      
service monitorix restart
      
http://localhost/monitorix/

2013年1月25日 星期五

ubuntu設定IP


設定IP
/etc/network/interfaces

auto eth0 
iface eth0 inet static
address  192.168.10.10
netmask  255.255.255.0
gateway  192.168.10.1

設定DNS
/etc/resolv.conf

nameserver 192.168.10.1

重新啟動網路
/etc/init.d/networking restart

2013年1月24日 星期四

ubuntu更改主機名稱


/etc/hostname                         主要設定檔

/etc/hosts                                系統服務對應用

hostname -F /etc/hostname    重新啟用

hostname                                查詢主機名稱

2012年12月2日 星期日

Mandriva 安裝 f77

Mandriva 2010.2_x86_64 安裝 f77

urpmi -a gcc

urpmi -a make

urpmi -a csh

將下列內容儲存成install_f2c_linux.csh安裝檔

#! /bin/csh
setenv INSTALL /usr/local
curl "http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c" -o "f2c.tar"
tar -xvf f2c.tar
gunzip -rf f2c/*
cd f2c
mkdir libf2c
mv libf2c.zip libf2c
cd libf2c
unzip libf2c.zip
cp makefile.u Makefile
make
cp f2c.h $INSTALL/include
cp libf2c.a $INSTALL/lib
cd ../src
cp makefile.u Makefile
make
cp f2c $INSTALL/bin
cd ..
mkdir -p $INSTALL/man/man1
cp f2c.1t $INSTALL/man/man1
cp fc $INSTALL/bin/f77
chmod +x $INSTALL/bin/f77
cd ..
rm -rf f2c
echo "==================SUMMARY=================="
echo $0 " has built and installed:"
find $INSTALL -name '*f2c*' -mmin -5
find $INSTALL -name '*f77*' -mmin -5

行安裝檔

chmod +x install_f2c_linux.csh
 
./install_f2c_linux.csh

測試是否安裝成功
將下列內容儲存成hello.f程式檔



program hello
print *,'Hello World!'
end program

執行程式
 
f77 -o hello hello.f

./hello


2012年11月21日 星期三

Windows 7製作能安裝的USB隨身碟

命令提示字元


diskpart

list disk                            #列出電腦所有的實體磁碟#

select disk {n}                 # n是隨身碟的磁碟編號#

clean                               #清理隨身碟,不會有任何分割區#

create partition primary   #在隨身碟建立主分割區#

select partition 1             #選取隨身碟唯一的分割區#

active                             #將分割區設為使用中,變成可以開機的分割區#

format fs=fat32 quick     #以快速模式格式化成FAT32檔案系統#

assign                            #磁碟代號指定給在隨身碟建立、格式化過的分割區#

exit                                #結束diskpart#

Windows 7光碟boot資料夾

bootsect /nt60 {drive letter:}

---------------------------------------------------------------------------------------

簡單的作法

Windows 7

命令提示字元

NTFS:format {drive letter:} /q /fs:ntfs


Windows XP

命令提示字元

format {drive letter:} /fs:fat32 /q

convert {drive letter:} /fs:ntfs

bootsect /nt60 {drive letter:}

[bootsect:在Windows 7安裝光碟boot資料夾中]