Monday, May 20, 2019

Docker for Developers (PHP)

Install composer and php, mysql Docker Compose Docker Compose is based on an older orchastration tool called ‘Fig2.’ The idea of Fig was to make it...

Docker

Writing a Docker Compose file A Docker Compose file defines everything about an application. The services, volumes, networks, and dependencies can all be defined in...

Continuous Delivery with Docker and Jenkins

Installing on Docker(Jenkins) We need to specify the first host_port parameter—the port under which Jenkins is visible outside of the container. The second parameter, host_volume, specifies the directory...

Note về Serverless với Csharp trên AWS

1) Dynamodb Data distribution: Partition: phần vùng SSD lưu trữ dữ liệu Partition Key: Khóa chính (primary key) dùng để xác định một item trong bảng. Có thể là...

Shell programming tutorial

Link: https://mug896.github.io/bash-shell/basics.html AWK Script: https://mug896.github.io/awk-script/

50 dòng lệnh Linux cần biết

Lệnh tar Tạo tar archive mới. $ tar cvf archive_name.tar dirname/ Xuất từ tar archive đã có. $ tar xvf archive_name.tar Xem tar archive đã có. $ tar tvf...

Copy MongoDB to S3

Sample project: https://www.codeproject.com/Articles/656093/Connecting-MongoDB-with-ASP-NET (Old mongo db driver) Visual Studio 2015 Install nuget: MongoDB.Driver 2.4.3 Configuration: Connection string: https://docs.mongodb.com/manual/reference/connection-string/   .net core   https://www.codeproject.com/Articles/1151842/Using-MongoDB-NET-Driver-with-NET-Core-WebAPI http://www.dotnetcurry.com/aspnet-mvc/1267/using-mongodb-nosql-database-with-aspnet-webapi-core Mixing Static and Dynamic Data http://mongodb.github.io/mongo-csharp-driver/2.4/examples/mixing_static_and_dynamic/   TUTORIAL http://edubanq.com/database/mongodb-database/mongodb-from-c-with-the-net-driver-2-0/

Simple Git Workflow For Continuous Delivery

https://gist.github.com/leesmith/8441773

Cài đặt Apache, PHP, MySQL và phpMyAdmin trên Windows

https://www.sitecuatui.com/cai-dat-apache-php-mysql-va-phpmyadmin-tren-windows/ Bạn có thể cài đặt Apache, PHP, MySQL và phpMyAdmin trên Windows để làm web server trong khi bạn vẫn có thể sử dụng...

HTTP to HTTPS after ELB

TOOL KIT FOR VS http://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-beanstalk-custom.html Login problem: https://github.com/aspnet/Mvc/issues/4072 http://stackoverflow.com/questions/38748989/deploy-asp-net-core-mvc-behind-nginx-that-does-ssl-termination-redirects-to-no HTTP to HTTPS redirects on IIS 7.x and higher The ELB supports a HTTP header called X-FORWARDED-PROTO. All the HTTPS requests...