Install Ghost on ubuntu 16.04 using GHOST-CLI

Please refer to the following steps to Install Ghost on ubuntu 16.04 using GHOST-CLI 1. Install latest version of nodejs & npm 2. Install latest version of NGINX (nginx included in ubuntu default repository is out of date, and you would need to include the official Nginx repository 3. Install MySQL 4. Install Ghost CLI … Read more

Syntax Highlight with Prism.js in Ghost

Please refer to the steps below on how to add Syntax Highlight with Prism.js in Ghost Go to Prism and select the language that you would like to be included Download both prism.css & prism.js and upload to /var/www/ghost/content/themes/casper/assets/css /var/www/ghost/content/themes/casper/assets/js Edit the default.hbs file /var/www/ghost/content/themes/casper$ sudo vi default.hbs Paste "<link rel="stylesheet" type="text/css" href="{{asset "css/prism.css"}}" />" … Read more

Disable Feature Image in Post in Ghost Blog

Go to /var/www/ghost/content/themes/casper$ sudo vi post.hbs Remove the following lines {{#if feature_image}} <figure class="post-full-image" style="background-image: url({{feature_image}})"> </figure> {{/if}} Restart Ghost /var/www/ghost$ ghost restart The Features images should be disabled in the Blog Post now.

PowerShell to Generate Exchange Mailbox Usage Report

You can run the PowerShell Scirpt below on Exchange 2010 SP3 server to export Mailbox Usage Report to CSV File #Connect to Exchange – PowerShell ISE – Exchange 2010 . ‘C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1’ Connect-ExchangeServer -auto $Results = @() #Declare Array for all results $Mailboxes = Get-Mailbox -ResultSize Unlimited -RecipientType UserMailbox #$Mailboxes = Get-Mailbox -identity group2 … Read more

Install WordPress with LEMP on Ubuntu 18.04

Please refer to the following steps on how to setup a UAT Server in my VMware ESXi 6.5 to study and testing purpose Provision a new VM and install with ubuntu 18.04 Configure Static IP with NetPlan Basic configuration of ubuntu 16.04 server Install Nginx, MariaDB and PHP7 (LEMP Stack) Install WordPress Install WP-CLI (Optional) … Read more

PowerShell Script to Deploy / Upgrade Citrix Receiver

Please refer to the steps below on how to use PowerShell Script to Deploy / Upgrade Citrix Receiver in Windows 7 x64 Machines Please download Citrix Receiver 4.9 LTSR – I did try to install Citrix Receiver 4.12 but obviously it seem like having bug with Windows 7 and cannot be installed successfully Use the … Read more

Syntax Highlighting with Prismjs in WordPress

Select the language in https://prismjs.com/download.html and download the prism.css & prism.js I’m using GeneratePress Child Theme, and i had manually create css & js directory in generatepress_child /var/www/html/wordpress/wp-content/themes# ls generatepress* generatepress: 404.php content-link.php content-single.php footer.php inc no-results.php rtl.css search.php single.php archive.php content-page.php css functions.php index.php page.php screenshot.png sidebar-left.php style.css comments.php content.php fonts header.php js readme.txt … Read more