Chef NoMethodError, undefined method
When you try to bootstrap a node to a Chef server, you may get the error message Compiling Cookbooks… ============================================================== Recipe Compile Error in c:/chef/cache/cookbooks/…/attributes/default.rb…
Package dependent Java JAR files into the project JAR file
When you execute your Java JAR file, you need to include all dependent JAR files in the “fat jar” file, so the Java virtual machine can find them at runtime. Set up NetBeans to include the JAR files from the library In NetBeans you need to…
Restore Windows Server 2012 R2 from backup
Windows Server contains the Windows Backup functionality. It can create full backups of your server that contain all volumes. With the bare metal recovery, you are able to fully restore the server even if the hard disks fail, after a virus attack, or…
Tomcat web server installation
Tomcat is one of the most popular free web servers. Tomcat runs on the Linux, Macintosh, and Windows operating systems. To install Tomcat Install the Java Runtime Environment (JRE) Download the Java JRE…
Enable Single Sign-On (SSO) in TeamCity
Enable Single Sign-On (SSO) in TeamCity TeamCity can use the Windows Active Directory to authenticate users. To configure TeamCity to automatically log in users who are already logged into the Windows domain enable the Single Sign-On (SSO) functionality.…
Upgrade TeamCity to a new version
Create a backup of the database and the server before the upgrade Place an instance with a maintenance screen in the load balancer, Remove the TeamCity server from the load balancer, Disable the Chef-Client scheduled task and Chef-Client service to make…
`pwd’: No such file or directory – getcwd (Errno::ENOENT)
When you rename a subdirectory under the directory where your Linux or MacOS terminal is open you may get the error message /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.4.19/lib/chef/knife/cookbook_download.rb:45:in `pwd’: No such file or…
Switching to a new Chef server
The administrator of the Chef organization Download the validation key Do this only once for the organization. This step resets the validation key, so the existing server images will not be able to connect to the Chef organization. On the Administration…
MySQL Installation
To install the MySQL database server, download the installer from https://dev.mysql.com/downloads/ Download the MySQL Community Server from https://dev.mysql.com/downloads/ On the Generally Available (GA) Releases tab select the operating system and…
Migrate a WordPress web site to DreamHost
DreamHost is one of the recommended WordPress hosting providers. The DreamHost website has an extensive knowledge base, but the necessary steps to move your live site from another provider are scattered over multiple pages at…