update every time
sudo apt-get update
sudo apt-get dist-upgradeinstall prefer apt-get
sudo apt-get install postgresql postgresql-contrib postgresql-clien| FROM ubuntu:14.04 | |
| MAINTAINER Yaodong Zhao | |
| RUN apt-get install -y build-essential libssl-dev git nginx postgresql postgresql-contrib | |
| RUN git clone https://github.com/sstephenson/rbenv.git .rbenv | |
| RUN git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
| ENV PATH ~/.rbenv/bin:~/.rbenv/bin:$PATH |
| source "https://api.berkshelf.com" | |
| cookbook 'build-essential', '~> 2.0.6' | |
| cookbook 'sudo', '~> 2.7.0' | |
| cookbook 'users', '~> 1.7.0' | |
| cookbook 'chef-solo-search', '~> 0.5.1' | |
| cookbook 'sshd', '~> 1.1.0' | |
| cookbook 'fail2ban', '~> 2.2.0' | |
| cookbook 'ufw', '~> 0.7.4' |
| # Sample verbose configuration file for Unicorn (not Rack) | |
| # | |
| # This configuration file documents many features of Unicorn | |
| # that may not be needed for some applications. See | |
| # http://unicorn.bogomips.org/examples/unicorn.conf.minimal.rb | |
| # for a much simpler configuration file. | |
| # | |
| # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete | |
| # documentation. |
update every time
sudo apt-get update
sudo apt-get dist-upgradeinstall prefer apt-get
sudo apt-get install postgresql postgresql-contrib postgresql-clien| # module name is a constant | |
| module Debug | |
| # constant will not be mixin | |
| LEVEL = 'error' | |
| # instance variable. | |
| # It may clash with those of the host class or with those of other mixins. | |
| # For the most part, mixin doesn't use instance variables directly, they use accessors of hosts. | |
| attr_accessor :message |
是时候说再见了,XOOPS。
今天是圣诞节,一个叫 Micheal 的玩家加入到我在 Clash of Clans 游戏中的联盟中。这个名字让我回想起 2011 年发生在 XOOPS Development 邮件组的一场争论。不管谁对谁错,经过这一次的分裂,对于 XOOPS 来说是一次重大的打击。
基于我个人的所见所闻,XOOPS 的死亡是注定的。
持续地分裂。2001年,XOOPS 分裂于古老的 PHP-Nuke。2005年5月28日,日本团队分裂出 XOOPS 成立了 XOOPS Cube;2007 年 XOOPS 分裂出 ImpressCMS;2010年分裂出 XOOPS Engine,还有 Simple-XOOPS,坚守旧架构的 XOOPS1,等等。不仅团队成员,版本也存在相同的问题。XOOPS 2.x 系列被分裂为 2.0.x 和 2.2.x 而且互不完全兼容。当 Drupal 在 2007 年初(Drupal 5.0, 2007-01-15)开始使用 JQuery 时,XOOPS 还期望 2008 年能合并 2.0 和 2.2.x 分支(The 2.3 branch is defined by core development team as "merging of XOOPS 2.0 and 2.2 branches".[The XOOPS Project in 2008](http://www.xoops.org/modules/news/article.
| #!/usr/bin/env bash | |
| iptables -F | |
| iptables -X | |
| iptables -P INPUT ACCEPT | |
| iptables -P OUTPUT ACCEPT | |
| iptables -P FORWARD ACCEPT |