Difference between revisions of "Chg-git"

From CHG-Wiki
Jump to navigationJump to search
m
(Moved Gitlab information to Sysadm:Gitlab page.)
Line 39: Line 39:
  
 
===Starting and Stopping Services===
 
===Starting and Stopping Services===
GitLab can be controlled with:
+
See [[Sysadm:GitLab#Starting_and_Stopping_Services | GitLab: Starting_and_Stopping_Services]]
sudo gitlab stop
 
sudo gitlab start
 
sudo gitlab restart
 
nginx must be controlled separately with:
 
sudo nginx stop
 
sudo nginx start
 
sudo nginx restart
 
  
 
===nginx configuration===
 
===nginx configuration===
nginx has a primary configuration file at:
+
See [[Sysadm:GitLab#nginx_configuration | GitLab: nginx_configuration]]
/etc/nginx/nginx.conf
 
This file imports additional configuration files found in:
 
/etc/nginx/sites-enabled/
 
In order to increase the maximum upload size of files pushed to the server, the following line was added to the http directive of the primary configuration file:
 
client_max_body_size 1024M;
 
  
 
==virsh dominfo==
 
==virsh dominfo==

Revision as of 15:40, 17 March 2015

chg-git is the CHG GitLab server (to be shared with EROS) as well as a "staging server" for the Unix port of EWX. Originally the image name for this VM was chg-git.img, but after attempts to wipe and reinstall failed, the image name was changed to chg-gitl.img. The hostname (and everything else) remains the same. The chg-gitl.img is a graphical installation, so use virt-manager to access the console.

General Info

System Name: chg-git.geog.ucsb.edu
IP: 128.111.234.247
Location: rain
General Purpose: GitLab server and EWX staging server
Creation Date: October 28, 2014

System Configuration

  • OS Type: Unix
  • OS Version: Ubuntu 12.04.5 LTS (Precise Pangolin)
  • vCPUS: 2 allocated

Network

  • MAC Address: 52:54:00:ed:6d:cd (generated)

Storage

  • Memory: 32GB allocated
  • Size: 50GB allocated

Services

Notes

  • Added ERI user 02/02/2015

Starting and Stopping Services

See GitLab: Starting_and_Stopping_Services

nginx configuration

See GitLab: nginx_configuration

virsh dominfo

[root@rain images]# virsh dominfo chg-gitl
Id:             44
Name:           chg-gitl
UUID:           965d9c28-9610-0b91-9e01-8ab7640869bf
OS Type:        hvm
State:          running
CPU(s):         2
CPU time:       59.5s
Max memory:     33554432 KiB
Used memory:    33554432 KiB
Persistent:     yes
Autostart:      enable
Managed save:   no
Security model: selinux
Security DOI:   0
Security label: unconfined_u:system_r:svirt_t:s0:c11,c989 (enforcing)