Gooday Note Scrap Source Android login
 
작성일 : 15-10-23 14:02
[RaspberryPi] Raspberry pi APM(apache, php, mysql) 설치
 글쓴이 : 최고관… (123.♡.195.24)
조회 : 1,198  

1. APACHE

$ sudo apt-get install apache2

 

2. MYSQL

$ sudo apt-get install mysql-server mysql-client


3. PHP

$ sudo apt-get install php5 php-common libapache2-mod-php5 php5-mysql


-- vhost 설정 --

$ sudo vi /etc/apache2/sites-enabled/000-default

---------------------------------------------------

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /home/pi/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /home/pi/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

-----------------------------------------------------------------

$ sudo /etc/init.d/apache2 restart


최고관… 15-10-23 14:03
 123.♡.195.24  
mysql 외부접속 허용
바인딩 어드레스 비활성화

$ sudo nano /etc/mysql/my.cnf
bind-address 127.0.0.1 삭제 또는 주석(#)
 
 

Total 121
번호 제   목 글쓴이 날짜 조회
106 [RaspberryPi] 외장하드 마운트(ntfs) 기리 10-23 1242
105 [RaspberryPi] Raspberry pi FTP 설치 (1) 최고관… 10-23 912
104 [RaspberryPi] Raspberry pi APM(apache, php, mysql) 설치 (1) 최고관… 10-23 1199
103 [RaspberryPi] Raspberry pi wlan 설정 최고관… 10-23 885
102 [RaspberryPi] Raspberry Pi 설정 - Raspbian 최고관… 10-23 913
101 [RaspberryPi] Raspberry Pi 설치 - Raspbian 최고관… 10-23 1228
100 [MySql] 사용자 추가 기리 06-16 1327
99 [Linux] apache 403 기리 06-16 1475
98 [Linux] 설치 및 설정 기리 06-15 1333
97 [Linux] IP 차단 (1) 기리 03-06 1985
96 [MySql] mysql log - BinLog 파일 Text 변환 (1) 기리 10-31 4155
95 [PHP] PHP CodeSniffer 기리 10-07 2312
94 [Linux] 자동응답메일 설정 기리 09-23 2114
93 [Linux] Subversion(SVN) 설치 및 사용법 기리 08-13 2903
92 [Html] CSS Gradient Background Maker 기리 04-08 3064
 1  2  3  4  5  6  7  8  9