Gitlab CE
    • PDF

    Gitlab CE

    • PDF

    Article Summary

    Available in Classic

    Gitlab CE is a DevOps platform utilizing Gitlab CE while using Linux as an OS. It is automatically configured on NAVER Cloud Platform's Compute infrastructure service and can be instantly put into service through a configuration process with only a few steps.
    The advantages of using Gitlab CE are as follows:

    • You can reliably use Gitlab CE utilizing the infrastructure services of NAVER Cloud Platform.
    • You can select a server image and specifications to automatically install and use the Gitlab CE server.
    Note

    For more information on the software used in NAVER Cloud Platform's Gitlab CE, see the following websites:

    Creating and accessing server

    The method for creating and accessing the server is the same as creating a regular server on NAVER Cloud Platform. The following are detailed procedures and reference guides:

    ProcedureDescription
    1. Set ACG
    • Reference guide: ACG
    • Must set the following ports:
      • TCP 22 port for a terminal connection
      • Random number port for the use of web services
    2. Create server
    • Reference guide: Create server
    • Image type Application, Application image type Gitlab CE
    3. Set public IP
    4. Set port forwarding
    5. Get admin password
    6. Access server
    Note
    • After you access and log in to the server, change the password of the root account to one you can remember. Enter the passwd root command to set a new password.
    • If you can't connect to the Gitlab CE Web service even if there is no problem in the public IP address and ACG, your web server process might be stopped. Run the restart command (systemctl start httpd) on the terminal program to restart the process.

    Set service access

    When the server is created, Gitlab CE Package is automatically installed.
    To access the service through the browser, access the server, and then set the public IP and port.

    1. After you access the server, enter the vi /etc/gitlab/gitlab.rb command to open the editor.
    2. Press the [I] key to open the input mode, and then change the external_url variable as follows:
      (...) 
       external_url 'http://(public IP address set in the console):(random service port number)'
      (...)
      
    3. Press the [Esc] key to close the input mode, and then enter :wq to close the vi editor.
    4. Enter the gitlab-ctl reconfigure command.
      • The service is reset depending on the edited configuration file.
    5. Set the ACG on the console to allow the service port randomly entered in step 2 for browser access.
      • For more information on setting ACG, see Set ACG.

    Access service

    The following describes how to access the GitLab CE web service.

    1. Open the web browser and enter the set URL.
      • An URL is composed of http://(공인 IP 주소):(서비스 포트 번호).
    2. When the GitLab log-in screen is displayed, enter the account information to log in.
      • User name: enter root
      • Password: enter the password confirmed after entering cat /etc/gitlab/initial_root_password in the server terminal program

    Using service

    Once the login is completed, the Projects page is displayed with basic projects automatically created.
    You can use various functions through the menu at the top of the page.

    server-gitlabce_index

    FieldDescription
    Main menuMoves to the main menus, such as projects and groups, and the admin menus
    Create new...Creates a new project, repository, group, and snippet
    IssuesViews the list of events that occur during the project
    Merge requestsViews the list of requests for merging branches
    To-Do ListViews the list of tasks of the next step
    ⑥ Help menuViews the information on the latest version or the help for using Gitlab
    ⑦ Account settings menuSets the access account
    Note

    For more information on how to use Gitlab CE, see Gitlab Docs.


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.