Update README.rst
This commit is contained in:
+6
-5
@@ -19,22 +19,24 @@ Variations from the initial procedure :
|
|||||||
|
|
||||||
- Installation uses a docker image to easily deploy new servers and improve security.
|
- Installation uses a docker image to easily deploy new servers and improve security.
|
||||||
- Operating system changed to latest Ubuntu image 15.04 (Vivid Vervet), instead of 14.04 (Trusty Tahr).
|
- Operating system changed to latest Ubuntu image 15.04 (Vivid Vervet), instead of 14.04 (Trusty Tahr).
|
||||||
|
- A non privileged user **pa** is created to run pa server.
|
||||||
- Image uses colors produced by burntcustard by default.
|
- Image uses colors produced by burntcustard by default.
|
||||||
|
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
-------------
|
-------------
|
||||||
|
- Use your regular user to build the image.
|
||||||
- Install docker.
|
- Install docker.
|
||||||
Example :
|
Example :
|
||||||
sudo apt-get install docker.io
|
sudo apt-get install docker.io
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
yum install docker.io
|
sudo yum install docker.io
|
||||||
- Add a rule into /etc/sudoers to avoid entering your password each time (optional).
|
- Add a rule into /etc/sudoers to avoid entering your password each time (optional).
|
||||||
user ALL=(ALL) NOPASSWD: /usr/bin/sudo
|
<user-name> ALL=(ALL) NOPASSWD: /usr/bin/sudo
|
||||||
- Add an alias to your .bashrc not enter your sudo password each time (optional).
|
- Add an alias to your .bashrc not enter your sudo password each time (optional).
|
||||||
Alias docker=”sudo docker”
|
alias docker=”sudo docker”
|
||||||
- Open port **20545** on your server firewall. Do not forget your firewall router, if you have one in between.
|
- Open port **20545** on your server firewall. Do not forget your firewall router, if you have one in between.
|
||||||
Example with firewalld :
|
Example with firewalld :
|
||||||
|
|
||||||
@@ -67,7 +69,7 @@ Running instructions
|
|||||||
- Run a container to start pa server.
|
- Run a container to start pa server.
|
||||||
docker run -ti -d --name=paserver -p 20545:20545 uggla/paserver
|
docker run -ti -d --name=paserver -p 20545:20545 uggla/paserver
|
||||||
|
|
||||||
- Show running container
|
- Show running container.
|
||||||
|
|
||||||
[uggla@uggla PAServerDockerfile]$ docker ps
|
[uggla@uggla PAServerDockerfile]$ docker ps
|
||||||
::
|
::
|
||||||
@@ -92,4 +94,3 @@ Modifying container content
|
|||||||
- You can edit the container to modify options.
|
- You can edit the container to modify options.
|
||||||
sudo docker run -u root --entrypoint="/bin/bash" -ti --name "paserver" uggla/paserver
|
sudo docker run -u root --entrypoint="/bin/bash" -ti --name "paserver" uggla/paserver
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user