Categories AWS

Adding Https to Spring Boot-Angular App

1. Build the app. I have articles writing about how to create a spring boot and angular app all in one. 2. Transfer the jar file to the vps: 3. Run the app (at best run in the background): 4. Configure Auto-Starting (i will go into details later):…

Read More
Categories AWS

[AWS] Create a static website with a registered domain

Lưu ý: truy cập vào subdomain vẫn qua http nên không an toàn, không truy cập với / (segments) được. Để sửa lỗi này có 2 cách: Điền index.html vào error.html hoạt động hiệu quả với angular mà không thấy lỗi. Thêm redirection rules: Chưa test. Related posts:…

Read More
Categories Linux

[Linux] Useful Commands in Shell [Vi]

Root user thường có #, normal user thường có $. Thông tin của user ở /etc/passwd Quit vim không lưu bằng :q!, lưu xong quit :wq Để search file theo một từ khóa: Grep cũng search được directory recursively: Có thể dùng printf để in ra formatted text:…

Read More
Categories Linux

[Linux] Useful Commands in Shell

To make bash script, create a file with extension .sh and add the code: to the file. Example: To run it: Note: Just enter FILE_NAME.sh is wrong. Related posts: [Linux] Useful Commands in Shell [Vi] [Linux] – Copy and paste in Vim

Read More