Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- 서울시민카드
- C
- Kubernetes
- rsyslog
- CentOS
- Python
- 파이썬
- zabbix
- GNOME
- RHEL
- syslog
- Shell
- Linux
- log
- GPU
- centos 7.5
- yum
- Audit Log
- Chrome
- PostgreSQL
- Elk
- audit
- 빅데이터
- bash
- JSON
- K8S
- Elasticsearch
- docker
- 디렉토리
- 크롬
Archives
- Today
- Total
Sysops Notepad
[Linux] Centos 7 Sonatype Nexus Repository 설치하기(2) 본문
728x90
# yum install -y epel-release
# yum repolist
# yum install nginx
# systemctl enable nginx
# systemctl status nginx
# systemctl start nginx
# yum install certbot python2-certbot-nginx
# certbot --nginx

# vim /etc/nginx/nginx.conf
location / {
proxy_pass "http://127.0.0.1:8081";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on;
proxy_read_timeout 300;
proxy_connect_timeout 300;
}
# systemctl restart nginx
# cat /opt/nexusdata/nexus3/admin.password

출처 : www.fosslinux.com/27838/installing-sonatype-nexus-repository-oss-on-centos-7.htm
728x90
'업무 > etc' 카테고리의 다른 글
| [Linux] 계정 타임 아웃 설정하기 ( + TMOUT 보안 조치) (0) | 2021.04.09 |
|---|---|
| [Linux] Go(Golang) 설치하기 (0) | 2021.04.09 |
| [Linux] Centos 7 Sonatype Nexus Repository 설치하기(1) (0) | 2020.10.07 |
| [Linux] 대용량 파일 복사 (0) | 2020.10.05 |
| [Linux] Python pycurl 설치간 error 발생시 처리 방법 (0) | 2020.10.05 |
Comments