Commit 537f1a55 by Szeberényi Imre

Update README.md

parent b226ba5c
...@@ -3,140 +3,47 @@ ...@@ -3,140 +3,47 @@
## OS Support ## OS Support
* Red Hat Linux family: * Red Hat Linux family:
* Red Hat Enterprise Linux 7+ * under development
* Cent OS 7+
* Scientific Linux 7+
* Debian Linux family: * Debian Linux family:
* Debian linux 8+ * Ubuntu linux 18.04 LTS
* Ubuntu linux 14.04 LTS
## Prerequisites ## Prerequisites
### Red Hat family ### Red Hat family
Install EPEL repository (if the link is broken, please contact us):
```bash
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
```
Install some important packages:
```bash
sudo yum install python2-pip gcc vim git
```
### Debian family ### Debian family
Install some important packages: Refresh your system:
```bash ```bash
sudo apt-get update sudo apt update
sudo apt-get install python-pip vim git sudo apt upgrade
sudo reboot
``` ```
## Install Salt Install some important packages
```bash
```bash sudo apt install python3 python3-pip python3-dev virtualenvwrapper git vim
sudo pip install salt==2014.7.1
``` ```
## Get the installer ## Get the installer
Clone circle installer git repository into cloud home Clone circle installer git repository into cloud home
```bash ```bash
git clone https://git.ik.bme.hu/circle/salt.git git clone https://git.ik.bme.hu/CIRCLE3/salt.git
``` ```
## Change variables ## Single node quick install
Modify installer.sls file ```bash
``` sudo salt/install --local
vim salt/pillar/installer.sls
``` ```
Most used variables Open the port 443 for the portal
------------------- ```bash
* **proxy_secret**: This is used to provide cryptographic signing, and should be set to a unique, unpredictable value. ufw allow 443
* **secret_key**: This is used to provide cryptographic signing, and should be set to a unique, unpredictable value.
* **deployment_type**: local (development) or production
* **admin_user**: user name to login in as admin on the site
* **admin_pass**: password to login in as admin on the site
* **database**:
* **password**: database user’s password
* **amqp**:
* **password**: amqp user’s password
* **host**: amqp server IP - usually runs at localhost
* **graphite**:
* **password**: graphite user’s password
* **host**: graphite server IP - usually runs at localhost
* **nfs**:
* **enabled**: nfs is enabled
* **server**: nfs server’s hostname
* **network**: nfs server’s network to access files
* **directory**: this directory will be shared
* **storagedriver**:
* **queue_name**: the server’s hostname
* **fwdriver**:
* **queue_name**: the server’s hostname
* **gateway**: the server’s gateway
* **external_net**: the server’s network
* **external_if**: the server’s network interface
Other variables
---------------
* user: user who will install the software
* time zone: the server’s time zone, format is region/city
* amqp:
* user: amqp user
* port: amqp server’s port
* vhost: virtual host - specifies the namespace for entities (exchanges and queues) referred to by the protocol
* agent:
* repo_revision: revision
* agentdriver:
* repo_revision: revision
* cache: cache url - usually pylibmc://127.0.0.1:11211/
* database:
* name: django database’s name
* user: database user
* fwdriver:
* repo_revision: revision
* user: fwdriver user name
* vm_if: vm interface
* vm_et: vm network
* management_if: management interface
* reload_firewall_timeout: timeout for synchronous firewall reload
* graphite:
* user: graphite user
* port: graphite server’s port
* secret_key: graphite’s secret key
* manager:
* repo_revision: revision
* monitor-client:
* repo_revision: revision
* storage-driver:
* repo_revision: revision
* vm-driver:
* repo_revision: revision
* vnc-driver:
* repo_revision: revision
## Install Circle
Run the following installation command:
```bash
sudo salt-call state.sls allinone --local --file-root=/home/$USER/salt/salt --pillar-root=/home/$USER/salt/pillar
``` ```
After this finished, you have to get "Failed: 0" message.
If installer fails, please visit the [Troubleshooting](#troubleshooting) paragraph.
After install, delete agent.conf or agent.service file:
If you have upstart:
```bash
sudo rm -f /etc/init/agent.conf
```
Or if you have systemd:
```bash
sudo rm -f /etc/systemd/system/agent.service
```
## Quickstart - Standalone Node ## Quickstart - Standalone Node
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment