Thiết lập môi trường VPS

Thiết lập môi trường VPS

Những bước không thể thiếu sau khi tạo một VM mới trên VPS để sử dụng thuận tiện nhất có thể

Gỡ bỏ rào cản truy cập

Truy cập root: sudo -i

Thay đổi password root: passwd hoặc thay đổi password user: passwd <username>

Chi tiết: https://viblo.asia/p/tao-vps-free-tren-google-cloud-platform-6J3Zgd8glmB

Mở Port truy cập

Trường hợp không thể truy cập vào các Web UI của service

https://blog.toanquan.net/huong-dan-tao-vps-tu-google-cloud-de-chay-web-server/

Souce CIDR: 0.0.0.0/0

Lấy SSH keys

$ ssh-keygen -t rsa$ pbcopy < ~/.ssh/id_rsa.pub

Bật truy cập qua password

sudo nano /etc/ssh/sshd_config

To disable tunneled clear text passwords, change to no here!

PasswordAuthentication yes

Hướng dẫn cấu hình căn bản cho máy ảo Oracle Cloud sau khi thiết lập
Tiếp tục với loạt bài viết về Oracle Cloud Free Tier, bài viết này mình sẽ hướng dẫn cách cấu hình căn bản máy ảo chạy Ubuntu sau khi vừa thiết lập xong. Việc này nhằm giúp bạn kết nối và sử dụng máy…
You've successfully subscribed to Geek Playground
Great! Next, complete checkout for full access to Geek Playground
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.
Billing info update failed.