Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 20.04 요나 설치 #38

Open
doortts opened this issue Mar 2, 2021 · 0 comments
Open

ubuntu 20.04 요나 설치 #38

doortts opened this issue Mar 2, 2021 · 0 comments

Comments

@doortts
Copy link

doortts commented Mar 2, 2021

@joonshin79 (Yoonsik Shin) 님이 작성한 게시글입니다.
---

ssh root 계정 활성화

$ sudo passwd root
$ 패스워드 입력후 새로운 root 패스워드 입력
$ vi /etc/ssh/sshd_config
PermitRootLogin yes 이렇게 변경
$ systemctl restart sshd

apache, php, mariadb 설치

$ apt install apache2
$ service apache2 start
$ apt install mariadb-server mariadb-client
$ apt install php libapache2-mod-php php-mysql
$ apt install php-{bz2,imagick,imap,intl,gd,mbstring,pspell,curl,readline,xml,xmlrpc,zip}

openjdk-8 설치

$ apt install default-jre
$ apt-get install openjdk-8-jdk
update-alternatives --config java
기본 jdk openjdk-8로 변경

webmin 설치 https://localhost:10000 로 서버 관리

$ vi /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib # 제일 아래에 추가
$ wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add
$ apt update
$ apt install webmin

mariadb root 패스워드 변경

$ mysql -u root
> FLUSH PRIVILEGES;
> USE mysql;
> ALTER USER 'root'@'localhost' IDENTIFIED BY '패스워드 변경';
> quit

phpmyadmin에서 yona 계정과 db 생성후 요나 설치

$ cd /var/www/html
$ wget https://github.com/yona-projects/yona/releases/download/v1.14.0/yona-v1.14.0-bin.zip
$ unzip yona-v1.14.0-bin.zip
$ cd yona-v1.14.0-bin
$ cd bin
$ ./yona
$ cd /var/www/html/yona-v1.14.0-bin/conf
$ vi application.conf
db.default.password="password" # 패스워드 수정
$ cd /var/www/html/yona-v1.14.0-bin/bin
$ ./yona

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant