Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose.libre.sh
Commits
23e34ba6
Commit
23e34ba6
authored
10 years ago
by
Michiel de Jong
Browse files
Options
Downloads
Patches
Plain Diff
mention could not resolve errors
parent
aa49ed01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/using-just-docker-and-bash.md
+7
-5
7 additions, 5 deletions
doc/using-just-docker-and-bash.md
with
7 additions
and
5 deletions
doc/using-just-docker-and-bash.md
+
7
−
5
View file @
23e34ba6
...
...
@@ -4,23 +4,25 @@
Given that CoreOS is not available everywhere, and the Ubuntu 14.10 setup with etcdctl inside a Docker instance still has some problems,
I'll try if I can run all our services (postfix-forwarder, haproxy, and the various web backend containers) on an off-the-shelf Ubuntu server.
Note that not all servers support Docker, because of kernel modules etcetera; in this case I used Ubuntu 12.04-64 at Gandi,
and gave it 5GB of disk space and 512Mb of RAM.
Note that not all servers support Docker, because of kernel modules etcetera; of the images I tried at Gandi, only the Ubuntu 12.04-64 one
allowed me to actually run
`docker ps`
, and even on there, I was not able to run
`docker run debian apt-get update`
because from the looks
of it, containers are not allowed to contact the outside world. In the end I got an Ubuntu 14.10 server at Rackspace.
Note that about 5GB of disk space will be used, and when running multiple sites, 1Gb of RAM is probably also well-spent.
Here's what I did to prepare the server:
````
bash
apt-get update
&&
apt-get
-y
upgrade
apt-get
-y
install
unattended-upgrades
curl
git
apt-get
-y
install
unattended-upgrades
docker.io
git
dpkg-reconfigure
-plow
unattended-upgrades
# set unattended upgrades to 'Yes'
ssh-keygen
-t
rsa
# select all the defaults by hitting <enter> repeatedly
curl
-s
https://get.docker.io/ubuntu/ | sh
````
Test your server by running
`docker run debian apt-get update`
(there should be no 'could not resolve' errors).
Then I added the .ssh/id_rsa.pub to .ssh/authorized_keys at both backup server accounts, and ran:
````
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment