티스토리 뷰
운영체제 : ubuntu 20.04.6
cpu : 4
ram : 8
disk : 500gb
apt update
apt install openjdk-8-jre-headless
cd /opt
wget https://download.sonatype.com/nexus/3/nexus-3.53.1-02-unix.tar.gz
!/bin/bash
set -e
apt update
apt install openjdk-8-jre-headless
cd /opt
wget https://download.sonatype.com/nexus/3/nexus-3.53.1-02-unix.tar.gz
tar -zxvf latest-unix.tar.gz
mv /opt/nexus-3.30.1-01 /opt/nexus
adduser nexus
visudo
nexus ALL=(ALL) NOPASSWD: ALL
chown -R nexus:nexus /opt/nexus
chown -R nexus:nexus /opt/sonatype-work
vi /opt/nexus/bin/nexus.rc
run_as_user="nexus"
넥서스 서비스 설정파일 변경
vi /etc/systemd/system/nexus.service
[Unit]
Description=nexus service
After=network.target
[Service]
Type=forking
LimitNOFILE=65536
ExecStart=/opt/nexus/bin/nexus start
ExecStop=/opt/nexus/bin/nexus stop
User=nexus
Restart=on-abort
[Install]
WantedBy=multi-user.target
넥서스 서비스 시작
systemctl enable --now nexus
접속주소 : http://server_IP:8081
비밀번호조회
cat /opt/sonatype-work/nexus3/admin.password
'OS > ubuntu' 카테고리의 다른 글
ubuntu22.04 | vagrant설치 후 Provider libvirt로 배포. (0) | 2023.07.03 |
---|---|
ubuntu | package 로컬 저장 (0) | 2023.07.03 |
ubuntu 22.04 | nic 이름 변경 (0) | 2023.06.24 |
ubuntu 20.04 | nfs 서버 생성. (0) | 2023.06.15 |
ubuntu 20.04 | 고정 ip 설정 (0) | 2023.05.01 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 코딩
- VBA매크로
- 사무자동화
- 엑셀고수
- aws
- MySQL
- 경영기획
- Django
- 서버관리
- 리눅스
- 비즈니스
- 클라우드
- 컴퓨터관리
- 전산실
- SSH
- 경영
- CentOS
- VBA편집기
- MariaDB
- VBA
- 경영관리
- Excel
- pi
- 컴퓨터활용
- CICD
- 인프라
- VBA강의
- 쿠버네티스
- 비즈니스혁신
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함