nstalling Apache MySQL, PHP and phpmyadmin on Ubuntu10.10 Maverick Meerkat is far easier and less complicated than doing the same on Fedora 13, (my own experience).
Step 1: You start by installing mysql
sudo apt-get install mysql-client mysql-server
Specify new password for the MySQl “root” user when prompted. Repeat it for a second time and you would have MySQL server and client installed.
Step 2: Next, install Apache2:
sudo apt-get install apache2
Step 3: To install support for PHP, do the usual
sudo apt-get install php5 libapache2-mod-php5
To verify that everything installed correctly and php support is enabled, you need torestart apache by doing this
sudo /etc/init.d/apache2 restart
Create a test php file called info.php, using a text editor of your choice (say gedit)
sudo gedit /var/www/info.php
and paste the following content and save the file
<?php phpinfo(); ?>
Step 4: To make MySQL, php and apache talk among themselves, you would have to install php5-mysql, below I am listing some more useful packages that you might want to install
sudo apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-common
Now refresh the info.php page that you have open in your browser and you should be able to see the support for mysql if you search for it by doing Ctrl+f, but before that don’t forget to restart apache again (sudo /etc/init.d/apache2 restart)
相关推荐
Ubuntu 10.10安装配置tftp服务.doc
ubuntu10.10安装配置全过程图文详解
ubuntu 10.10网络配置10步曲
Ubuntu 10.10的安装图解过程Ubuntu 10.10的安装图解过程
Ubuntu 10.10在2010年10月正式发布,让众多Ubuntu用户都对这款全新的系统充满期望。毕竟,Ubuntu 10.10是Canonical公司推出的最为用户友好的系统,而且为它添加了很多新的功能。 熟悉Ubuntu系统的用户了解,在...
在U盘中安装Ubuntu 10.10的方法
自己整理的Ubuntu安装指南。希望对大家有帮助
Ubuntu10.10下嵌入式开发环境的配置
U盘安装ubuntu10.10图文教程
用Ubuntu10.10 dvd版本作为本地源,Ubuntu 10.10 DVD ISO挂载的方式来更新软件,已经通过测试
Ubuntu10.10网卡配置文件重启失效.docx
Ubuntu10.10下tftp服务器配置笔记
非常详细的 Ubuntu 10.10安装Oracle 10g 教程
ubuntu10.10安装低版本的gcc编译器
windows_XP下安装Ubuntu10.10
在Ubuntu 10.10下安装JDK配置Eclipse及Tomcat,重点介绍了如果安装JDK,如何配置JDK的环境变量,如果安装Eclipse,以及如何配置Tomcat
Ubuntu 10.10 桌面版硬盘安装教程
在ubuntu10.10下安装的ns2的说明手册,出现问题的解决手册
Ubuntu10.10配置TFTP和NFS
Ubuntu 10.10 图形安装教程、网络设置、软件源、基本配置(超详细)