Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
537f1a55
authored
Jul 10, 2022
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
b226ba5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
109 deletions
+16
-109
README.md
+16
-109
No files found.
README.md
View file @
537f1a55
...
...
@@ -3,140 +3,47 @@
## OS Support
*
Red Hat Linux family:
*
Red Hat Enterprise Linux 7+
*
Cent OS 7+
*
Scientific Linux 7+
*
under development
*
Debian Linux family:
*
Debian linux 8+
*
Ubuntu linux 14.04 LTS
*
Ubuntu linux 18.04 LTS
## Prerequisites
### 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
Install some important packages
:
Refresh your system
:
```
bash
sudo
apt-get update
sudo
apt-get install python-pip vim git
sudo
apt update
sudo
apt upgrade
sudo
reboot
```
## Install Salt
```
bash
sudo
pip install
salt
==
2014.7.1
Install some important packages
```
bash
sudo
apt install python3 python3-pip python3-dev virtualenvwrapper git vim
```
## Get the installer
Clone circle installer git repository into cloud home
```
bash
git clone https://git.ik.bme.hu/
circle
/salt.git
git clone https://git.ik.bme.hu/
CIRCLE3
/salt.git
```
## Change variables
Modify installer.sls file
```
vim salt/pillar/installer.sls
## Single node quick install
```
bash
sudo
salt/install
--local
```
Most used variables
-------------------
*
**proxy_secret**
: This is used to provide cryptographic signing, and should be set to a unique, unpredictable value.
*
**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
Open the port 443 for the portal
```
bash
ufw allow 443
```
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment