"2017년 제타위키 신규서버 구축과정"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
** [[우분투 아파치 설치]]
** [[우분투 아파치 설치]]
* [[우분투 composer 설치]]
* [[우분투 composer 설치]]
* [[우분투 npm 설치]]
* [[우분투 node.js 설치]]
<source lang='php'>
<source lang='php'>
apt install python-software-properties
apt install python-software-properties

2017년 7월 12일 (수) 01:00 판

1 웹서버

apt install python-software-properties
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
apt update
apt install php7.1
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
  • 확인
root@zetaweb:~# php -v
PHP 7.1.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul  7 2017 09:41:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
root@zetaweb:~# apache2 -v
Server version: Apache/2.4.18 (Ubuntu)
Server built:   2017-06-26T11:58:04
root@zetaweb:~# composer -V
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Composer version 1.4.2 2017-05-17 08:17:52

2 웹캐시서버

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}