편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
1번째 줄: | 1번째 줄: | ||
==웹서버== | ==웹서버== | ||
* [[우분투 apt update]] | * [[우분투 apt update]] | ||
9번째 줄: | 4번째 줄: | ||
** [[우분투 아파치 설치]] | ** [[우분투 아파치 설치]] | ||
*** [[a2enmod rewrite]] | *** [[a2enmod rewrite]] | ||
** [[우분투 php-curl 설치]] | ** [[우분투 php-curl 설치]] | ||
** [[우분투 php-gmp 설치]] | ** [[우분투 php-gmp 설치]] | ||
** [[우분투 php-mbstring 설치]] | ** [[우분투 php-mbstring 설치]] | ||
** [[우분투 php-mcrypt 설치]] | ** [[우분투 php-mcrypt 설치]] | ||
** [[우분투 php-memcache 설치]] | |||
** [[우분투 php-mysql 설치]] | ** [[우분투 php-mysql 설치]] | ||
** [[우분투 php-xml 설치]] | ** [[우분투 php-xml 설치]] | ||
** [[우분투 php-zip 설치]] | ** [[우분투 php-zip 설치]] | ||
* [[우분투 nmap 설치]] | * [[우분투 nmap 설치]] | ||
* [[우분투 composer 설치]] | * [[우분투 composer 설치]] | ||
25번째 줄: | 18번째 줄: | ||
<source lang='bash'> | <source lang='bash'> | ||
apt update | apt update | ||
apt install -y nmap fio | apt install -y nmap fio | ||
dpkg --configure -a | dpkg --configure -a | ||
apt install | apt install python-software-properties | ||
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | ||
apt update | apt update | ||
apt install -y php7.1 php | apt install -y php7.1 | ||
apt install -y php-curl php-gmp php-mbstring php-mcrypt php-memcache php-mysql php-xml php-zip | |||
a2enmod rewrite | a2enmod rewrite | ||
chmod +rx /usr/bin/python2.7 | chmod +rx /usr/bin/python2.7 | ||
43번째 줄: | 33번째 줄: | ||
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | ||
apt install -y nodejs | apt install -y nodejs | ||
</source> | </source> | ||
49번째 줄: | 38번째 줄: | ||
<source lang='console'> | <source lang='console'> | ||
root@zetaweb:~# php -v | root@zetaweb:~# php -v | ||
PHP 7.1. | 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 | Copyright (c) 1997-2017 The PHP Group | ||
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies | Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies | ||
with Zend OPcache v7.1. | 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 | root@zetaweb:~# apache2 -v | ||
Server version: Apache/2.4.18 (Ubuntu) | Server version: Apache/2.4.18 (Ubuntu) | ||
Server built: 2017- | Server built: 2017-06-26T11:58:04 | ||
root@zetaweb:~# composer -V | root@zetaweb:~# composer -V | ||
Do not run Composer as root/super user! See https://getcomposer.org/root for details | Do not run Composer as root/super user! See https://getcomposer.org/root for details | ||
Composer version 1. | Composer version 1.4.2 2017-05-17 08:17:52 | ||
root@zetaweb:~# npm -v | root@zetaweb:~# npm -v | ||
3.10.10 | 3.10.10 | ||
71번째 줄: | 60번째 줄: | ||
<source lang='bash'> | <source lang='bash'> | ||
apt update | apt update | ||
apt install -y nmap fio | |||
curl -s https://packagecloud.io/install/repositories/varnishcache/varnish5/script.deb.sh | sudo bash | |||
apt install -y nmap fio | apt install -y varnish hitch letsencrypt | ||
curl -s https://packagecloud.io/install/repositories/varnishcache/ | </source> | ||
apt install -y varnish hitch | <source lang='bash'> | ||
openssl dhparam -out /etc/hitch/dhparam.pem 2048 | openssl dhparam -out /etc/hitch/dhparam.pem 2048 | ||
letsencrypt certonly --standalone \ | |||
-d zetawiki.com \ | |||
-d www.zetawiki.com | |||
</source> | </source> | ||
* 확인 | * 확인 | ||
<source lang='console'> | <source lang='console'> | ||
root@zetav:~# varnishd -V | root@zetav:~# varnishd -V | ||
varnishd (varnish- | varnishd (varnish-5.2.1 revision 67e562482) | ||
Copyright (c) 2006 Verdens Gang AS | Copyright (c) 2006 Verdens Gang AS | ||
</source> | </source> | ||
<source lang='console'> | <source lang='console'> | ||
root@zetav:~# hitch -V | root@zetav:~# hitch -V | ||
hitch 1.4. | hitch 1.1.1 | ||
</source> | |||
<source lang='console'> | |||
root@zetav:~# letsencrypt --version | |||
letsencrypt 0.4.1 | |||
</source> | </source> | ||
93번째 줄: | 88번째 줄: | ||
<source lang='bash'> | <source lang='bash'> | ||
apt update | apt update | ||
apt install -y nmap fio | apt install -y nmap fio | ||
apt install -y python-software-properties | apt install -y python-software-properties | ||
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 | apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 | ||
99번째 줄: | 94번째 줄: | ||
apt update | apt update | ||
apt install -y mariadb-server | apt install -y mariadb-server | ||
</source> | </source> | ||
* 확인 | * 확인 | ||
109번째 줄: | 103번째 줄: | ||
mariadb-server/xenial-updates,xenial-updates,xenial-security,xenial-security,now 10.0.31-0ubuntu0.16.04.2 all [installed] | mariadb-server/xenial-updates,xenial-updates,xenial-security,xenial-security,now 10.0.31-0ubuntu0.16.04.2 all [installed] | ||
mariadb-server/xenial,xenial 10.0.24-7 all | mariadb-server/xenial,xenial 10.0.24-7 all | ||
</source> | </source> | ||
117번째 줄: | 109번째 줄: | ||
apt update | apt update | ||
apt install -y nmap fio | apt install -y nmap fio | ||
</source> | </source> | ||