티스토리 뷰
먼저 LAMP부터 구축한뒤에, composer 설치, laravel설치.순서로 하시면 되시겠다.
아 깃이 필요할지도 모른다...(...라라벨 공식문서에는 git을통해 설치하는 방법이 있으니, 그 방법을 쓰실거면 ㄱㄱ)
LAMP구축은 그냥 설렁설렁 대충대충하시고,
composer은 설치할려면
|
# curl -sS https://getcomposer.org/installer | php
|
입력하면 설치됨.
이걸 이제 전역적으로 사용해야하는데,
|
# mv composer.phar /usr/bin/composer
|
하면 끝.
설치확인은?

이제 라라벨을 설치해보자.
라라벨은
|
# composer create-project laravel/laravel --prefer-dist
|
로 설치하면 됨. 뒤에 프로젝트 이름 붙이면 해당 프로젝트 이름으로 프레임웤 생성됨.
|
# cd 프로젝트명
#chmod 777 -R bootstrap/cache #chmod 777 -R storage
|
만약 안바꾸면 퍼미션 데니 에러창을 보게 될것임 ㅋ
|
#vi /etc/httpd/conf/httpd.conf
ServerName IP<수정> |

이렇게 바꿔야함. AllowOverride All로 안바꾸면 라우터 안된다함.
|
# systemctl restart httpd
|
서비스 재시작
그리고 입력한 아이피로 접속하면 라라벨이 쨘!
출처 : https://getcomposer.org/download/
Composer
Download Composer Latest: v1.8.5 To quickly install Composer in the current directory, run the following script in your terminal. To automate the installation, use the guide on installing Composer programmatically. php -r "copy('https://getcomposer.org/ins
getcomposer.org
https://getcomposer.org/doc/00-intro.md#globally
Introduction - Composer
Introduction# Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Dependency management# Composer is not a package manager in the same sense a
getcomposer.org
https://www.laravel.co.kr/docs/4.x/installation
Laravel Korea
Laravel 프레임워크 Laravel 프레임워크를 사용하는 한국 사용자 모임입니다.
www.laravel.co.kr
+
이런게 있다고 한다......패키지로 다 설치해주는...... 이렁거........
https://github.com/php79/stack
php79/stack
PHP 5.3 ~ 7.2 + Nginx + MariaDB + 앱 자동 설치. Contribute to php79/stack development by creating an account on GitHub.
github.com
저장소는 레미가 좋답니다.
'SERVER' 카테고리의 다른 글
| [Laravel5] 필드 리스트를 받아보자. (0) | 2019.06.24 |
|---|---|
| [laravel] 이제 윈도우에서 발렛파킹해보자. (0) | 2019.05.15 |
| DB 캐릭터셋 (0) | 2019.04.30 |
| HOW TO INSTALL LAMP ON CENTOS 7 (httpd, php, mariadb, myphpadmin) (0) | 2019.04.24 |
- Total
- Today
- Yesterday
- twoseven.kr/0410
- UTF8
- twoserven.kr/0410
- gcp
- fmf
- Testing
- 더미데이터도유형이있어요
- 엘라스틱서치한글성공!
- 프로그래밍은디버거부터시작이다
- 배열을_이쁘게
- PhpStorm
- 테스팅
- xml로도
- JSON으로도
- 테스팅환경
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |