1. Apache

(1) yum 으로 설치

$ yum install -y httpd

...>> /etc/httpd

  • conf : 웹 서버의 주요 설정 파일인 httpd.conf, MIME 형식을 지정하기 위한 파일인 magic 파일이 있는 곳
  • conf.d : 아파치의 주요설정을 분리 해서 저장 하는 곳, httpd.conf 설정내용을 분리하여 이곳에 저장하면, httpd.conf 파일에서 불러와서 사용하게 됩니다. httpd.conf 파일 맨 마지막에 ‘IncludeOptional conf.d/*.conf’ 구문이 있습니다.
  • logs : 로그파일이 저장 되는 디렉토리
  • modules : 아파치 모듈 설치디렉토리

소스다운로드:https://httpd.apache.org/download.cgi

 

Download - The Apache HTTP Server Project

Downloading the Apache HTTP Server Use the links below to download the Apache HTTP Server from one of our mirrors. You must verify the integrity of the downloaded files using signatures downloaded from our main distribution directory. The signatures can be

httpd.apache.org

(2) 방화벽 등록/적용

$ firewall-cmd --permanent --add-service=http

$ firewall-cmd --permanent --add-service=https

$ firewall-cmd --reload

(3) 웹서버 활성화/기동

$ systemctl enable httpd

$ systemctl start httpd

 

2. PHP

(1-1) php 7.2 설치

$ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

$ wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
$ rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
$ yum install yum-utils
$ yum-config-manager --enable remi-php72

(1-2) php 5.6 설치

# yum install epel-release

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

# yum remove php*

# yum install -y --enablerepo=remi,remi-php56 php php-bcmath php-cli php-common php-dba php-dbg php-devel php-embedded php-enchant php-fpm php-gd php-gmp php-imap php-interbase php-intl php-ldap php-litespeed php-mbstring php-mcrypt php-mysqlnd php-odbc php-opcache php-pdo php-pgsql php-process php-pspell php-recode php-snmp php-soap php-tidy php-xml php-xmlrpc

 

소스다운로드: https://www.php.net/downloads.php

 

PHP: Downloads

Current Stable PHP 7.3.9 (Changelog) php-7.3.9.tar.bz2 (sig) [14,597Kb] 29 Aug 2019 a39c9709a8c9eb7ea8ac4933ef7a78b92f7e5735a405c8b8e42ee39541d963c4 php-7.3.9.tar.gz (sig) [19,099Kb] 29 Aug 2019 5ecc1b1ad7228ed2e99a970c45358871644fcab1d9fd079a7b129326a7bde

www.php.net

$ vi /etc/php.ini

 

 

 

'$ SaVvY > » computer' 카테고리의 다른 글

맥북 15" 2011 Early  (0) 2017.12.21
VIM Plug-In  (0) 2017.12.14
vim: Dr Chip's page  (0) 2017.12.12
vifm(VI-like File Manager)  (0) 2017.12.11
My Linux Terminal settings  (0) 2016.04.14
Posted by Jason Ryu
,

2011년 생일무렵에 장만했던 맥북 15인치 2011 Early.


무려 6년이 지나서야 배터리교환 메시지가 나타났고, 대략 2개월 더 지나서야 교환함(셀프교환)


최대충전용량이 7236 mAh 로 나오는데, 예전에 나왔던 배터리들은 5,000~6,000 정도였던걸 감안하면 갈수록 용량이이 커지는듯..


배터리교체를 해놓고나서 생각난건 '맥북 SMC 리셋'인데

가끔 이 SMC정보 오류로 인해 배터리 정보가 잘못나와서 교체하라는 메시지가 나올수 있다는거다.

그러면 일단 여기(http://macnews.tistory.com/3358)가서 점검부터 하는게 먼저!!!



'$ SaVvY > » computer' 카테고리의 다른 글

Apache + PHP on CentOS 7  (1) 2019.09.19
VIM Plug-In  (0) 2017.12.14
vim: Dr Chip's page  (0) 2017.12.12
vifm(VI-like File Manager)  (0) 2017.12.11
My Linux Terminal settings  (0) 2016.04.14
Posted by Jason Ryu
,