본문 바로가기

centos712

[CentOS7] Elasticsearch 설치 Elasticsearch 설치 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.8.6.tar.gz wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-6.8.6.tar.gz.sha512 shasum -a 512 -c elasticsearch-oss-6.8.6.tar.gz.sha512 tar -zvxf elasticsearch-oss-6.8.6.tar.gz ## root elasticsearch를 가동할 수 없게끔 되어있다. su user1 chown -R user1:user1 /elasticsearch-6.8.6 cd elastic.. 2022. 5. 24.
[CentOS7] java 설치 Java 설치 여부 확인 [root@test /]# java -version -bash: java: command not found [root@test/]# which java /usr/bin/which: no java in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) Linux에 Java가 깔려있지 않았다. 설치 경로 다음 github으로 접속해 원하는 버전의 openjdk를 다운받아 설치하면 된다. https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases Releases · AdoptOpenJDK/openjdk8-upstream-binaries Not to be confu.. 2022. 5. 24.
[CentOS7] tomcat7 설치 CentOS7에 tomcat7 설치 블로그들을 참고해서 Tomcat7을 설치하고자 했지만 다운로드 경로들이 모두 닫혀 직접 찾아봤다. tomcat을 설치하려는 서버에는 이미 jdk1.8 버전과 tomcat8.0 버전이 설치되어 있었지만 tomcat 한 개를 더 띄우기 위해 또 설치하려한다. jdk 설치 yum list java*jdk-devel 라고 검색하면, jdk버전을 볼 수 있다. 자신에게 필요한 버전으로 설치하면 된다. 필자는 1.8버전을 이미 깔아놓았기 때문에 1.8버전이 깔려 있는걸 볼 수 있다. 설치는 아래와 같이 하고, javac 명령어로 제대로 설치 됐는지 확인해보면 된다. yum install java-1.8.0-openjdk-devel.x86_64 tomcat 설치 https://to.. 2022. 5. 13.
[CentOS7] mysql 설치 중 GPG Key Error 문제 발생 [root@Test-Server local]# yum install mysql-server ..(생략).. The GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository. Failing package is: mysql-community-client-5.7.38-1.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysq.. 2022. 4. 28.