centos安裝php伺服器

來源:互聯網
上載者:User

標籤:資料庫安裝   windows   php伺服器   控制台   虛擬機器主機   

easypanel 是一款免費的功能強大集開通虛擬機器主機,ftp空間,資料庫等功能為一體的主機控制台 , 具備跨平台(windows,linux),安全穩定、操作簡便等特點。支援php(windows版本還支援asp,asp.net),支援磁碟配額,線上檔案管理,線上web軟體安裝。

2、linux下安裝及升級
(整合了kangle 網頁伺服器和mysql,僅支援centos 5和centos 6)
執行下面的命令即可,安裝程式將自動安裝或者升級。

  1. yum -y install wget;wget http://download.kanglesoft.com/easypanel/ep.sh -O ep.sh;sh ep.sh

  2.  

複製代碼

全自動安裝,安裝後需要自己安裝mysql資料庫

資料庫安裝方式


首先來進行 MySQL 的安裝。開啟超級終端,輸入:

[[email protected] ~]# yum install mysql mysql-server

安裝完畢,讓 MySQL 能夠隨系統自動啟動:

[[email protected] ~]# chkconfig --levels 235 mysqld on[[email protected] ~]# /etc/init.d/mysqld start

設定 MySQL 資料 root 賬戶的密碼:

[[email protected] ~]# mysql_secure_installation

當出現如下提示時候直接按斷行符號:

Enter current password for root

出現如下再次斷行符號:

Set root password? [Y/n]

出現如下提示輸入你需要設定的密碼,斷行符號後在輸入一次確認:

New password:

接下來還會有四個確認,分別是:

Remove anonymous users? [Y/n]Disallow root login remotely? [Y/n]Remove test database and access to it? [Y/n]Reload privilege tables now? [Y/n]

直接斷行符號即可。


本文出自 “雲心” 部落格,請務必保留此出處http://yunabc.blog.51cto.com/8802184/1542545

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.