IIS cookbook to install web site - chef-recipe

While running chef-client for AN IIS installation to install a new web site, I am getting this error: "Unable to find package iis_site." How does the iis_site resource work?

you have to add depends "windows" to your metadata.rb file
you also have to download windows cookbook and dependencies, and upload it to your org.
knife cookbook site download windows
knife cookbook upload windows
Using the depends "windows" will allow you to use various resources that come from the windows cookbook, including the IIS_SITE resource.

Related

PowerShell Install of Web Deploy 3.6 for Hosting Servers

I need to install Web Deploy 3.6 for Hosting Servers. Normally you would use the Web Platform Installer, but I need to deploy this using PowerShell. I have found the download for Web Deploy 3.6 and can use PowerShell to install the .MSI of that, but that is different that Web Deploy 3.6 for Hosting Servers.
Does anyone know where I can download Web Deploy 3.6 for Hosting Servers or know how to use PowerShell to install via the Web Platform Installer?
I have located the answer. The Web Platform Installer has an API so you can call the .exe with PowerShell akin to this:
& "C:\Program Files\Microsoft\Web Platform Installer\WebPICMD.exe" /List /ListOption:Available
There are install options as noted here: https://learn.microsoft.com/en-us/iis/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release

Download RPM on Windows PC then install on Centos server

I'm really stuck in installing services in Centos server. I almost browse all the pages in Google result. I'm a Windows user and very new in Linux environment, so it makes me difficult to understand all the results from Google.
The server doesn't have option to connect to the internet. Based on my research, my only way is to download all the RPM files in a machine with internet then transfer it to my server.
Problem: I cannot find the official package list of YUM so I can download it one by one like the https://bower.io/search/. There's a lot of downloadable files showing if I type in Google "YUM php7 rpm".
Edit: I am currently using YUM because I don't know any other way to install packages in Centos. I only want to install the following :
php7
nodejs
composer
supervisor
nginx
I don't have any access to any media. I just remotely access it via putty and Filezilla. But I have root access.

Powershell - Install an application

How would I run a program installer (in C:\Downloads) using a Powershell V1 script?
I do not have control over the Powershell version so please do not ask me to update to newer version.
If I do it manually, there will be a few options for me to choose before installing. I also have to specify the location for the application.
If I have to do it via scripts, how do I set which options to choose and specify the location?
I have searched the application support page and they do not have anything I need for the installation of the software via scripts.
I am not a very skilled person when it comes to scripting as I just started out months ago.
Do you know about Chocolatey? It's a Windows package manager that allows you to install Windows applications using CLI.
To install Chrome for example:
choco install googlechrome
You can find all the available packages here.

Odoo: Internal Server Error

I've installed Odoo 9.0 on Ubuntu 14.04, and I've activated the developer mode to install module from App Store. Every app I try to install that doesn't belong to the 31 apps offered by default without accessing developer mode, I get this error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
It looks like this happens only on the local installation. i tried to install the Barcode app in online trial, and I encoutered no problems.
If anyone may help me, I'll be eternaly grateful.
Anyway, I'm pretty sure that the app on the "App store" provided in Odoo (not the ones that is possible to download in zip and add to addons), are only for the enterprise version.
I tried in a lot of computers and different installation with no luck.
Still happenning as of today. I've been able to manually install the module I wanted:
Go to the app store web site: https://apps.openerp.com/apps/modules
Search for and download your module
unzip the archive in the addons directory of your odoo installation
Go in odoo, settings, update modules list
you can then look for it in Local Modules. You may need to remove all filters. I've done this in v8.

Umbraco CMS: Manual Installation

I am using Windows Vista Ultimate and I want to install Umbraco CMS, with which I have no previous experience.
Common installation methods i.e. Installing either via Microsoft Webmatrix or Web Platform Installer didn't work for me. The former is for 7 and 8 versions of Windows and the latter downloads all installation files but fails to install. That is it shows "Installing ..." dialog for over 3 hours that makes me to forcefully end the installation. So all efforts have to be done from scratch (including download of the installation components using Web Platform Installer).
Is there a way to manually install Umbraco without the help of Platform Installer? I have downloaded seperately the files needed for Vista(e.g. Umbraco 7xxx.zip,Powershell 2, ASP.NET MVC, etc.). I don't see any executable in the package for Umbraco. There are just DLL's which I don't know where to copy to, as well as many aspx and ascx files that I don't know what to do with.
http://our.umbraco.org/contribute/releases shows the latest and all other available umbraco releases.
Under the 'Current' heading, you will find links to the most recent stable release detail page where you can grab UmbracoCms.X.X.X.zip which are all the files you need to go through the process manually.
One of the absolute best things about umbraco is that it's so easy to spin up a new isntall this way!
Important! Before you unzip - be sure to right-click the .zip file and open the properties page.
There will be an option to "Unblock" - be sure to click this or you may well experience issues with the dlls.
Unzip these files to where your webroot will be, set-up your IIS site and open in your browser - umbraco will automatically pick up that you need to do 'the install' and take you through a few simple steps that set-up the database and your admin credentials. There are no exe's or installer files - it's all embedded, more-or-less, in the site.
A good practice is the remove the [/install/] folder once you've gone through these steps.
Umbraco has some installation documentation here if you want to see all the various ways and steps available to install an umbraco site. -I prefer the .zip way described above, but you can also go the NuGet route too.