Categories AWS

Basic Knowledge about Apache Server

Để kiểm tra compile variables của apache server (ở đó có apache version, server document root,…): Để kiểm tra các modules được load: Để kiểm tra các virtual hosts: virtual host của wordpress có document root ở /opt/bitnami/wordpress. Có thể sửa source code ở đó hoặc ở trang…

Read More
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 AWS

[AWS Lightsail] – SSH to your instance

You can ssh to your instance with filezilla with this tutorials:Transfer files securely to Lightsail Linux instances with SFTP You can also connect to your instance using command prompt. Go into the directory where your private key file locates and enter this command to the window: Related posts:…

Read More
Categories AWS

[AWS CLI] – Basic Operations

Tải AWS CLI trên mạng về. Config nó với rootkey file, cái này bạn chỉ có thể có khi khởi tạo tài khoản lần đầu. Bạn có thể tạo lại nó ở trang chủ console, click vào tên tài khoản của bạn -> Security credentials. Bạn cũng có…

Read More