ΑΒΡΑΞΑΣ 설치
[설치] 데이터베이스 설치(PostgreSql)
데이터베이스 설치(PostgreSql)
- PostgreSql 설치
-
- sudo apt install postgresql
- PostgreSql 외부 접근 허용
-
- sudo vi /etc/postgresql/13/main/postgresql.conf
-
listen_addresses = '*' # what IP address(es) to listen on; #listen_addresses = 'localhost' # what IP address(es) to listen on;
-
- sudo vi /etc/postgresql/13/main/pg_hba.conf
-
# IPv4 local connections: #host all all 127.0.0.1/32 md5 host all all 0.0.0.0/0 md5 # IPv6 local connections: #host all all ::1/128 md5 host all all ::/0 md5
-
- sudo vi /etc/postgresql/13/main/postgresql.conf
- 계정만들기
sudo -u postgres psql -c "ALTER ROLE postgres WITH password '여기패스워드'" postgres 계정으로 로그인 패스워드는 '여기패스워드'로 정한 패스워드
- adminer-4.8.1.php 설치
- sudo apt-get install adminer
-
/var/www/html 에 adminer-4.8.1.php 복사
- Database 생성
- Table 생성
[설치] Web Application Server 설치 (Tomcat)
- Java 설치
- sudo apt install default-jdk
[설치] Application 설치
3. Application 설치