오늘은 출시된지 오래안된 우분투 16.04 LTS 버전의 APM 설치에 관해 정리합니다. APM 설치에는 apt-get을 이용하고 설치순서는 apache > mysql > php 순으로 진행되었으며 아래의 설치가 완료후 몇가지 설정을 진행하면 XE 및 워드프레스를 간편하게 설치할수있습니다.
먼저 우분투 세팅 진행시 아래의 부분을 체크하고 세팅을 완료하였습니다. 이 부분은 간단하게 참고만 해주시면 될것같습니다.
소프트웨어 선택
standard system utilities OpenSSH server
apache2 설치
apache2의 설치 명령어는 아래와 같고 Y를 선택후 진행하면 설치가 진행됩니다.
apt-get install apache2
mysql 설치
mysql의 설치 명령어는 아래와 같습니다.
apt-get install mysql-server mysql-client
우분투는 CentOS와는 달리 mysql 설치시 패스워드를 입력해야합니다.
패스워드를 적고 조금만 기다려주면 mysql의 설치가 완료됩니다.
php 설치
php의 경우 설치해야 할 부분이 많은 편입니다. 명령어를 사용후 기다리면 설치가 완료됩니다.
ii apache2 2.4.18-2ubuntu3 amd64 Apache HTTP Server ii apache2-bin 2.4.18-2ubuntu3 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.18-2ubuntu3 all Apache HTTP Server (common files) ii apache2-utils 2.4.18-2ubuntu3 amd64 Apache HTTP Server (utility programs for web servers) ii libapache2-mod-php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (Apache 2 module) (default) ii libapache2-mod-php7.0 7.0.4-7ubuntu2 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
php (7.0.4-7)
root@ubuntu:~# dpkg -l |grep php
ii libapache2-mod-php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (Apache 2 module) (default) ii libapache2-mod-php7.0 7.0.4-7ubuntu2 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii php 1:7.0+35ubuntu6 all server-side, HTML-embedded scripting language (default) ii php-common 1:35ubuntu6 all Common files for PHP packages ii php-gd 1:7.0+35ubuntu6 all GD module for PHP [default] ii php-mysql 1:7.0+35ubuntu6 all MySQL module for PHP [default] ii php-xml 1:7.0+35ubuntu6 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default] ii php7.0 7.0.4-7ubuntu2 all server-side, HTML-embedded scripting language (metapackage) ii php7.0-cli 7.0.4-7ubuntu2 amd64 command-line interpreter for the PHP scripting language ii php7.0-common 7.0.4-7ubuntu2 amd64 documentation, examples and common module for PHP ii php7.0-gd 7.0.4-7ubuntu2 amd64 GD module for PHP ii php7.0-json 7.0.4-7ubuntu2 amd64 JSON module for PHP ii php7.0-mysql 7.0.4-7ubuntu2 amd64 MySQL module for PHP ii php7.0-opcache 7.0.4-7ubuntu2 amd64 Zend OpCache module for PHP ii php7.0-readline 7.0.4-7ubuntu2 amd64 readline module for PHP ii php7.0-xml 7.0.4-7ubuntu2 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
mysql (5.7.12)
root@ubuntu:~# dpkg -l |grep mysql
ii mysql-client 5.7.12-0ubuntu1 all MySQL database client (metapackage depending on the latest version) ii mysql-client-5.7 5.7.12-0ubuntu1 amd64 MySQL database client binaries ii mysql-client-core-5.7 5.7.12-0ubuntu1 amd64 MySQL database core client binaries ii mysql-common 5.7.12-0ubuntu1 all MySQL database common files, e.g. /etc/mysql/my.cnf ii mysql-server 5.7.12-0ubuntu1 all MySQL database server (metapackage depending on the latest version) ii mysql-server-5.7 5.7.12-0ubuntu1 amd64 MySQL database server binaries and system database setup ii mysql-server-core-5.7 5.7.12-0ubuntu1 amd64 MySQL database server binaries ii php-mysql 1:7.0+35ubuntu6 all MySQL module for PHP [default] ii php7.0-mysql 7.0.4-7ubuntu2 amd64 MySQL module for PHP
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.