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"))
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"))
def install_postfix(): arch.update_index() arch.upgrade() require.arch.package("postfix") print(green("Postfix successfully installed"))
def install_nodejs(): arch.update_index() arch.upgrade() require.arch.package("nodejs") print(green("Node successfully installed"))