This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:chef-server [2013-11-03 21:23] glen [Install] |
packages:chef-server [2014-05-04 19:34] (current) glen [Bugfixes] |
||
---|---|---|---|
Line 31: | Line 31: | ||
- [[https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4|libiconv]] <code> | - [[https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4|libiconv]] <code> | ||
sed -i -e 's,a1f25d7ab6930826822323b373b8298bff02fed1,4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4,' Gemfile.lock | sed -i -e 's,a1f25d7ab6930826822323b373b8298bff02fed1,4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4,' Gemfile.lock | ||
+ | </code> \\ or rather: <code> | ||
+ | # cd /usr/share/ruby/gems/1.9/bundler/gems/omnibus-software-dc156b4a2c40 | ||
+ | # curl https://github.com/opscode/omnibus-software/commit/4f2ee0a9d563acbeea14af3d8d84e2d2e0e53fb4.patch | patch -p1 | ||
+ | patching file config/patches/libiconv/libiconv-1.14_srclib_stdio.in.h-remove-gets-declarations.patch | ||
+ | patching file config/software/libiconv.rb | ||
+ | Hunk #1 succeeded at 32 with fuzz 1 (offset -10 lines). | ||
</code> | </code> | ||
- makeself <code> | - makeself <code> | ||
$ wget -O package-scripts/chef-server/makeselfinst https://raw.github.com/opscode/omnibus-chef/master/package-scripts/chef/makeselfinst</code> | $ wget -O package-scripts/chef-server/makeselfinst https://raw.github.com/opscode/omnibus-chef/master/package-scripts/chef/makeselfinst</code> | ||
- patch omnibus gem with [[https://raw.github.com/pld-linux/ruby-omnibus/master/omnibus-pld.patch|omnibus-pld.patch]] | - patch omnibus gem with [[https://raw.github.com/pld-linux/ruby-omnibus/master/omnibus-pld.patch|omnibus-pld.patch]] | ||
+ | - cacerts fails with checksum, like [[https://github.com/opscode/omnibus-software/pull/174|here]], modify '' | ||
+ | ~/.bundler/ruby/*/omnibus-software-*/config/software/cacerts.rb'' | ||
Install bundle binstubs: | Install bundle binstubs: | ||
Line 97: | Line 105: | ||
Meanwhile when the progress stops, it is expecting init to start ''/opt/chef-server/embedded/bin/runsvdir-start'', but without init, nothing processes ''/etc/inittab'', so start it manually or use ''initstyle=plain''. | Meanwhile when the progress stops, it is expecting init to start ''/opt/chef-server/embedded/bin/runsvdir-start'', but without init, nothing processes ''/etc/inittab'', so start it manually or use ''initstyle=plain''. | ||
+ | When using container like vserver, ensure following devices are present: | ||
+ | <code> | ||
+ | crw-rw---- 1 root console 5, 1 Jan 9 15:09 /dev/console | ||
+ | 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 | ||
+ | </code> | ||
===== Configure ===== | ===== Configure ===== | ||
To change https certificate, have look into ''/var/opt/chef-server/nginx/ca'' | To change https certificate, have look into ''/var/opt/chef-server/nginx/ca'' |