This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
packages:chef-server [2013-07-11 15:55] glen [Install] |
packages:chef-server [2014-05-02 17:53] glen [Bugfixes] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Opscode Chef Server via omnibus packaging ====== | ====== Installing Opscode Chef Server via omnibus packaging ====== | ||
- | |||
As prepackaged chef-server is [[http://www.opscode.com/chef/install/#tab2|not available]] | As prepackaged chef-server is [[http://www.opscode.com/chef/install/#tab2|not available]] | ||
Line 32: | 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> | ||
Line 67: | Line 72: | ||
---- End output of gpasswd -M chef_server chef_server ---- | ---- End output of gpasswd -M chef_server chef_server ---- | ||
</file> | </file> | ||
+ | |||
+ | Alternatively you can find the recipe and change ''append'' to ''true'' in [[http://docs.opscode.com/resource_group.html#attributes|group]] resource. | ||
+ | |||
If using [[docs/vserver]] without ''initstyle=plain'', you need to make ''init q'' silent: <file> | If using [[docs/vserver]] without ''initstyle=plain'', you need to make ''init q'' silent: <file> | ||
Line 95: | Line 103: | ||
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 ===== | ||
+ | To change https certificate, have look into ''/var/opt/chef-server/nginx/ca'' |