일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- yum
- 파이썬
- rsyslog
- log
- 빅데이터
- centos 7.5
- Elk
- GNOME
- CentOS
- zabbix
- audit
- JSON
- docker
- Python
- syslog
- GPU
- Shell
- Kubernetes
- Audit Log
- RHEL
- Linux
- PostgreSQL
- K8S
- 크롬
- Elasticsearch
- 디렉토리
- Chrome
- C
- bash
- 서울시민카드
- Today
- Total
목록분류 전체보기 (188)
Sysops Notepad
저는 Centos 7.6 에서 설치 진행했습니다. # vi /etc/yum.repos.d/wandisco-git.repo [wandisco-git] name=Wandisco GIT Repository baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco # rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco # yum install git
# yum install libjpeg-turbo-utils # jpegtran -copy none -optimize crop.jpg image.jpg
Centos or redhat에서 yum을 통해 많은 패키지를 설치하다가 가장 문제가 되는 의존성(dependency)을 하는 명령어 입니다. # yum deplist
보통 습관처럼 서버 들어가서 export TMOUT=0 을 치고 작업을 시작하지만 그러면 양심에 찔리니까 미사용할때는 터미널을 종료하는 습관을 만듭시다 ㅎㅎ echo "TMOUT=300 readonly TMOUT export TMOUT" >> /root/.bashrc
Centos에서 자주 사용하는 사용자 추가 / 삭제 / 변경 방법입니다. 간단하고 자구 사용하는 명령어인데 가끔 생각이 안나곤 하죠 ㅎㅎ 1. 홈디렉토리는 /home/test , 로그인은 사용하지 않고, test 라는 계정을 생성 # useradd -d /home/test -s /sbin/nologin -r gateway-worker-app 2. 홈디렉토리는 남기고 test 계정삭제 # userdel -test 3. 홈디렉토리를 포함해서 test 계정을 삭제 # userdel -r test 4. test 사용자의 홈디렉토리 변경 # usermod -d /tmp test 5. 계정 추가 / 삭제 / 수정 여부 확인 # cat /etc/passwd | grep test
2021년 3월 기준 검색어 점유율 상위 11위로 빠르게 성장중인 Go 언어 설치 하는 방법입니다. 저는 Centos 7.6 버전에서 설치하여 진행했습니다. # wget https://dl.google.com/go/go1.14.15.linux-amd64.tar.gz # tar -C /home/ -xzf go1.14.15.linux-amd64.tar.gz # vi /root/.bash_profile export GOBIN=/home/go/bin export GOROOT=/home/go export PATH=$PATH:/home/go/bin # go version go version go1.14.15 linux/amd64
# 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_forw..
# hostnamectl set-hostname nexus # yum update -y # yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel # java -version # cd /opt # wget https://download.sonatype.com/nexus/3/latest-unix.tar.gz # tar -xvzf latest-unix.tar.gz # mv nexus-3.20.1-01 nexus # mv sonatype-work nexusdata # useradd --system --no-create-home nexus # chown -R nexus:nexus /opt/nexuschown -R nexus:nexus /opt/nexusdata ..