packages:chef-server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:chef-server [2013-06-20 16:42] – [Install] glen | packages:chef-server [2014-05-04 19:34] (current) – [Bugfixes] glen | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Opscode Chef Server via omnibus packaging ====== | ====== Installing Opscode Chef Server via omnibus packaging ====== | ||
- | |||
As prepackaged chef-server is [[http:// | As prepackaged chef-server is [[http:// | ||
Line 17: | Line 16: | ||
Install packages: | Install packages: | ||
- | # poldek -u --noask ruby-bundler git-core ruby-devel glibc-devel libffi-devel libstdc++-devel patch bzip2 lsb-release rpm-build | + | # poldek -u --noask ruby-bundler git-core ruby-devel glibc-devel libffi-devel libstdc++-devel patch bzip2 lsb-release rpm-build |
===== Building ===== | ===== Building ===== | ||
Line 33: | Line 31: | ||
- [[https:// | - [[https:// | ||
sed -i -e ' | sed -i -e ' | ||
+ | </ | ||
+ | # cd / | ||
+ | # curl https:// | ||
+ | patching file config/ | ||
+ | patching file config/ | ||
+ | Hunk #1 succeeded at 32 with fuzz 1 (offset -10 lines). | ||
</ | </ | ||
- makeself < | - makeself < | ||
$ wget -O package-scripts/ | $ wget -O package-scripts/ | ||
- patch omnibus gem with [[https:// | - patch omnibus gem with [[https:// | ||
+ | - cacerts fails with checksum, like [[https:// | ||
+ | ~/ | ||
Install bundle binstubs: | Install bundle binstubs: | ||
Line 59: | Line 65: | ||
< | < | ||
# (umask 2; rpm -Uhv --define ' | # (umask 2; rpm -Uhv --define ' | ||
+ | </ | ||
+ | |||
+ | You need to use [[package> | ||
+ | ---- Begin output of gpasswd -M chef_server chef_server ---- | ||
+ | STDOUT: | ||
+ | STDERR: gpasswd: invalid option -- ' | ||
+ | Try `gpasswd --help' | ||
+ | ---- End output of gpasswd -M chef_server chef_server ---- | ||
+ | </ | ||
+ | |||
+ | Alternatively you can find the recipe and change '' | ||
+ | |||
+ | |||
+ | If using [[docs/ | ||
+ | # init q | ||
+ | init: / | ||
+ | # touch / | ||
+ | # init q | ||
+ | </ | ||
+ | |||
+ | also, postgresql needs shared memory, so configure it fstab: <code - / | ||
+ | none / | ||
+ | </ | ||
+ | |||
+ | and also: | ||
+ | <code bash> | ||
+ | mkdir -p / | ||
+ | echo kernel.shmall > / | ||
+ | echo 600000000 > / | ||
+ | echo kernel.shmmax > / | ||
+ | echo 600000000 > / | ||
</ | </ | ||
Line 66: | Line 103: | ||
</ | </ | ||
+ | Meanwhile when the progress stops, it is expecting init to start ''/ | ||
+ | |||
+ | When using container like vserver, ensure following devices are present: | ||
+ | < | ||
+ | crw-rw---- 1 root console 5, 1 Jan 9 15:09 / | ||
+ | crw-rw-rw- 1 root root 1, 3 Jul 20 2013 /dev/null | ||
+ | crw-rw-rw- 1 root root 1, 5 Dec 25 17:35 /dev/zero | ||
+ | </ | ||
+ | ===== Configure ===== | ||
+ | |||
+ | To change https certificate, |
packages/chef-server.1371739337.txt.gz · Last modified: 2013-06-20 16:42 by glen