AWS 构建个人网站(1)
来源:互联网 发布:淘宝开店的类目 编辑:程序博客网 时间:2024/05/01 05:50
最近在AWS上构建个人网站,遇到了一些问题,记笔记时间。
还是在网上找教程,吐个槽,也许是时间问题,现在网上教程各种,说话说一半,犹抱琵琶半遮面的感觉,总是“卧槽这一步怎么做了没有用”
ok, 主要是跟着这一个在做:
http://www.cnblogs.com/deltacat/p/amazon-aws-web-1.html
主要问题有:
1. phpMyAdmin need to allow remote user
(http://superuser.com/questions/291230/how-to-install-phpmyadmin-on-linux-ec2-instance)
(http://stackoverflow.com/questions/23704674/phpmyadmin-allow-remote-users)
sudo yum --enablerepo=epel install phpmyadmin
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
this comes with the advantage of uninstalling via
There are two ways to use EPEL, one is above, the other is to activate it permanently, editing the file(sudo) yum erase phpmyadmin
/etc/yum.repos.d/epel.repo
and where it says enabled=0
we change it to enabled=1
, now you can sudo yum install phpmyadmin
.Then,
I need to modify the file /etc/httpd/conf.d/phpMyAdmin.conf
like:
<Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 <IfModule mod_authz_core.c> # Apache 2.4 <RequireAny> #ADD following line: Require all granted Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 #CHANGE following 2 lines: Order Allow,Deny Allow from All Allow from 127.0.0.1 Allow from ::1 </IfModule></Directory>
2. WordPress on EC2 Requires FTP Credentials to Install Plugins
模版时报权限问题(http://stackoverflow.com/questions/17768201/wordpress-on-ec2-requires-ftp-credentials-to-install-plugins)
sudo chown -R apache:apache /var/www/html
3. 我忘记了登陆密码 mysql主要靠这个
http://coolway.blog.51cto.com/1481819/302099
http://blog.unvs.cn/archives/phpmyadmin-login-error.html
- AWS 构建个人网站(1)
- AWS 构建个人网站(2)
- 打算构建一个个人网站
- 基于虚拟主机构建个人网站
- Bootstrap构建一个个人网站
- 第一次构建个人网站的记录
- 个人网站搭建(1)
- aws s3 (1)
- AWS EC2 构建web服务器
- 用Wordpress搭建个人网站(1)
- 我的个人网站(1)
- 个人网站开发1
- 网站构建(1)
- TinyUI入门实践之快速构建个人网站
- 创建个人网站(二) 网站备案
- 任务1简单个人网站
- 淘宝技术发展(个人网站)
- 淘宝技术发展(个人网站)
- 跳转后TabBar消失,返回后TabBar出现
- TextView属性详解
- web前端常用工具网址
- BST-----Validate Binary Search Tree
- Educational Codeforces Round 3 B.The Best Gift (数学)
- AWS 构建个人网站(1)
- Sencha Touch 自定义List的三种实现方案
- thrift在centos6.5下编译环境的安装
- VLC 视频播放资料 收集
- Spring集成Quartz定时任务框架介绍和Cron表达式详解
- __attribute__ 你知多少?
- 数据存储方式
- js简单实现图片切换效果
- 又见母函数