Professional Documents
Culture Documents
Ping
Ping
Ping
PING
Đổi địa chỉ IP
Windows 2008
Start Control Panel Network and Sharing Center View Status Properties Internet Protocol
Version 4 (TCP/IPv4) (Chọn) Use the following IP address Nhập IP Address: 192.168.1.xx (xx là
số máy) TAB Close
Windows XP
Start Control Panel Network and Internet Connections Network Connections Local Area
Connection Properties Internet Protocol (TCP/IP) (Chọn) Use the following IP address
Nhập IP Address: 192.168.1.1xx (xx là số máy) TAB OK Close
Tắt tường lửa
Windows 2008
Start Control Panel Windows Firewall Change Setting Off OK
Windows XP
Start Control Panel Network and Internet Connections Windows Firewall Off (not
recommended) OK
Ping
Windows 2008
Start Command Prompt Nhập: ping 192.168.1.1xx (xx là số máy)
Windows XP
Start Command Prompt Nhập: ping 192.168.1.xx (xx là số máy)
2. TELNET
Windows 2008
Start Server Manager Roles Add Roles Server Roles (Tick chọn) Terminal Services
Next Next (Tick chọn) Terminal Server Next Next (Cột trái) Authentication Method
Cancel Yes
Features Add Features (Chọn) Telnet Client và Telnet Server Next Install Close
Start (Gõ ở thanh tìm kiếm) Services (Nhấp chọn) Telnet (Ngay Startup Type) Automatic
Apply Start OK
Start Server Manager Configuration Local Users and Groups Users Administrator
Member Of Add… Advanced… Find now (Kéo xuống) Telnet Clients OK Apply
OK
Windows XP
Start Command Prompt Nhập: telnet 192.168.1.xx (xx là số máy) Nhập: y Nhập: login:
Administrator pass: 1 (pass không xuất hiện) Nhập: cd.. Nhập: cd.. Nhập: md vynk (vynk là
ví dụ tên thư mục muốn tạo) Thoát
3. DNS
Window 2008
Start Control Panel Network and Sharing Center View Status Properties Internet Protocol
Version 4 (TCP/IPv4) Preferred DNS server Nhập: 192.168.1.xx (xx là số máy) OK OK
Close
(Chuột phải) Windows 2008 Setting… Network Adapter Host-only
Start Server Manager Roles Add Roles Next DNS Server Next Next Install
Close
Windows XP
Start Control Panel Network and Internet Connections Network Connections Local Area
Connection Properties Internet Protocol (TCP/IP) Preferred DNS server Nhập: 192.168.1.xx (xx là
số máy) OK OK Close
Windows 2008
Start Administrative Tools DNS
(Chuột phải) Forward Lookup Zones New Zone… Next Next (Zone name) Nhập:
mangmaytinh.com (.com hoặc .net) Next Next (Nhấp chọn) Do not allow dynamic updates
Next Finish
(Chuột phải) Reserve Lookup Zones New Zone… Next (Nhấp chọn) Primary Zone (Nhấp
chọn) IPv4 Next (Nhấp chọn) Network ID Nhập: 192.168.1 Next Next (Nhấp chọn)
Do not allow dynamic updates Next Finish
Add Record
mangmaytinh.com (Khoảng trống Name | Type | Data) Chuột phải New Host (A or AAAA)…
Name (uses parent domain name if blank) Nhập: telnet IP address Nhập: 192.168.1.xx (xx là số
máy) Add Host OK
1.168..192.in-addr.arpa (Khoảng trống Name | Type | Data) Chuột phải New Pointer (PTR)…
Browse… S2K8G Forward Lo… telnet OK OK
(Chuột phải) S2K8G All Tasks Restart
Windows XP
Start Command Prompt Nhập: nslookup Nhập: telnet.mangmaytinh.com (ra IP Windows
2008 là đúng) Nhập: 192.168.1.27 (ra telnet.mangmaytinh.com là đúng)
(CÓ THỂ KIỂM TRA DNS CHẠY ĐƯỢC HAY KHÔNG BẰNG CÁCH PING LẠI IP VÀ TÊN
HOẶC TELNET IP VÀ TÊN)
4. FTP
Windows 2008
Start Server Manager Roles Add Roles Next Web Server Next Next FTP
Publishing Service Add Required Role Services Next Install
Computer Local Disk (C:) Tạo new folder (DATA)
Start Administrative Tools Internet Information Services (IIS) 6.0 Manager Xoá cái item trong
FTP Sites (Chuột phải) FTP Sites New FTP Site… Next Description ghi gì cũng được
Next (Enter the IP address to use for this FTP site) 192.168.1.xx (xx là số máy) Next Next
Browse… Local Disk (C:) DATA OK Next (Nhấp chọn) Read, Write Next Finish
(Chuột phải) Item mới tạo trong FTP Site Start
Computer Local Disk (C:) DATA Tạo new folder (Dulieu1) Tạo new folder
Windows XP
Internet Explorer (Address) Nhập: ftp://192.168.1.xx (Kiểm tra có file đã tạo thì là đúng)
5. NTFs
Windows 2008
DATA Tạo new folder (DuLieuChung) (Chuột phải) nền trắng New Contact New Text
Document New Bitmap Image
DATA Tạo new folder (DATA1 + DATA2)
Start Server Manager Configuration Local Users and Groups User (Kiểm tra xem đủ user 1
+ user 2 không, nếu không thì tạo mới với full name là user 1 và user 2)
Cấp quyền cho DATA 1
(Chuột phải) DATA 1 Properties Security Advanced Edit… SYSTEM (Copy lại) Xoá
hết trừ Administrator (…) Add… Nhập: user 1 (ở vị trí Enter the object name…) OK Tick
allow hết OK Apply OK
(Chuột phải) DATA 2 Properties Security Advanced Edit… SYSTEM (Copy lại) Xoá
hết trừ Administrator (…) Add… Nhập: user 2 (ở vị trí Enter the object name…) OK Tick
allow hết OK Apply OK
DATA Properties Security Advanced Copy CREATOR OWNER Xoá hết để lại Users và
Administrator Xoá quyền Create File, Folder OK
Windows XP
Internet Explorer Nhập: ftp://192.168.1.xx Enter File Log On As… Nhập user name và
password 123 sẽ truy cập được data1, data 2 tương tự.
6. WEB SERVER
Windows 2008
Start Server Manager Roles Add Roles Next (Tick) Web Server (IIS) Next Add
Required Features Next (Tick) FTP Publishing… Next Install Close
Start Administrative Tools Internet Information Services (IIS) Manager Xoá Default Web Site
của Sites Lên google gõ tìm (html hoặc w3school.com/html/) rồi copy đoạn code đó
Local Disk (C:) Tạo một thư mục để chứa source code đặt tên SourceWeb Vô trong tạo Text
Document Bỏ đoạn code vừa copy vô đổi tiêu đề, page title, nọi dung file save as
encoding: unicode save as type: all files file name: index.html or default.html
Start Administrative Tools Internet Information Services (IIS) Manager (Chuột phải) Sites
Add Web Site… Site name: Website 1 (Đặt gì cũng được) Physical Path: (ô vuông 3 chấm) chỉ dô
cái file soure web ở C:, chứa cái source web (index) IP address: 192.168.1.xx Port 80 host
name (không ghi gì) OK
Start Administrative Tools Internet Information Services (IIS) Manager Sites Website 1
(Chuột phải) Manage Web Site Browse…
Windows XP
Internet Explorer Nhập: http://192.168.1.xx (nếu muốn truy cập www.mangmaytinh.com thì phải vô
DNS và new host (A or AAAA) với Name www
Chuyển đổi web 1 và web 2
Local Disk (C:) Tạo một thư mục để chứa source code đặt tên SourceWeb Vô trong tạo Text
Document Bỏ đoạn code vừa copy vô đổi tiêu đề, page title, nọi dung file save as
encoding: unicode save as type: all files file name: index.html or default.html
Start Administrative Tools Internet Information Services (IIS) Manager (Chuột phải) Sites
Add Web Site… Site name: Website 1 (Đặt gì cũng được) Physical Path: (ô vuông 3 chấm) chỉ dô
cái file soure web ở C:, chứa cái source web (index) IP address: 192.168.1.xx Port (bao nhiêu đề
yêu cầu) host name (không ghi gì) OK
Rồi qua XP truy cập: http://www.mangmaytinh.com.số port
7. SHARE MÁY THẬT ẢO ĐỂ LÀM MAIL SERVER
8. MAIL SERVER
* Cài đặt Mail
- Cài đặt phần mềm MDremon
- Tạo user Test gửi mail user 1 và user (để gửi qua lại)
- Tạo rules
Vào máy thật
Bởi vì file phần mềm mail đang ở máy thật nên chúng ta phải copy từ máy thật sang máy ảo bằng cách share
file
Sau khi xong thì vào Windows 2008 (chuột phải vào file phần mềm trong ổ C: )
Next Next Đường dẫn mail thì đặt ở đâu cũng được Next Next Next Domain Name: (thầy
yêu cầu gì thì đặt đó, không đặt tên bản thân) VD: computing.com
Next Full name: Người Quản Trị (tài khoản đầu tiên là của Admin) Mailbox: Admin Pass: 123456
(Tick) This account is an administrator…. Next Primary DNS là gì thì nhập vào: 192.168.1.xx
Sau khi cài xong Start Finish
Cách mở Mdreamon
Start All Programs Mdreamon Start Mdreamon OK
Nó hiện lên giao diện Mdreamon
B1: Tạo mail và gửi
Vào account (thanh trên cùng) Account Manager Tạo mail mới chọn new First và last name (đặt tên
VD: user mot) tài khoản Email Address: user1 Email Password (Phải có chữ hoa và số) VD: ABC123
OK
Tạo user 2 tương tự user 1
- Windows XP
B1: Vào Internet Explorer truy cập http://192.168.1.xx.3000 để vào web mail
B2: Nhập user name, password enter yes hiện giao diện
B3: Gửi mail cho user 2 Bấm dô new to user2@computing.com subject: test mail u1 qua u2
gõ nội dung mail send now send items coi có cái mail vừa gửi chưa
- Windows 2008
B1: Vào Internet Explorer truy cập http://192.168.1.xx (nó hiện cái bảng ask me later OK) : 3000
B2: Nó hiện lên bảng Internet Explorer Add Add Close
B3: Nhập email address, password của user 2
B4: Coi có mail user 1 gửi chưa trong inbox
B5: Double click vào mail user 1 gởi chọn reply
B6: qua XP kiểm tra nếu chưa thấy thì bấm dô retry
Tạo rules trong mail (quảng cáo – chặn không nhận, đuôi exe…, chơi game admin)
B1: Vào security (thanh trên cùng) Chọn content filter Trong đó có 2 cái rule mặc định (Message,
IFRAME,…) delete nó delete rule Yes
B2: Chọn new rule
Nếu header có chứa 1 từ nào đó sẽ đưa vào bad queue
(tick) If the SUBJECT HEADER contains (tick) move the message to ad massage queue Click vào
contains specific strings
VD: có chữ đi chơi hay chơi game
Check for this string : đi chơi add
Chơi game add
Thì nó sẽ hiện ở bảng bên dưới: If the SUBJECT HEADER contains
9. NAT
Server Manager Roles Add roles Next Next Chọn Network Policy and Access Services
Next Next Chọn Routing and Remote Access… Next Install Close
Start Administrative tools Chọn Routing and Remote Access (Chuột phải) S2K8G (local)
Configure and Enable Routing and Remote Access Next Custom configuration Next (Tick)
NAT Next Finish Start Service
Sau khi start (+) IPv4 NAT (Chuột phải) NAT New Interface
Note: Trong interface có 3 card mạng: Internal, Internet, LAN (chỉ quan tâm 2 này)
Chọn Internet OK Public interface connected (tick) Enable NAT on this interface…
Apply OK
(+) IPv4 NAT (Chuột phải) NAT New Interface Chọn LAN OK Public interface
connected (tick) Enable NAT on this interface… Apply OK
KHÚC NÀY KÉ DÔ CHO ĐỠ TỐN GIẤY THÔI NÀO KHÔNG LIÊN QUAN MAIL SERVER