How to generate COMODO SSL certificates

To make a SSL certificate, we need to generate CSR code first. After that there is a few steps to follow.

CSR Generation

Generating a Certificate Signing Request (CSR) using OpenSSL (Apache & mod_ssl, NGINX)

openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr

You will now be asked to enter details to be entered into your CSR.

Install lamp server on Aliyun Ubuntu

Run the following commands to install LAMP server

sudo apt-get update
sudo apt-get install tasksel
sudo tasksel install lamp-server

Run the following command to install phpmyadmin

Set up drupal with git

You can now provision your other tiers with this code from the repository.

Log into your server and provision a development environment from the code you’ve committed:

git clone --branch fooproject ssh://fooproject@fooproject.com/home/users/fooproject/fooproject.git fooproject_dev


Enable .gitignore file

Running command: 

git rm -r --cached .

This removes everything from the index, then run:

git add .

Commit it:

git commit -m ".gitignore is now working"