- 浏览: 197110 次
文章分类
- 全部博客 (224)
- jsp (5)
- jsf (7)
- web (11)
- js (12)
- COBOL (5)
- php (7)
- jconsole (1)
- java (11)
- ajax (1)
- PHP魔法方法 (1)
- 项目管理工具 (3)
- 项目管理 (2)
- svn (8)
- redmine (1)
- mysql (4)
- qrcode,php (1)
- qrcode (1)
- 多进程 (3)
- html (1)
- excel (2)
- seasar2 (1)
- db (1)
- entity (1)
- IOS8 (1)
- SWIFT (1)
- 正则表达式 (1)
- RabbitVCS (1)
- url (1)
- thinkphp (2)
- c++ (5)
- win32 API函数 (1)
- htaccess (1)
- makefile (3)
- C/C++ (12)
- Linux (1)
- miui (2)
- unix (1)
- wechat (1)
- websocket (1)
- SpringMVC (3)
- VSAM (1)
- centos (2)
- wamp (1)
- server (1)
- 优酷视频上传并去除广告 (1)
- owncload (1)
- cloud (1)
- ubuntu (1)
- pdf转换成word (1)
- 微信,weixin (1)
- 行业系统 (3)
- 超级外卖源代码 (0)
- 软件专利 (1)
- 申请 (1)
- vba (1)
- UML (1)
- 程序切片 (1)
- 股票心得 (1)
- 威客建站 (1)
- 微信开发学习路线 (1)
- 远程开机 (1)
- spring mvc (1)
- JEECMS (1)
- Node.js (1)
- ThinkJS (1)
- maven (2)
- MyEclipse+Tomcat+MAVEN+SVN (1)
- Spring+SpringMVC+MyBatis (1)
- wampserver (0)
- RESTful (1)
- hibernate (4)
- Spring+SpringMVC (1)
- 响应式布局 (1)
- 响应式布局模板 (1)
- Aptana (3)
- 遗传算法 (1)
- 进化算法 (1)
- bower (1)
- HTML5 (1)
- Android官方培训课程 (1)
- MySQL锁 (1)
- 扫描枪 (1)
- 微信公众平台 (1)
- 企业号 (1)
- ddns (1)
- java获取外网ip (1)
- DDNS,阿里云,云解析,万网域名,阿里云域名 (1)
- SEO (1)
- Jboss (2)
- wildfly (1)
- WildFly8 (2)
- NT Kernel (1)
- 反向代理 (1)
- Spring嵌套事务 (1)
- apache (3)
- 防止浏览器记住用户名及密码的简单实用方法 (1)
- 时间戳 (1)
- 字体 (1)
- 网络爬虫准 (1)
- 屏蔽后退按钮 (1)
- java web (1)
- JavaMail (1)
- windows服务 (1)
- Freemarker (1)
- TortoiseGit (2)
- oschina (1)
- JSON (1)
- Boost (1)
- MUI (1)
- github (1)
- Python2.7 (1)
- Python3.0 (1)
- Odoo (1)
- java socket (1)
- OpenERP (2)
- werkzeug (1)
- JNA (2)
- proxifier (1)
- WebService (1)
- 企业应用集成 (1)
- vmware (1)
- Navicate (1)
- 三体 (1)
- oracle同步 (1)
- 微信 (3)
- java设计模式 (1)
- 工具 (1)
- JavaScript跨域 (1)
- LB (1)
- 负载均衡 (1)
- AngularJS (1)
- HBuilder (1)
- Echarts (1)
- Json Web Token (1)
- PassportSDK (1)
- ubuntu kylin xterm 乱码 (1)
- ubuntu kylin17 安装字体教程 (1)
- wps (1)
- jetbrains (1)
- MySQL5.7 (1)
- Nginx (1)
- JDK (1)
最新评论
-
cuiyadll:
谢谢楼上的推荐
实战:jQuery Mobile开发HTML5移动应用 -
marty:
使用JQueryMobile,推薦使用這免費開發工具,提供可視 ...
实战:jQuery Mobile开发HTML5移动应用 -
men_clslji:
按照目前的方法只是防止刷新页面时不再执行X(添加),而toke ...
有了上一篇博文,类似地顺便说说表单防重复提交。
一键安装LAMP环境
LAMP环境是可以一键安装的。即安装好Linux ubuntu后,用
Sudo apt-get install tasksel
Sudo tasksel install lamp-server
两个命令就可以安装Apache+Mysql+Php环境了。
错误信息:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
解决方法:
sudo gedit /etc/apache2/apache2.conf
在文件后面加上:
#Server Name
ServerName 127.0.0.1
Step 1:
Installing apache
Open Terminal. To open terminal click the Dash home from unity launcher. And type terminal in the search field.And click Terminal .
And type the below code in terminal and hit enter.
sudo apt-get install apache2
Type your ubuntu password and press enter.
Type y and hit enter to confirm apache installation.
After the successful installation , open your favorite browser and type
http://localhost/
in the address bar and press enter. If you will see ‘It works!’ , then your apache works fine.
Step 2:
Installing PHP
Open Terminal. And type the below code in terminal and hit enter.
sudo apt-get install php5 libapache2-mod-php5
Type your ubuntu password if needed.
Type y and hit enter to confirm PHP installation.
After the successful installation restart Apache using the below code
sudo /etc/init.d/apache2 restart
Test PHP installation
To test PHP is installed, Type
sudo gedit /var/www/phpinfo.php
in the terminal and type your ubuntu password if needed. It will open the phpinfo.php file in gedit.Type below code in the phpinfo.php file, save and exit it .
<?php phpinfo() ?>
Now open your favorite browser and type http://localhost/phpinfo.php in the address bar and press enter. If you will see the below page , then your php works fine.
Step 3:
Installing MySql
Open Terminal. And type the below code in terminal and hit enter.
sudo apt-get install mysql-server
Type your ubuntu password if needed.
Type y and hit enter to confirm MySql installation.
During the installation you will be prompted for a password.Choose something secure and type the password and hit enter .
Repeat the password and press enter.
Step 4:
Installing phpMyadmin
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web.
Open Terminall. And type the below code in terminal and hit enter.
sudo apt-get install phpmyadmin
Type your ubuntu password if needed.
Type y and hit enter to confirm phpMyadmin installation.
During the installation you will be prompted for a webserver configuration.
Select
apache2
(already selected)
press enter.
Now you will be promped for phpmyadmin configuration
Select
No
and press enter.
Type below command in terminal
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
restart your apache server using
sudo /etc/init.d/apache2 restart
Open your browser and type
http://localhost/phpmyadmin/
in the address bar and press enter.
Type your mysql root username and password to login.
You’re now ready to start building your local website. just put all of your files into
/var/www
it is from :http://connectwww.com/how-to-install-and-configure-apachephpmysql-and-phpmyadmin-on-ubuntu/727/
Sudo apt-get install tasksel
Sudo tasksel install lamp-server
两个命令就可以安装Apache+Mysql+Php环境了。
错误信息:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
解决方法:
sudo gedit /etc/apache2/apache2.conf
在文件后面加上:
#Server Name
ServerName 127.0.0.1
Step 1:
Installing apache
Open Terminal. To open terminal click the Dash home from unity launcher. And type terminal in the search field.And click Terminal .
And type the below code in terminal and hit enter.
sudo apt-get install apache2
Type your ubuntu password and press enter.
Type y and hit enter to confirm apache installation.
After the successful installation , open your favorite browser and type
http://localhost/
in the address bar and press enter. If you will see ‘It works!’ , then your apache works fine.
Step 2:
Installing PHP
Open Terminal. And type the below code in terminal and hit enter.
sudo apt-get install php5 libapache2-mod-php5
Type your ubuntu password if needed.
Type y and hit enter to confirm PHP installation.
After the successful installation restart Apache using the below code
sudo /etc/init.d/apache2 restart
Test PHP installation
To test PHP is installed, Type
sudo gedit /var/www/phpinfo.php
in the terminal and type your ubuntu password if needed. It will open the phpinfo.php file in gedit.Type below code in the phpinfo.php file, save and exit it .
<?php phpinfo() ?>
Now open your favorite browser and type http://localhost/phpinfo.php in the address bar and press enter. If you will see the below page , then your php works fine.
Step 3:
Installing MySql
Open Terminal. And type the below code in terminal and hit enter.
sudo apt-get install mysql-server
Type your ubuntu password if needed.
Type y and hit enter to confirm MySql installation.
During the installation you will be prompted for a password.Choose something secure and type the password and hit enter .
Repeat the password and press enter.
Step 4:
Installing phpMyadmin
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web.
Open Terminall. And type the below code in terminal and hit enter.
sudo apt-get install phpmyadmin
Type your ubuntu password if needed.
Type y and hit enter to confirm phpMyadmin installation.
During the installation you will be prompted for a webserver configuration.
Select
apache2
(already selected)
press enter.
Now you will be promped for phpmyadmin configuration
Select
No
and press enter.
Type below command in terminal
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
restart your apache server using
sudo /etc/init.d/apache2 restart
Open your browser and type
http://localhost/phpmyadmin/
in the address bar and press enter.
Type your mysql root username and password to login.
You’re now ready to start building your local website. just put all of your files into
/var/www
it is from :http://connectwww.com/how-to-install-and-configure-apachephpmysql-and-phpmyadmin-on-ubuntu/727/
相关推荐
一键安装lamp环境。
一键部署LAMP环境,搭建自己的个人博客不是梦,基于FPM模式的编译安装实现Lamp应用的wordpress,
一键安装lamp。具体软件版本升级需要后续自行配置
阿里云主机一键安装lamp,lnmp,自动安装脚本,由阿里云主机分享 一键安装包下载地址:点击下载 1、阿里云分享的一键安装lamp,lnmp,此安装包包含的软件及版本为: 代码如下: nginx:1.0.15、1.2.5、1.4.4 apache:...
## linux系统上自动搭建lamp环境 ``` cd lamp-auto-config chmod -R 777 lamp_auto_config.sh ./lamp_auto_config.sh #执行shell脚本 ``` 1.安装后配置环境mysql变量 find / -name mysql#查看位置 2.一般在...
嵌入式Linux开发
AppServ是PHP网页架站工具组合包,泰国的作者将一些网路上免费的架站资源重新包装成单一的安装程序,以方便初学者快速完成架站,AppServ 所包含的软件有:Apache、Apache Monitor、PHP、MySQL、PHP-Nuke、phpMyAdmin...
解压完成后选择 2 则进行默认安装 安装在/usr/local/php_env_shishui路径下 安装完后会重启 重启后再次进入install_php文件夹 执行 sh open_php_envriment 即可打开mysql和apache mysql中root用户若有密码 则默认是...
phpStudy是集安全、高效、功能于一体且完全免费的一键服务器环境搭建软件,迄今已有十多年的开发历史,支持一键LAMP、LNMP、集群、监控、网站、FTP管理、redis、数据库、php多版本共存、JAVA、多用户多权限、网站...
lanmp一键安装包是wdlinux官网2010年开始推出的lamp,lnmp,lnamp(apache,nginx,php,mysql,zend,eAccelerator,pureftpd)应用环境的快速简易安装包,执行一个脚本,整个环境就安装完成就可使用,快速,方便易用,安全稳定...
|---一键安装.bat 环境启动脚本文件 |---一键卸载.bat 环境关闭脚本文件 |---服务器重启.bat 环境重启脚本文件 | --- eadme.txt 安装文档 |---sever web环境组件 | | ...
|---一键安装.bat 环境启动脚本文件 |---一键卸载.bat 环境关闭脚本文件 |---服务器重启.bat 环境重启脚本文件 | --- eadme.txt 安装文档 |---sever web环境组件 | | | +--apache Apache 程序...
docker安装 docker安装方法有多种,下面列举在Windows和Linux系统中的安装步骤:12 Windows系统中的安装方法: 对于Windows Server系统,可以使用Microsoft发布的PowerShell模块DockerMicrosoftProvider来安装...
基于阿里云一键安装包源码安装,安全、稳定、高效,用户可以自由安装所需的组件,如lnmp、lamp、lnmpa、lnmt,并提供快捷方便添加虚拟主机、ftp账号等功能
如果我们是资深Linux用户,可能不屑于网上免费Linux Web一键包、管理面板的安装,然后自己编译或者自由的一套环境安装配置环境。但是,对于大部分用户而言,麦子个人建议还是选择较为成熟的WEB一键包或者面板安装...
建议先通过phpnow1.5.6在Windows一键搭好php环境,然后通过Mysql_Gui_Tools图形化Mysql,把php工程写好,把php工程、Mysql数据库导入导出到Linux上面跑,Linux纯属就是跑工程,不做开发。 一、LAMP的下载、安装与...
适应于新手搭建LAMP环境
继著名的LAMP Stack(Linux + Apache + MySQL/MariaDB + PHP)网站环境之后,LNMP Stack(Linux + Nginx + MySQL/MariaDB + PHP)以其负载小、静态文件处理能力强的优势,在Linux平台上开始流行,尤其是在配置不太高...
你可以自由 下载 并使用它在VPS(VDS)或独立服务器上,做为真正的生产环境或测试环境。 它安装那些软件 Nginx MySQL PHP PHPMyAdmin Apache Zend Optimizer eAccelerator ionCube PureFTPd ...