macsplex.com 로그인

검색

CentOS
2017.06.01 13:17

CentOS APM 설치운영

조회 수 124 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form

1. 웹서버(아파치) 설치

1) 웹서버 설치

    # yum install httpd

2) 웹서버 시작

   # serivce httpd start

3) 포트 80 방화벽 해제

   # iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT

2. php, mysql 설치

1) php설치

# yum install php

 

3. mysql 설치

1)mysql 설치

# yum install mysql-server mysql

3) 서비스 시작

# service mysqld start

4) mysql root 패스워드 변경

# mysql - u root -p mysql

mysql > update user set password = password ('비밀번호') where user ='root';

mysql > flush privileges;

mysql > quit


> mysql -u root -p mysql

  • 다음 명령으로 비밀번호 설정
mysql> update user set pasword = password('비밀번호') where user = 'root';
  • 이제 권한테이블 업데이트하고 빠져나온다
mysql> flush privileges;
mysql> quit
  • 아래와 같이 다시 접속하면서 비밀번호를 입력한다.
> mysql -u root -p
Enterpassword : 


출처: http://leeyongjin.tistory.com/entry/MySql-설치-후-root-비밀번호-초기설정 [마이스토리]
iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT

출처: http://webdir.tistory.com/170 [WEBDIR]
iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT

출처: http://webdir.tistory.com/170 [WEBDIR]




--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

리눅스 Tip

Linux Tip

  1. CentOS 8 웹콘솔(Cokpit) 설치하기

    CategoryCentOS
    Read More
  2. Fedora(페도라), CentOS에서 나눔폰트 설치하는 방법

    CategoryCentOS
    Read More
  3. CentOS 한글추가방법

    CategoryCentOS
    Read More
  4. centos mysql 암호초기화

    CategoryCentOS
    Read More
  5. CentOS APM 설치운영

    CategoryCentOS
    Read More
  6. Yum Repository CD/DVD 지정

    CategoryCentOS
    Read More
  7. CentOS7 NTFS 마운트

    CategoryCentOS
    Read More
  8. CentOS7 VNC서버 설치

    CategoryCentOS
    Read More
  9. CentOS webpanel

    CategoryCentOS
    Read More
  10. CentOS7 gnome 설치

    CategoryCentOS
    Read More
  11. CentOS7 SSH 설치

    CategoryCentOS
    Read More
  12. centos 6 KVM tip

    CategoryCentOS
    Read More
  13. centos 6 monitorx install

    CategoryCentOS
    Read More
  14. centos 6.7 kvm install after iso permission denied

    CategoryCentOS
    Read More
  15. centos 6 kvm bridge setting

    CategoryCentOS
    Read More
  16. centos xrdp install

    CategoryCentOS
    Read More
  17. CentOS 7 네트워크 설정

    CategoryCentOS
    Read More
  18. Install Webmin on CentOS 7

    CategoryCentOS
    Read More
Board Pagination Prev 1 Next
/ 1