ubuntu 14.4 apache2 django】的更多相关文章

记录下自己的配置过程以及遇见的问题. 系统: Ubuntu 14.04 64 系统内置Python版本:2.7.6 先声明,我一下操作都以root身份. 若登录是非root身份,请在命令前加sudo. 1. 安装apache2 用 apt-get命令,它是一款适用于Unix和Linux系统的应用程序管理器.用于检索应用程序并将其加载到Debian Linux系统.想了解apt-get具体用法. root@louis:~# apt-get update  # 再拿到Ubuntux系统的时候 强烈推…
一.购买服务器 推荐 vultr的服务器,还可以_ _ _,链接:传送门 操作系统建议选 ubuntu 14.04 64位 二.购买域名 链接:传送门 三.安装相关软件 # 创建一个叫mu的用户 root@localhost:~# useradd -m -s /bin/bash mu # 把新创建的用户加入超级权限组 root@localhost:~# usermod -a -G sudo mu # 为新用户设置密码 # 注意在输密码的时候不会有字符显示,接着敲即可 root@localhost…
一.简要步骤.(Ubuntu14.04) Python安装 Django Mysql的安装与配置 记录一下我的部署过程,也方便一些有需要的童鞋,大神勿喷~ 二.Python的安装 由于博主使用的环境是Ubuntu14.04,所以系统自带了Python2.7.11. 我们可以使用Python –V查看自己Ubuntu中的Python版本. 三.Django 1.现在Django的版本已经到1.10.1了.我们可以到官网去下载,然后解压安装. 下载地址:http://www.djangoprojec…
一.简要步骤.(阿里云Ubuntu14.04) Python安装 Django Mysql的安装与配置 记录一下我的部署过程,也方便一些有需要的童鞋,大神勿喷~ 二.Python的安装 由于博主使用的环境是Ubuntu14.04,所以系统自带了Python2.7.6. 我们可以使用Python –V查看自己Ubuntu中的Python版本. 三.Django 1.现在Django的版本已经到1.9.2了.我们可以到官网去下载,然后解压安装. 下载地址:http://www.djangoproje…
关键点1:chmod-socket=666 (mysite_uwsgi.ini) 关键点2 : 工程目录和虚拟环境目录搞清楚 几个参考: http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-…
1. Python Of course you will need Python. Still Python 2.7 is preferred, however if you would like to create new projects with Python 3, it is also fine to do. Newest Python could be downloaded from https://www.python.org/downloads/ 2. pip It is a ve…
环境: Ubuntu Server 14.04 , Apache2.4 一.Apache2.4 虚拟主机配置 01. 新建一份配置文件 在apache2.4中,虚拟主机的目录是通过/etc/apache2/sites-available中配置的,默认情况下,apache有一个默认的虚拟主机文件叫000-default.conf.我们将会复制000-default.conf文件内容到我们新的虚拟主机配置文件中. 代码如下: sudo cp /etc/apache2/sites-available/…
Ubuntu 14 中给 APACHE2安装 SSL 模块 Enable SSL site on Ubuntu 14 LTS, Apache 2.4.7: 参考 http://blog.csdn.net/Sky_qing/article/details/44303221 1. 启用SSL模块 sudo a2enmod ssl 如果不执行这条命令, apache2ctl configtest 检测会有这样的错误 AH00526: Syntax error on line 43 of /etc/ap…
I assume you already had a lamp environment first step,we must to install memched in our Ubuntu System,open the url( https://memcached.org/downloads ) go to the Installation section ,you will see like this : Debian/Ubuntu: apt-get install libevent-de…
在 ubuntu 14.04 上安装ceph calamari时,遇到calamari web界面中node server可以正常添加,但cluster 集群无法显示的问题. 经过定位,是因为saltstack master/minion 版本不匹配问题. 特记录正确的安装过程. Note: Calamari does not currently support 2015.5 salt please consider using 2014.7 instead Also it is importa…