Skip to content

Instantly share code, notes, and snippets.

View janikvonrotz's full-sized avatar
:octocat:

Janik von Rotz janikvonrotz

:octocat:
View GitHub Profile
@janikvonrotz
janikvonrotz / Configuration.ini
Created February 25, 2014 12:43
SQL Server: SharePoint SQL Server 2008 R2 Best Practice #SQLServer #SharePoint
;SQLSERVER2008 Configuration File
[SQLSERVER2008]
; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will reflect the instance ID of the SQL Server instance.
INSTANCEID="MSSQLSERVER"
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"
@janikvonrotz
janikvonrotz / Open-KeePass.ps1
Created February 25, 2014 13:49
PowerShell: Open KeePass with preselected key #KeePass #PowerShell
& KeePass "N:\IT\passwordsafe\pwdb.kdbx" -preselect:"H:\Documents\pwdb.key"
@janikvonrotz
janikvonrotz / Install php5-fpm.md
Last active August 29, 2015 13:56
Ubuntu: Install php5-fpm #PHP #Markdown

Requirements

  • Ubuntu server

Installation

Install the package with aptitude.

sudo aptitude install php5-fpm
@janikvonrotz
janikvonrotz / Install Node.js Nginx proxy website.md
Created March 7, 2014 08:19
Ubuntu: Install Node.js Nginx proxy website #Node.js #Nginx #Markdown

Introduction

It's recommanded to publish a Node.js application with a Nginx proxy website.

Requirements

  • Ubuntu server
  • Node.js
  • Nginx
  • Nginx minimal website
@janikvonrotz
janikvonrotz / Migrate WordPress website.md
Created March 7, 2014 10:30
Ubuntu: Migrate WordPress website #WordPress #Markdown

Introduction

This guide assumes that you're going to migrate a WordPress website from one server to an other.

Requirements

  • Ubuntu server
  • Nginx
  • Nginx minimal website
  • php5-fpm
@janikvonrotz
janikvonrotz / Install Nginx php5-fpm website.md
Last active August 29, 2015 13:57
Ubuntu: Install Nginx php5-fpm website #PHP #Nginx #Markdown

Introduction

This is a minimal Nginx configuration to run php based websites/ applications.

Requirements

  • Ubuntu server
  • Nginx
  • Nginx minimal website
  • php5-fpm
@janikvonrotz
janikvonrotz / Clear-SPMaintenanceMode.ps1
Created March 10, 2014 10:43
PowerShell: Clear SharePoint Maintenance Mode #SharePoint #PowerShell
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration("http://sharepoint.vbl.ch")
$Admin.ClearMaintenanceMode()
@janikvonrotz
janikvonrotz / Install Ghost website.md
Last active August 29, 2015 13:57
Ubuntu: Install Ghost website #Ghost #Markdown

Introduction

Ghost is a free, open, simple blogging platform that's available to anyone who wants to use it.

Requirements

  • Ubuntu server
  • Nginx
  • Node.js
  • Node.js Nginx proxy website
@janikvonrotz
janikvonrotz / Deploy Ubuntu server.md
Created March 10, 2014 16:37
Ubuntu: Deploy Ubuntu server #Ubuntu #Markdown

Introduction

Why Ubuntu?

Because:

  • Ubuntu is the leading and most popular Linux distro.
  • It's easy to install, deploy and manage.
  • Ubuntu remains the most popular operating system for OpenStack deployments.
  • It's available for multiple devices.
@janikvonrotz
janikvonrotz / Compare-AllObjectProperties.ps1
Created March 12, 2014 12:39
PowerShell: Compate All Object Properties #PowerShell
$X | Get-Member -MemberType Property | Select-Object -ExpandProperty Name | %{
Compare-Object $X $Y -Property "$_" | Format-Table -AutoSize
}