Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   OpenStack (http://quantrinet.com/forum/forumdisplay.php?f=540)
-   -   Hướng dẫn sử dụng openstack cho người dùng cuối (http://quantrinet.com/forum/showthread.php?t=9961)

hoctinhoc 22-12-2015 01:54 PM

Hướng dẫn sử dụng openstack cho người dùng cuối
 
Hướng dẫn sử dụng openstack cho người dùng cuối


Vui lòng đọc kỹ hướng dẩn sử dụng trước khi sử dụng

https://phongdl.uit.edu.vn/images/hu...k/image001.png
https://phongdl.uit.edu.vn/images/hu...k/image002.png

Để tạo máy ảo linux (ubuntu, centos) vui lòng đọc mục 1, mục 2, mục 4
Để tạo máy ảo windows vui lòng đọc mục 3, mục 4

Tạo network
Chọn project -> network -> networks -> create network
https://phongdl.uit.edu.vn/images/hu.../Untitled1.pnghttps://phongdl.uit.edu.vn/images/hu.../Untitled2.png
https://phongdl.uit.edu.vn/images/hu.../Untitled3.png
Tạo router
Chọn project -> network -> routers -> create router
https://phongdl.uit.edu.vn/images/hu.../Untitled4.png
Tạo interface cho router
Click chọn router1 vừa tạo ở bước trên -> add interface
https://phongdl.uit.edu.vn/images/hu.../Untitled5.png
Set gateway
https://phongdl.uit.edu.vn/images/hu.../Untitled6.png
1/ Tạo keypairs

Chọn “Access & Security” -> chọn tab “keypairs
https://phongdl.uit.edu.vn/images/hu...k/image003.png

Chọn “Create Keypair”, nhập tên như ví dụ sau:
https://phongdl.uit.edu.vn/images/hu...k/image004.png
https://phongdl.uit.edu.vn/images/hu...k/image005.png

2/ Tạo máy ảo (instance) CentOS hoặc Ubuntu:
2.1/ Tạo máy ảo

Chọn project -> images & snapshots -> chọn image -> chọn “launch” ở đây tôi chọn Centos 6
https://phongdl.uit.edu.vn/images/hu...k/image006.png

Đặt tên cho máy ảo, chọn cấu hình cho máy ảo, chọn launch
https://phongdl.uit.edu.vn/images/hu...k/image007.png
https://phongdl.uit.edu.vn/images/hu...k/image008.png

2.2/ Mở firewall cho máy ảo

Mở port 22 cho máy ảo
Chọn Access & security -> chọn mục “Add rules
https://phongdl.uit.edu.vn/images/hu...k/image009.png

Tạo rule cho phép bên ngoài truy cập vào máy ảo bằng port 22
https://phongdl.uit.edu.vn/images/hu...k/image010.png

Tạo rule cho phép bên ngoài ping máy ảo
https://phongdl.uit.edu.vn/images/hu...k/image011.png
https://phongdl.uit.edu.vn/images/hu...k/image012.png

2.3/ Truy cập vào máy ảo linux

Đối với hệ điều hành Ubuntu, CentOS thì khi đăng nhập vào máy ảo sẽ không sử dụng username và password mà thay vào đó là sử dụng keypair (xem cách tạo keypair ở mục 1 )
Sử dụng phần mềm putty để truy cập vào máy ảo (vào trang http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html download các phần mềm sau: pytty.exe và puttygen.exe)
https://phongdl.uit.edu.vn/images/hu...k/image013.png

Keypair của openstack phát sinh có định dạng .pem, ta cần phải chuyển sang định dạng .ppk của putty
Chạy chương trình puttygen.exe, xuất hiện màn hình sau:
Chọn “Load” -> chọn tập tin user1.pem
https://phongdl.uit.edu.vn/images/hu...k/image014.png

https://phongdl.uit.edu.vn/images/hu...k/image015.png

Nhập passphrase để bảo vệ keys
Chọn mục"Save private key" để lưu thành định dạng *.ppk
https://phongdl.uit.edu.vn/images/hu...k/image016.png
https://phongdl.uit.edu.vn/images/hu...k/image017.png

Chạy chương trình putty.exe, Nhập địa chỉ IP của máy cần truy cập
https://phongdl.uit.edu.vn/images/hu...k/image018.png

Chọn “SSH” -> “Auth” -> “Browse…”, chọn tập tin “user1.ppk
https://phongdl.uit.edu.vn/images/hu...k/image019.png
https://phongdl.uit.edu.vn/images/hu...k/image020.png
https://phongdl.uit.edu.vn/images/hu...k/image021.png

Nhập tài khoản đăng nhập, nhập passphrase
Lưu ý: đối với máy ảo CentOS thì tài khoản đăng nhập là “centos”, đối với máy ảo Ubuntu thì tài khoản đăng nhập là “ubuntu
https://phongdl.uit.edu.vn/images/hu...k/image022.png

3/ Tạo máy ảo windows
3.1/ Tạo máy ảo

Chọn images -> Chọn dòng win2012-> chọn “launch
https://phongdl.uit.edu.vn/images/hu...k/image023.png
https://phongdl.uit.edu.vn/images/hu...k/image024.png

Chọn máy ảo windows -> chọn mũi tên xuống -> chọn “console
Vì đây là lần đăng nhập đầu tiên, nên ta cần đặt password cho tài khoản “administrator
https://phongdl.uit.edu.vn/images/hu...k/image025.png
https://phongdl.uit.edu.vn/images/hu...k/image026.png

3.2/ Mở firewall cho máy ảo Windows

Để truy cập vào máy ảo windows từ xa ta cần phải mở port 3389 cho máy ảo windows
Chọn Access & security -> chọn mục “Manage rules
Tạo rule cho phép bên ngoài truy cập vào máy ảo bằng port 3389 -> Chọn “Add rules
https://phongdl.uit.edu.vn/images/hu...k/image027.png
https://phongdl.uit.edu.vn/images/hu...k/image028.png

3.3/ Truy cập vào máy ảo windows
https://phongdl.uit.edu.vn/images/hu...k/image029.png
https://phongdl.uit.edu.vn/images/hu...k/image030.png




Theo: uit.edu.vn


:battay:


Bây giờ là 05:02 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.