본문 바로가기

OS/Linux

CentOS apache php mysql 환경설졍

1. [root@localhost ~]# yum -y install httpd mysql mysql-server php php-mysql postgresql postgresql-server php-postgresql php-pgsql php-devel


2. [root@localhost ~]# service httpd start

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

                                                           [  OK  ]


3. 

[root@localhost ~]# service mysqld start

[root@localhost ~]# mysqladmin -u root password '비번'

[root@localhost ~]# mysql -uroot -p비번

'OS > Linux' 카테고리의 다른 글

You could try using --skip-broken to work around the problem  (0) 2016.05.27
Mysql Backup and Restore  (0) 2016.04.25
Centos7 현재 디렉토리 전체 size.  (0) 2014.08.14
samba mount  (0) 2014.08.14
CentOS7 ntp 설치.  (0) 2014.07.28