Ubuntu 安装 Cockpit CMS

Cockpit是轻量、开源的内容管理系统,不同于WordPress、Drupal等传统的CMS,它专注于简洁、轻量。

Cockpit was born out of the need of building a simple dynamic site. Sure, WordPress, Joomla, Drupal and all the other full-stack content management systems are possible solutions for that task … but let’s be honest, often they are just too bloated and too time consuming to setup, maintain and too complex implementing custom functionality.

特性:

Linux 安装 Cockpit CMS

Cockpit的后台数据库使用SQLite(或MongoDB)。

Cockpit的源代码:https://github.com/COCOPi/cockpit

Ubuntu 16.04 安装 Cockpit CMS

#1 安装SQLite

#2 安装PHP和PHP模块

#3 配置PHP(/etc/php/7.0/fpm/php.ini

PHP内存限制大小:

fix_pathinfo = 0:

设置时区:

upload_max_filesize和post_max_size:

重启PHP-FPM服务:

#4 下载Cockpit

更改目录所有者:

#5 安装配置Nginx

配置Nginx:

注意替换域名。

激活配置文件:

测试Nginx配置:

Ubuntu 安装 Cockpit CMS

重启Nginx:

#6 完成安装

使用浏览器访问:your_domain.com/install:

Screen Shot 2016-07-08 at 5.23.12 PM

Ok,安装完成,使用户名admin,密码admin登录:

Screen Shot 2016-07-08 at 5.24.17 PM

Screen Shot 2016-07-08 at 5.25.36 PM

Cockpit文档:http://getcockpit.com/docs

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注