[ntu csie] intro to windows lab
Post on 14-Jul-2015
204 Views
Preview:
TRANSCRIPT
系上信箱 – 介面
安全問題
[217] Webmail Service Change
From 217TA (217ta@csie.ntu.edu.tw)
There are some security issue in our old webmail
(Horde). Therefore we will replaced it with different
system: RoundCube.
Horde will be off in a month.
不要Horde,直接用RoundCube
系上信箱 – 使用
網址
http://webmail.csie.ntu.edu.tw/roundcube/
http://tinyurl.com/ntucsiemail
登入
工作站帳號密碼
FileZilla 簡介
網址
http://filezilla-project.org/
特色
免費
中文介面
操作容易
FileZilla 使用
站台管理員
新增站台
主機:bsd*.csie.org(*: 1~6)/linux*.csie.org(*: 1~15)
伺服器種類:SFTP – SSH File Transfer Protocol
登入型式:一般
輸入工作站帳號密碼
個人網頁
放置在家目錄下的htdocs資料夾
http://w.csie.org/~b00902xxx/
可以從網路上下載此資料夾內的檔案
.mp3和.wma無法開啟,但壓縮後上傳就可以
個人網頁
Example: index.htm
<html>
<head><title>第一次上傳的網頁</title></head>
<body>
<font color=red>大家好~我是B99902067~</font>
</body>
</html>
臺大個人網頁空間
臺大的每個學生也有一個個人網頁空間,大小是300MB。
如何連線
主機:homepage.ntu.edu.tw
伺服器種類:FTPES(透過外顯式TLS/SSL的FTP)
登入型式:一般
輸入計中帳號密碼
臺大個人網頁空間
個人網頁放在public_html資料夾
http://homepage.ntu.edu.tw/~b00902xxx
工作站維修時可以用它存放資料
Dev-C++ 4.9.9.2 的問題
自從2005年後就不再更新的Dev-C++,主要有這些問題:
編譯器過時
程式錯誤多
功能不完整
詳細說明在
http://www.cplusplus.com/forum/articles/36896/
解決方案
1) Dev-C++的非官方更新
2) Visual C++ Express
3) Eclipse
4) NetBeans
5) Code::Blocks
Code::Blocks 簡介
官方網站:http://www.codeblocks.org/
特色:
跨平台(Windows/Linux/Mac)
持續更新中
不用為了讓程式暫停而寫system("pause");
或scanf(" "); 等程式碼。
設定環境變數:Path
為了讓我們能夠在cmd內方便的編譯程式,我們在環境變數的Path加入gcc和g++編譯器的位置。
C:\Program Files\CodeBlocks\MinGW\bin
或 C:\Dev-Cpp\bin
常用指令 – 檔案操作
[volume] 切換工作磁碟
cd 改變工作路徑
dir 列出檔案和資料夾
mkdir 新增資料夾
rmdir 刪除空資料夾
ren 重新命名
move 移動
copy 複製
del 刪除
常用指令
文字處理
echo 印出文字
more 印出文字檔內容
其他指令
cls 清除螢幕
exit 結束cmd
特殊按鍵
Tab 檔名自動補完
Ctrl+z 檔案結尾(EOF)
Ctrl+c 中止程式
資料流重導向功能
< 以檔案代替手動輸入
example: sample.exe < text.txt
> 以檔案代替螢幕輸出(覆蓋原檔案內容)
example: sample.exe > out.txt
>> 以檔案代替螢幕輸出(附加在原檔案後面)
example: sample.exe 2>> err.txt
資料流重導向功能
2>&1 將stderr併進stdout輸出
sample.exe > out.txt 2>&1
1>&2 將stdout併進stderr輸出
sample.exe 2> err.txt 1>&2
在Windows中兩者結果相同,stderr的結果會接在stdout後面。
列印餘額查詢
204/219 – 每學期重設至500張
https://pclab.csie.org:9192/
217 – 每學期重設至500張
http://wslab.csie.ntu.edu.tw/mgt_printer.shtml
教室網頁
PC Lab R204/R219
http://www.csie.ntu.edu.tw/~204ta/
Workstation R217
http://www.csie.ntu.edu.tw/~wslab/
top related