Linux 490

솔라리스10 make 설치 방법

솔라리스10 make 설치 방법 ㅎㅎㅎ 기본 버전을 설치 해서 그런가 make 가 없다;;; http://download.nust.na/pub3/solaris/sunfreeware/pub/unixpackages/x86/5.10/ Index of /pub3/solaris/sunfreeware/pub/unixpackages/x86/5.10 download.nust.na 다운 받아서 장비에 저장하고 # gunzip make-3.82-sol10-x86-local.gz 압축 풀고 # pkgadd -d make-3.82-sol10-x86-local 설치 설치 완료 되었다. 아직도 make 해도 위와 같이 에러 뜬다. 심볼링 링크로 작업해주자. ln -s /usr/local/bin/make /usr/bin/ 하지만 ..

Linux 2024.02.23

Makefile:67: *** Kernel header files not in any of the expected locations.Makefile:68: *** Install the appropriate kernel development package, e.g.Makefile:69: *** kernel-devel, for building kernel modules and try again. Stop.

# make Makefile:67: *** Kernel header files not in any of the expected locations. Makefile:68: *** Install the appropriate kernel development package, e.g. Makefile:69: *** kernel-devel, for building kernel modules and try again. Stop. # yum install kernel* 설치하고 나면 # make 정상 작동 된다.

Linux 2024.02.12

yum centos 6 removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt

# yum update Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Update Process Loading mirror speeds from cached hostfile YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base centos 6 ..

Linux 2024.02.11

Warning: Error fetching server time: Detected 51.34500002861023 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results.

프로메테우스 rockey 환경에서 구동을 하면 위와 같이 경고가 발생 하는 경우가 있다. Warning: Error fetching server time: Detected 51.34500002861023 seconds time difference between your browser and the server. Prometheus relies on accurate time and time drift might cause unexpected query results. 말그대로 시간 동기화 문제가 있어서 그렇다. rockey 8.x 버전은 ntp 가 없다 시간 동기화 하려면 chrony 를 설치하고 작업을 해줘야 한다. # yum install chrony chrony 먼저 설치 해주고 # vi /etc/c..

Linux 2023.12.25

프로메테우스(Prometheus) 설치 rocky 8.9 환경

프로메테우스(Prometheus) 설치 rocky 8.9 환경 환경에서 작업을 했다. 우선 계정을 만들고 # useradd -m -s /bin/false prometheus 구성 데이터 폴더 만들고 # mkdir /data/prometheus 권한 설정 # chown prometheus /data/prometheus/ 이제 설치 파일 다운 https://github.com/prometheus/prometheus # wget https://github.com/prometheus/prometheus/releases/download/v2.48.1/prometheus-2.48.1.linux-amd64.tar.gz -P /tmp # cd /tmp/ tmp 가서 압축 풀고 # tar -xvf prometheus-2..

Linux 2023.12.24

gitlab backup & restore 방법

gitlab backup & restore 방법gitlab 백업과 복원 방법은 간단하다.# gitlab-backup create 2023-12-01 10:36:40 UTC -- Dumping database ... Dumping PostgreSQL database gitlabhq_production ... [DONE] 2023-12-01 10:36:43 UTC -- Dumping database ... done 2023-12-01 10:36:43 UTC -- Dumping repositories ...2023-12-01 10:36:47 UTC -- Dumping repositories ... done 2023-12-01 10:36:47 UTC -- Dumping uploads ... 2023-12-01 ..

Linux 2023.12.04

Running with Java 8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/jre, which is older than the minimum required version (Java 11)

service jenkins start jenkins.service: Main process exited, code=exited, status=1/FAILURE jenkins.service: Failed with result 'exit-code'. Failed to start Jenkins Continuous Integration Server. Running with Java 8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.352.b08-2.el8_7.x86_64/jre, which is older than the minimum required version (Java 11). rockey8.7 버전에서 jenkins 를 설치를 하고 구동을 하려고 하면 위와 같이 에러가 ..

Linux 2023.11.19

openvas upgrade error Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... failed: Connection timed out

openvas upgrade error Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... failed: Connection timed out 오랜만에 openvas 써보려고 했더니 작동이 안된다. 업데이트를 하고 진행 하려고 하니 # /usr/sbin/greenbone-nvt-sync위와 같이 접속 에러가 뜬다. 찾아보니 버전이 너무 낮고 사이트도 변경이 되었다. repo 사이트도 변경되었다. https://greenbone.github.io/docs/latest/22.4/source-build/index.html Building 22.4 from SourceBuilding the Greenbone Community Editio..

Linux 2023.11.18
728x90
반응형