-
Rocky Linux 9.1 x86_64 설치Linux 2023. 4. 14. 14:38
Rocky-9.1-x86_64-dvd.iso (구글 미러 속도 빠름) 최소 메모리 : 1 GB
-
MariaDB Replication : Master-SlaveMariaDB Mysql 2023. 4. 11. 17:23
마스터서버에서 복제 전용 계정을 새로 추가 or 기존 계정에 복제 관련 권한을 추가 GRANT REPLICATION SLAVE ON *.* TO ‘userid’@’%’ IDENTIFIED BY ‘비밀번호’; FLUSH PRIVILEGES; 마스터, 슬레이브에서 replication 할 db 의 데이터를 맞춤 Master server 설정 # vi /etc/my.cnf.d/server.cnf [mariadb] log_bin=mysql-bin server-id=1 # systemctl restart mariadb MariaDB [(none)]> show master status; MariaDB [(none)]> show master status; file : mysql-bin.000001 positon : ..
-
Web(Httpd) – WAS(Tomcat) 연동 : mod_jkLinux 2023. 4. 11. 17:17
httpd-devel 패키지 설치 # dnf install httpd-devel # rpm -qa | grep httpd-devel httpd-devel-2.4.37-47.module+el8.6.0+14529+083145da.1.x86_64 * mod_jk 설치 http://tomcat.apache.org ==> Tomcat Connectors tomcat-connectors-1.2.48-src.tar.gz 다운로드 # cd /opt/ 압축풀기 # cd tomcat-connectors-1.2.48-src/native/ # wheris apxs apxs: /usr/bin/apxs /usr/share/man/man1/apxs.1.gz # ./configure --with-apxs=/usr/bin/apxs #..
-
WAS tomcatLinux 2023. 4. 11. 16:57
* JDK 설치 # rpm -qa | grep jdk # java -version # dnf install java-1.8.0-openjdk # java -version openjdk version "1.8.0_322" OpenJDK Runtime Environment (build 1.8.0_322-b06) OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode) * Tomcat 설치 # mv apache-tomcat-9.0.73.tar.gz /opt/ # cd /opt/ # tar xzf apache-tomcat-9.0.73.tar.gz # mv apache-tomcat-9.0.73/ tomcat # /opt/tomcat/bin/startup.sh Using ..