How to use multiple SSH keys for different gitlab accounts

First, Generate two ssh keys called “id_rsa_project_a” and “id_rsa_project_b” as below. Created ssh keys Then add those keys as following. You can check   your saved keys. Type as below Then create a config file in ~/.ssh folder And edit as below Now you can use both projects with separate ssh keys 🙂  

Apache2 is not restarted or reloaded properly in ubuntu 16.04

The solution for the following Error. Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details. The reason for the issue. You have added virtual hosts with ssl configurations and you have not enabled the ssl module yet. Run the following command in ubuntu … Read more

Codeigniter 3.0.0 exception issue in php7.

Error should be like this. Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /your/project/system/core/Common.php on line 658 and defined in /your/project/system/core/Exceptions.php:190 Stack trace: Step 1: Download the latest codeigniter version(Codeigniter 3.1.2) Step 2: Copy the ‘system’ folder from newly download Codeigniter project and replace … Read more