Backend
How to make my server ready
Prerequisites
Application
Version
Ubuntu Server
18.04 LTS
PHP
7.2
MariaDB
10.1
Apache
2.4
Getting Started
Korean
1. 상기 요구사항을 모두 서버에 설치합니다.
2. git repository를 clone 합니다.
`git clone https://github.com/osamhack2020/Web_SpecialForces_SpecialWarrior`
3. git repository로 이동합니다.
`cd Web_SpecialForces_SpecialWarrior`
3. PHP 어플리케이션이 들어있는 Directory로 이동합니다
`cd www`
4. Apache의 서비스 경로설정을 합니다. "<Directory>" 태그 안에 들어있습니다.
`sudo vim /etc/apache2/httpd.conf`
5. (*Optional) 확장자 '.php' 없이 접근할 수 있게 합니다.
"<Directory>" 태그 안에 다음 옵션을 적습니다.
`<Directory /var/www/>
Options FollowSymLinks MultiViews
AddType application/x-httpd-php .php .jsp
Require all granted
AllowOverride FileInfo
</Directory>`
6. Apache 서비를 재시작합니다.
`sudo systemctl restart apache2`
English
1. Install all prerequisites written.
2. Clone git repository
`git clone https://github.com/osamhack2020/Web_SpecialForces_SpecialWarrior`
3. Change directory to repository
`cd Web_SpecialForces_SpecialWarrior`
3. Change directory to where PHP application exist.
`cd www`
4. Set up your apache service directory. It might be written in "<Directory>" tag
`sudo vim /etc/apache2/httpd.conf`
5. (*Optional) Let applications access your API without extension '.php'
Write options below in "<Directory>" tag.
`<Directory /var/www/>
Options FollowSymLinks MultiViews
AddType application/x-httpd-php .php .jsp
Require all granted
AllowOverride FileInfo
</Directory>`
6. Restart apache2 service
`sudo systemctl restart apache2`
Last updated
Was this helpful?