*** 1 - CMLab

Report
工作站使用介紹
黃子桓
CMLAB 工作站
• UNIX
– Linux
– FreeBSD
– Manager: 冠龍
([email protected])
• Windows
– Windows server 2003
– Manager: 逸安([email protected])
UNIX workstation
UNIX account
https://www.cmlab.csie.ntu.edu.tw/account
•
•
•
•
Email
SSH
Web service
…
Email
• Webmail:
– https://cmlmail.csie.ntu.edu.tw
• SMTP/POP3S/IMAPS:
– cmlmail.csie.ntu.edu.tw
– smtp: 25 or 465
– pop3s: 993
– imaps: 995
• Mail forwarding
SSH service
• SSH client (putty, pietty, …)
• File transfer
– SFTP (filezilla, …)
– SCP (winscp, …)
• cml{3-19}.csie.ntu.edu.tw
https://www.cmlab.csie.ntu.edu.tw/status
File system
• $HOME, /svn, /project
– NFS for all servers
• /tmp
– Temporary directory
– Auto-clean when rebooting
• /tmp2
– Temporary directory
– Permanent
Workstations rules (1/3)
• cml5 (linux), cml6 (FreeBSD)
– Daily use only
– 收發email, editing, …
– 禁止跑大程式
Workstations rules (2/3)
• /tmp2: heavy I/O
• Renice your process
– nice –n your-program
– N is the number of processes/threads
– Ex: 在 cml15 跑了 10 隻 test
• nice -10 test
Workstations rules (3/3)
• Do not use more than 50% memory
– Ex: cml3 有 16G memory
– 程式會用到 4G memory
– 最多只能同時跑兩個程式
http://www.cmlab.csie.ntu.edu.tw/netad
m/doku.php?id=workstation:rule
Web service
• $HOME/public-html
– ssh + editor
– scp/sftp
• Index file:
–
–
–
–
–
–
Index.html
index.cgi
index.pl
index.php
index.xhtml
index.htm
Subversion/git/…
• /svn
– Shared projects
• $HOME/
– Personal projects
Windows remote desktop and
VNC connection
• Private IP in cmlab:
– 192.168.0.* and 192.168.1.*
– Query your IP: cml0.csie.ntu.edu.tw
• Remote desktop:
– cml0.csie.ntu.edu.tw:2%d%03d
– Ex1: 192.168.0.160: 20160
– Ex2: 192.168.1.89: 21089
• VNC:
– cml0.csie.ntu.edu.tw:3%d%03d
Other resources
• 217 (CSIE workstation lab)
– http://wslab.csie.ntu.edu.tw
– linux{1-15}.csie.ntu.edu.tw
– bsd{1-6}.csie.ntu.edu.tw
• NTU CC
– http://grid.ntu.edu.tw/
– High performance computing/grid computing
Windows workstation
Windows workstation
• fortune.csie.ntu.edu.tw
• cmlmm.csie.ntu.edu.tw
•
•
•
•
Active directory service
SMB/CIFS service
FTP service
Printing service
Domain controller
• Hostname: cml%03d-ID
– Ex: cml503-tzhuan
• Join cmlab’s domain (optional)
– Domain: cmlab.csie.ntu.edu.tw
– Account: pcroot
Windows XP
Windows XP
Windows 7
Windows 7
Windows 7
Windows 7
Printing service
• \\cmlmm\
– HP [email protected]
– HP [email protected]
– HP [email protected]
– EPSON [email protected] (color)
– HP [email protected] (color, phd only)
We need you!
• UNIX manager
• PC manager

similar documents