[ Server ][ Linux ] openlitespeed 와 mysql mariaDB 설치 및 실행 > linux

본문 바로가기
사이트 내 전체검색

linux

[ Server ][ Linux ] openlitespeed 와 mysql mariaDB 설치 및 실행

페이지 정보

작성자 웹지기 댓글 0건 조회 11,865회 작성일 19-02-27 17:21

본문

openlitespeed 기능

 - 고성능 이벤트 기반 아키텍처.

 -  초경량, 최소 cpu 및 메모리 리소스

 - apache 호환 재 작성 규칙이 있슴.

 - 사용자에게 친숙한 webadmin GUI

 - 여러가지 모듈을 지원하여 기능을 향상

 - 가상 호스트 페이지 캐싱을 지원

 - 여러버젼의 php설치지원

 

1) centos7 minimall 설치

 

2) openlitespeed 및 php7 설치를 위한 openlitespeed repository 설치 및 활성화

# rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

 

1.png

 

3)  centos7에 openlitespeed 설치

# yum install openlitespeed

 

2.png

 

4) 설정

# / usr / local / lsws / bin / lswsctrl start
# / usr / local / lsws / bin / lshttpd -v

 

3.png

 

5) openlitespeed 기본포트 8088 방화벽 규칙을 업데이트

# firewall-cmd --zone = public --permanent --add-port = 8088 / tcp
# firewall-cmd --reload

 

6) 브라우져를 열고 openlitespeed의 기본페이지 확인

http : // SERVER_IP : 8088 / 
또는  http : // localhost : 8088

 

7) openlitespeed용 php7 설치

 - php7을 설치할 epel저장소를 활성화

# yum install epel-release

 

8) openlitespeed 에 필요한 모듈을 설치

# yum install lsphp70 lsphp70-common lsphp70-mysqlnd lsphp70-process lsphp70-gd lsphp70-mbstring lsphp70-mcrypt lsphp70-opcache lsphp70-bcmath lsphp70-pdo lsphp70-xml

 

9) php 모듈 설치 나열 

# yum search lsphp70

 

10) openlitespeed 웹콘솔 아이디 비밀번호 구성

# /usr/local/lsws/admin/misc/admpass.sh

 

11) 7080포트에 대한 방화벽 설정

# firewall-cmd --zone=public --permanent --add-port=7080/tcp
# firewall-cmd --reload

 

12) 콘솔프로그램에 접속(아이디 비번확인)

http://SERVER_IP:7080

http://localhost:7070

 

13) php설정 변경

Server Configuration → External App → Add 

type LiteSpeed SAPI App

name lsphp70

address uds://tmp/lshttpd/lsphp.sock

notes LSPHP70 Configuration

Max connections 35

command /usr/local/lsws/lsphp70/bin/lsphp

Save

 

14) lsphp5 스크립트 설정

Server Configuration → Script Handler

suffixs php

handler type LiteSpeed SAPI

handler name lsphp70

notes lsphp70 script handler definition

Save

 

15) 웹포트 8080에서 80으로 변경

Listeners   View    Edit     Save Graceful   Restart

 

서비스 관리 명령어

 

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

 

# /usr/local/lsws/bin/lswsctrl start
#start OpenLiteSpeed
# /usr/local/lsws/bin/lswsctrl stop
#Stop OpenLiteSpeed
# /usr/local/lsws/bin/lswsctrl restart
#gracefully restart OpenLiteSpeed (zero downtime)
# /usr/local/lsws/bin/lswsctrl help#show OpenLiteSpeed commands

 

Mariadb 설치

1) Mariadb 데이터베이스 관리 시스템 설치

# yum install openlitespeed mariadb-server

 

2) MariaDB 데이터베이스 시스템 시작 / 설치 보호

# systemctl start mariadb
# mysql_secure_installation

 

MariaDB root 암호 입력 요청에 Enter key를 통해 새 루트 암호를 설정확인 

 


[이 게시물은 웹지기님에 의해 2019-03-15 15:32:33 knowledge에서 이동 됨]
추천0 비추천0

댓글목록

등록된 댓글이 없습니다.

Total 103건 2 페이지
  • 88 [ Server ][ Linux ] centos7 ssh 설정 변경 및 방화벽 등록/ 삭제
  • /etc/ssh/sshd_config 에서 원하는 포트번호를 입력 # vim /etc/ssh/sshd_config # Port 2200 ssh 다시시작 # systemctl restart sshd.service 방화벽에 sshd_config에 설정한 포트를 추가 # firewall-cmd --permanent --zone=public --add-port=2200/tcp # firewall-cmd --reload # ...
  • 웹지기 02-01 12149 0 0 댓글 0
  • 87 [ Server ][ Linux ] centos7 Gitlab-CI를 이용한 자동 배포 환경 만들기
  • Gitlab-CI 기능을 활용 - branch commit시 자동배포 Gitlab CI-CD 기능을 사용하려면 gitlab-runner를 설치해야 한다. Gitlab CE 버젼을 설치하면 자동으로 gitlab-runner가 설치고 계정도 생성되므로 설정만 해주면 된다. 설정은 본 글의 하단부분을 따라하면 된다. ※ Gitlab CI 설치 - Gitlab Repository 추가 # curl -L https://packages.gitlab.com/install/reposi...
  • 웹지기 08-08 11913 0 0 댓글 0
+2
  • 열람중 [ Server ][ Linux ] openlitespeed 와 mysql mariaDB 설치 및 실행
  • openlitespeed 기능 - 고성능 이벤트 기반 아키텍처. - 초경량, 최소 cpu 및 메모리 리소스 - apache 호환 재 작성 규칙이 있슴. - 사용자에게 친숙한 webadmin GUI - 여러가지 모듈을 지원하여 기능을 향상 - 가상 호스트 페이지 캐싱을 지원 - 여러버젼의 php설치지원 1) centos7minimall 설치 2) openlitespeed 및 php7 설치를 위한 openlitespeed repository 설치 및 활성화 # rpm -ivh...
  • 웹지기 02-27 11866 0 0 댓글 0
  • 85 [ Server ][ Linux ] centos7 java 설치 및 설정
  • @root계정으로 실행 @OS의 종류 확인 # getconf LONG_BIT @설치 -- 버젼에 맞는 파일확인(https://www.oracle.com/technetwork/java/javase/downloads/index.html) # mkdir /usr/local/java/ ==> 디렉토리 생성 @다운로드 # wget --no-check-certificate --header "Cookie: oracleli...
  • 웹지기 03-14 11801 0 0 댓글 0
  • 83 [ Server ][ Linux ] CentOS7 cron 사용하기 / 파일 자동 실행 설정
  • 1. cron 설정[code][root@linux]# crontab -l//현재 cron 확인[root@linux]# crontab -e//cron 편집 - vi 와 사용법 같음(예)[root@SRV182 ~]# crontab -l30 04 10 * * /root/cron/account_month.php//매월 10일 04시 30분에 /root/cron/account_month.php를 실행하라[/code](필드 설정)필드번호의미첫번째 필드“분(minute)”을 의미. 0,1,2,3,,,,59분까...
  • 웹지기 09-27 11625 0 0 댓글 0
  • 81 [ server ][ linux ] cmd 이용 shell 접속 ( cmd ssh )방법 ( 윈도우에서 cm…
  • 쉘접속 프로그램이 있으면 좋은데, cmd에서 그냥 접속하고 싶다면, 윈도우라면 cmd를 이용해서 접속을 하면 되고, 리눅스라면 cmd라인에서 바로 명령을 입력하면 된다. # telnet 192.168.0.1 { port } 일반적으로 이런식으로 접속을 하면 된다. ssh로 접속을 하고 싶다면 # ssh -p { port } { 계정 }@192.168.0.1 이런식으로 접속을 하면 된다.
  • 웹지기 06-08 11326 0 0 댓글 0
  • 80 [ Server ][ Linux ] centos7 gitlab 설치
  • 의존패키지 설치하기 # yum install curl openssh-server postfix GitLab에서 사용하기 위해 ssh 및 이메일 발송 서비스(postfix) 서비스 자동실행 설정하기 # systemctl enable sshd postfix # systemctl start sshd postfix GitLab 패키지 다운로드 ...
  • 웹지기 04-01 11163 0 0 댓글 0
  • 79 [ Server ][ Linux ] httpd 2.4.x update to 2.4.39 on centos7
  • httpd 2.4.x update to 2.4.39 on centos7 # cd /etc/yum.repos.d # wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo # yum install httpd -y 오류 확인을 위해 # httpd -t httpd: Syntax error on line 13 of /et...
  • 웹지기 07-10 11133 0 0 댓글 0
+6
  • 78 [ Server ][ Linux ] CentOS 7 설치 및 설정하기 첫번째 부팅 USB만들기
  • CentOS 7 설치를 위해rufus-3.4p 와 CentOS7 다운로드 사이트로 이동해서 최소설치 버젼(Minimal ISO)를 다운을 받는다. 다운이 완료되었으면 부팅 USB를 만들어보자 rufus-3.4를 실행시키면 다음의 화면과 함께 부팅 USB를 만드는 조건이 시작된다. 다음과 같이 진행을 하면 된다.(USB라서 다소 시간이 걸릴 수 있습니다.) 그림에서 선택부분을 눌러서 CentOS7-x86_64-Minimal-1810.iso 파일을 선택해 주고, 볼륨레이블 ...
  • 웹지기 12-10 10776 0 0 댓글 0
  • 77 [ Server ][ Linux ] MySQL + Apache + PHP + Zend Optimizer 설치
  • ########################################################### 문서명 : MySQL + Apache + PHP + Zend Optimizer 설치 ## 작성자 : 임희 ## 작성일 : 2003 년 12 월 23 일 (화) 13:00 ## 수정일 : 2004 년 03 월 05 일 (금) 17:00 (수정) ## 수정일 : 2005 년 05 월 21 일 (토) 10:00 (수정) ## 작성서버: KERNEL - 2.4.23 / CPU : P-III 1G /...
  • 웹지기 09-28 10772 0 0 댓글 0
  • 74 [ Server ][ Linux ] 리눅스 텔넷 기본 명령어
  • 퍼미션(권한)이란?wxrwxrwxr은 파일 읽기(4), w는 파일 쓰기(2), x는 파일 실행(1)755파일소유자는 그것을 읽고 쓰고 실행시킬 수 있지만, 제3자는 읽고 실행만 시킬 수 있다.777제3자도 쓰기 권한이 주어진다.*.html *.cgi, *.pl *.txt등의 파일은 업로드시 반드시 ascii로하고나머지 그림(*.gif *.jpg)이나 자바 애플릿(*.class), 실행파일(*.exe *.zip *.rar)등은 binary mode로 업로드 할 것.리눅스 기본명령어이들 앨리어스는 [...
  • 웹지기 10-01 10628 0 0 댓글 0
게시물 검색

회원로그인

접속자집계

오늘
1,571
어제
8,332
최대
33,828
전체
8,423,598

그누보드5
Copyright © funyphp.com. All rights reserved.