일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 구글 클라우드
- child theme
- mysql
- SSL
- Mac
- new user
- crontab
- vscode
- Fail2ban
- Linux
- Liniux
- git pull
- home page
- centos
- Certbot
- MariaDB
- Xdebug
- front page
- Google Cloud
- https
- Apache
- launch.json
- php
- wordpress
- html
- DOM Parser
- root
- non-www
- LetsEncrypt
- CentOS7
- Today
- Total
목록Linux (3)
between 0 and 1
CentOS 7에 PHP7 설치하기 CentOS 7에 yum을 이용해 php를 설치하면, 5.4.x 버전이 설치가 된다.하지만, 지금 PHP의 최신 버전은 7.x 최신 버전을 설치하는 방법은 아래와 같다. 1. EPEL and Remi repository를 설치하고 활성화한다.$> yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm$> yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 2. yum-utils 를 설치한다.$> yum install yum-utils * yum-utils은 yum repositorie와 package를 관리할 ..
CentOS 7에 서버환경을 구축하는 간단한 방법!(Apache, PHP, MariaDB) 1. 서버 환경 설치 - Apache, PHP, MariaDB $> yum install httpd php mariadb-server php-mysql 2. 시작 서비스로 등록 - 서버가 부팅될 때 서비스가 자동으로 시작되도록 등록 $> systemctl enable httpd$> systemctl enable mariadb 3. 서비스 시작$> systemctl start httpd$> systemctl start mariadb 4. MariaDB 관리자 비밀번호 설정$> mysql_secure_installation 5. MariaDB 외부에서 접근 가능하도록 설정1) root 계정으로 MariaDB 접속$> ..
구글 클라우드 (Google Cloud) 에서 생성한 Linux VM에는 기본적으로 Root의 암호가 설정되어 있지 않다. 그렇기 때문에, Root 권한으로 접근하기 위해서는 2가지 방법이 있다. 1. Password 없이 Root 권한 이용하기 $> sudo su 2. Password 설정하고 Root 권한 이용하기 $> sudo passwd 이게 끝!!참 쉽다!!