Browsed by
Tag: ec2

Nginx Server Notes

Nginx Server Notes

I struggled a lot to understand nginx during my first assignments in nginx configurations for one of the angular deployments and little interesting things in it. I captured as much as possible in this post to help someone who is like me!! Below entries are added to nginx.conf file which usually exist in /etc/nginx/nginx.conf Basic commands: sudo service nginx start – to start nginx server sudo service nginx stop – to stop nginx server sudo service nginx status – returns…

Read More Read More

701 total views, 2 views today

How to deploy angular 2/4/5/6 application from bitbucket to Nginx Server in AWS EC2

How to deploy angular 2/4/5/6 application from bitbucket to Nginx Server in AWS EC2

How to deploy angular 2/4/5/6 application from bitbucket to Nginx Server in AWS EC2: Prerequisite: Make sure you have installed following in your linux machines: Nginx server. git. Account in bitbucket (atleast in github to clone some angular app).   1. Create temp folder in root path and do git clone: sudo git clone -b my-Branch https://YOURUSERNAME@bitbucket.org/YOURUSERNAME/YOURPROJECT Here my-Branch is branch name, if you want the master to be cloned then your url will be like this, sudo git clone…

Read More Read More

873 total views, 1 views today

Connecting aws ec2 mysql from workbench

Connecting aws ec2 mysql from workbench

Hello all, After a lot of struggle I finally made connection to aws ec2 mysql from workbench, posting here to help you guys. Connecting aws ec2 mysql from workbench:     If you are getting any other exceptions then do validate the below steps once again,   Step 1: Creating root user with all the privileges: CREATE USER ‘root’@’18.188.178.178’ IDENTIFIED BY ‘root1’; GRANT ALL PRIVILEGES ON javadomain.* TO ‘root’@’18.188.178.178’; javadomain => database schema (which I created directly in linux mysql…

Read More Read More

469 total views, no views today