示例#1
0
def install_couchdb():
    """
    Install CouchDB 1.3.0 or 1.5.0
    """
    arch.update_index()
    arch.upgrade()
    require.arch.package("couchdb")
    systemd.enable("couchdb")
    print(green("CouchDB successfully installed"))
示例#2
0
def install_tools():
    """
    Install build tools
    """
    arch.update_index()
    arch.upgrade()
    require.arch.packages(
        [
            "python2",
            "python2-setuptools",
            "python2-pip",
            "openssl",
            "libxml2",
            "libxslt",
            "base-devel",
            "git",
            "sudo",
            "lsb-release",
            "imagemagick",
            "sqlite",
        ]
    )
    print(green("Tools successfully installed"))
示例#3
0
def install_postfix():
    arch.update_index()
    arch.upgrade()
    require.arch.package("postfix")
    print(green("Postfix successfully installed"))
示例#4
0
def install_nodejs():
    arch.update_index()
    arch.upgrade()
    require.arch.package("nodejs")
    print(green("Node successfully installed"))