日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Ubuntu >内容正文

Ubuntu

ubuntu 安装lamp

發(fā)布時間:2024/9/5 Ubuntu 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ubuntu 安装lamp 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

1. sudo apt-get install apcher2


2.sudo apt-get install php5


3.sudo apt-get install mysql-server


4.sudo apt-get install phpmyadmin


5.配置https://help.ubuntu.com/14.04/serverguide/phpmyadmin.html

配置

The configuration files for?phpMyAdmin?are located in?/etc/phpmyadmin. The main configuration file is?/etc/phpmyadmin/config.inc.php. This file contains configuration options that apply globally to?phpMyAdmin.

To use?phpMyAdmin?to administer a MySQL database hosted on another server, adjust the following in?/etc/phpmyadmin/config.inc.php:

$cfg['Servers'][$i]['host'] = 'db_server';

Replace?db_server?with the actual remote database server name or IP address. Also, be sure that the?phpMyAdmin?host has permissions to access the remote database.

Once configured, log out of?phpMyAdmin?and back in, and you should be accessing the new server.

The?config.header.inc.php?and?config.footer.inc.php?files are used to add a HTML header and footer to?phpMyAdmin.

Another important configuration file is?/etc/phpmyadmin/apache.conf, this file is symlinked to?/etc/apache2/conf-available/phpmyadmin.conf, and, once enabled, is used to configure?Apache2?to serve the?phpMyAdmin?site. The file contains directives for loading?PHP, directory permissions, etc. From a terminal type:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf sudo a2enconf phpmyadmin.conf sudo service apache2 reload


如果配置成功,瀏覽器輸入localhost/phpmyadmin以及l(fā)ocalhost/都是可以訪問的


轉載于:https://www.cnblogs.com/freeopen/p/5482904.html

總結

以上是生活随笔為你收集整理的ubuntu 安装lamp的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。