is there a way to provision a server with Chef without having Ruby installed on the server that is going to be provisioned?
Basically in the same way that Capistrano is used to provision a server?
thx
ciao robertj
You can use the Chef Omnibus Installer to install a native package for your OS including Chef Client and needed Ruby runtime packaged into one - but Ruby is always needed to be installed.
Currently Chef is not able to remotely provision a server via ssh orso.
Related
I am trying to install Discovery on the same server as IIS which already has a DB2 instance. As the Discovery installation guide says, to install with an existing DB2 instance the repository database must be manually configured. It then goes on to say that this can be done using scripts which are found under the install directory. In other words, before I install I have to use something only available after installation.
Has anyone got a workaround - a link to somewhere I can get the scripts perhaps?
I managed to get it working by installing onto a clean VM and then copying the scripts from the installation folder and other files referenced in the scripts onto the IIS server and running from there. Had to search and replace the DB2 install directory within the scripts as they expect a default install of :\Program Files\IBM\SQLLIB whereas the IIS default install of DB2 is to \IBM\SQLLIB.
I'm trying to deploy my jhipster application on a server.
The server is an basic CentOS 7 distribution.
What should I install before deploying the war?
Apache, Tomcat, mySQL, anything else?
I'm not able to find a complete doc where to find how to set up a server from zero.
Jhipster offers easy docker integration, so just use ist, and install docker on your server.
For docker documentation: https://docs.docker.com/
If not:
For the war file you only need a javaRuntime and run it with java -jar your.jar
mysql only when you need it
After reading the docs of Service Fabric and how to run it on Windows Server and on Linux, I cannot find anything talking about how to run it on Nano Server.
I think that the game studio named Illyriad are running part of their infrastructure on Azure and Service Fabric on Nano Server.
I would like to know if theirs any official support on this matter or if they made it by their own ways?
Thanks!
AFAIK there is no support to Nano Server (yet).
Nano server has a very stripped down set of Windows APIs and I believe today SF is using some of those. The same is for .Net Full Framework (which SF depends on!) can't run on Nano Server.
Maybe when SF get support to .Net Core, we will see Nano Server support (since the only .Net version that run on Nano is .Net Core).
I have got access to redmine VM via SSH and have plugin files on my local machine. Now I need to install it in redmine.
Can anyone explain the steps to do it? I am using a windows 7 machine as SSH client.
You can use SFTP client such as WinSCP (Windows client that I uses) or find any other.
SFTP is SSH File Transfer Protocol, i.e. you will have access to VM's file system via SSH connection, and Redmine plugins installation will be just files copying :)
Also, SFTP clients can launch simple commands as touch (touch tmp/restart.txt command needed to restart Ruby on Rails applications)
Put the plugin directory in the vendor/plugins sub directory of your Redmine installation. Check the plugin installation instructions for any additional steps that might be necessary.
Redmine 1.4.4 is several years old, you should first make sure with a local test that the plugin actually works with that version. And you should really upgrade to a recent version of Redmine (current stable is 3.2) as there have been quite a few security issues in Rails and Redmine since 1.4.4 was released.
Is their a way to provision an OS(Centos/Redhat) when using a licensed VMware vSphere server (with ESX/i) using ansible?
The vsphere_guest module will allow you to provision a guest VM through Ansible. If you want to do everything automatically via Ansible then you probably want to have the guest launch a kickstart to automate the install of linux onto the VM, and once that's complete then you can use Ansible to perform any customizations to the environment that you desire.
Official VMware python bindings https://github.com/vmware/pyvmomi. Ansible uses pysphere. I thought that you can develop ansible module:
Ansible modules are reusable units of magic that can be used by the
Ansible API, or by the ansible or ansible-playbook programs. The
directory ”./library”, alongside your top level playbooks, is also
automatically added as a search directory.
http://docs.ansible.com/ansible/developing_modules.html#tutorial
Or take unofficial ansible module build on pyvmomi:
- https://github.com/ViaSat/ansible-vsphere
But as I see here: https://github.com/sijis/pyvmomi-examples/blob/master/create-vm.py you need vCenter.
There are vagrant plugins but I don't think that you can do provision on ESXi without vCenter.