Skip to main content

Posts

Showing posts with the label GITLAB

GITHUB Alternative Option is GITLAB.

What is GITHUB?   Github (https://github.com/) is an online platform for robust, secure, and the most popular for using Git for version control hosting software projects. Particularly as the development platform for open source projects known Github, and also supports private repositories as well. Why people think alternative option? As you known that Microsoft has acquired Github many Microsoft open source enthusiasts, Microsoft is a company that for profit are tired of the familiar, so this terms and conditions can be changed (always, as is the case in such a transaction). If you're already thinking of an alternative to Github for hosting open-source projects.   What is best option? Github alternative option is one & only most powerful tool is GitLab Open this for become a master in GIT. What is GITLAB and why? Gitlab (https://about.gitlab.com/) is an open source, robust, secure, efficient, feature rich and powerful application for handling the software development and o...

How to set up CI/CD process for WordPress database and code with GitLab and Jenkins?

How to set up CI/CD process for WordPress with GitLab and Jenkins? Introduction: GitLab is a web-based Git-repository manager. WordPress is a free and open-source content management system based on PHP and MySQL. Jenkins is open source automation server-based system. 1) Integrations GitLab project with Jenkins Login in your GitLab server and open your project Go to settings > integrations and add URL of your Jenkins projects. Jenkins URL will be similar :  http://username:password@jenkishost:port/project/projectname Pick any Trigger when you need to build your projects with Jenkins. You can test webhooks with your event and get HTTP 200 means your webhook connection is perfect 2) Jenkins Configuration Before start configuration, you must require to install GitLab plugins from Jenkins Manage Plugins. Other plugins :    SSH remote hosts (Run command remotely) Extended E-mail Notification (Email notification) Next, Create Project job in ...

GITLAB Installation in Linux Server

1st IN UBUNTU 1. Install and configure the necessary dependencies sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and  configure an external SMTP server  after GitLab has been installed. sudo apt-get install -y postfix During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults. 2. Add the GitLab package repository and install the package Add the GitLab package repository. curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash Next, install the GitLab package. Change `http://gitlab.example.com` to the URL at which you want to access your GitLab instance. Installation will automatically confi...