0

Windows Registry : Autologon in Windows XP

-

Again one of those things which I forget when is needed. Autologon in Windows XP. Funny enough is the fact that each time I’m looking for this information is when I want to prevent Windows XP from auto logon and trying to disable that in registry using remote access from Registry Editor.

Fortunately Microsoft prepared full detailed description, so now I can write down in my scratchpad for future reference instead of using Google each time I need that 😀

(more…)

0

Tips & Tricks : Apache2 autostart on openSUSE 13.1

-

In order to have Apache2 started automatically after reboot use:


systemctl enable apache2.service

0

How-To : SharePoint Foundation 2010 Installation

-

Screenshots from SharePoint Foundation 2010 installation process.

(more…)

0

How-to : Microsoft App-V Infrastructure Deployment

-

For testing purposes I deployed Microsoft AppV infrastructure.

 

Systems presented on diagram above:

  • Core-DC-01 – Domain Controller – deployed prior to AppV installation
  • Core-SQL-01 – SQL Server – deployed prior to AppV installation
  • AppV-SRV-01 – AppV Management Server
  • AppV-WKS-01 – AppV Sequencer Workstation

Installation process for systems listed above below.

(more…)

4

Tips & Tricks : OneNote 2013 keeps crashing when trying to open notebook from OneDrive

-

If you come across issue that OneNote 2013 will keep crashing each time you try to open notebook from OneDrive

  • Go to %userprofile%\AppData\Local\Microsoft\OneNote\15.0 folder and delete OneNoteOfflineCache_Files folder and OneNoteOfflineCache.onecache file
  • Go to %userprofile%\AppData\Local\Microsoft\Office\15.0\ path and delete OfficeFileCache folder.

Then go back to OneNote 2013 and try to open notebook from OneDrive. This time it should work.

PS. %userprofile% points to C:\Users\%username%\

0

Cryptocurrency : ArcticCoin (ARC) MasterNode Setup

-

If you interested in cryptocurrency and want to support certain coin and community as well as earn some money, you might be interested in running MasterNode for chosen coins.

In this article I put together some quick guide how to setup ArcticCoin MasterNode. I have this MasterNode setup and running on dedicated VPS with Ubuntu Linux 14.04 64-bit.

So, once you identified hosting provider of your choice, check if you can deploy VPS with that operating system.

Once you have server deployed you can SSH to it as root and follow commands below…

(more…)

0

How-To : Autostart Parsoid on openSUSE 13.1

-

Once Parsoid is installed on openSUSE it might be handy to have is started automatically once system is restarted.

First we have to create startup script.

/etc/init.d/parsoid

#!/bin/sh

#
# description: Node.js /srv/parsoid/api/server.js
#

. /etc/rc.status

USER="root"

DAEMON="/usr/bin/node"
ROOT_DIR="/srv/parsoid/api"
LOG_ROOT="/var/log/nodejs"

SERVER="$ROOT_DIR/server.js"
LOG_FILE="$LOG_ROOT/parsoid.log"

LOCK_FILE="/var/lock/subsys/node-server"

WORKERS_NUMBER=8

do_start()
{
if [ ! -f "$LOCK_FILE" ] ; then
echo -n $"Starting $SERVER: "
runuser -l "$USER" -c "$DAEMON $SERVER -n $WORKERS_NUMBER >> $LOG_FILE &" && echo || echo
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCK_FILE
else
echo "$SERVER is locked."
RETVAL=1
fi
}
do_stop()
{
echo -n $"Stopping $SERVER: "
pid=`ps -aefw | grep "$DAEMON $SERVER" | grep -v " grep " | awk '{print $2}'`
kill -9 $pid > /dev/null 2>&1 && echo || echo
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f $LOCK_FILE
}

case "$1" in
start)
do_start
;;
stop)
do_stop
;;
restart)
do_stop
do_start
;;
*)
echo "Usage: $0 {start|stop|restart}"
RETVAL=1
esac

exit $RETVAL
Remember to adjust all paths and number of worker processes accordingly to your installation.

Once startup script is in place we have to enable Parsoid to be automatically started:

chkconfig parsoid on

From now on Parsoid will be automatically started after each restart.

0

Tips & Tricks : CentOS firewalld : open port

-

Once you install CentOS 7, by default firewalld will block almost all network traffic.

In order to open ports for certain services you can easily reconfigure firewall using firewall-cmd command.

[root@localhost firewalld]# firewall-cmd --get-active-zones
public
  interfaces: eno16777728
[root@localhost firewalld]# firewall-cmd --zone=public --add-port=80/tcp --permanent
success
[root@localhost firewalld]# firewall-cmd --reload
success

Example contains port 80, however you can open any port using same method.
It is worth to check zones configured on your machine and make sure you open port in proper zone where service should be enabled.

3

How-To : Enable BitLocker PIN on computer in workgroup

-

If you have machine which is not connected to domain, but has TPM chip you might want to encrypt disks with BitLocker and enable PIN protection at boot-up.

In order to do that you have to make sure TPM is activated and enabled for provisioning in BIOS. Next step will be to allow PIN use, as by default that option is not active especially on machines not connected to Active Directory domain.

So, to enable ability to set PIN follow the steps:

(more…)

0

How-To : Deploy VisualEditor extension for MediaWiki 1.24.2 on openSUSE 13.1 x64

-

In previous article I described how-to Deploy Parsoid on openSUSE 13.1 (which turns out to be quite a challenging task). Parsoid is component required for VisualEditor. Now it’s time for VisualEditor deployment.

Downloading VisualEditor

At the moment, when I’m doing deployment, stable version of MediaWiki is 1.24.2. VisualEditor is an extension written for certain version of MediaWiki, hence we can’t just download latest version and use it. It has to be specific release for specific MediaWiki version.

So, first we download VisualEditor for MediaWiki 1.24.2:

git clone -b REL1_24 https://github.com/wikimedia/mediawiki-extensions-VisualEditor.git
cd mediawiki-extensions-VisualEditor/
git submodule update --init

Once it’s done we need to place content of mediawiki-extensions-VisualEditor in extensions/VisualEditor folder under MediaWiki folder structure.

Finally, once we have all files in proper places it’s time to inform MediaWiki about VisualEditor.

Changes to LocalSettings.php

Changes which have to be applied to LocalSettings.php:

# VISUAL Editor
require_once("$IP/extensions/VisualEditor/VisualEditor.php");
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVisualEditorParsoidURL = 'http://localhost:8000';
$wgVisualEditorParsoidPrefix = 'localhost';
Remember to adjust Parsoid URL and Prefix accordingly to setup of your Parsoid service.

From now on you can enjoy VisualEditor until you decide to upgrade to newer version of MediaWiki.
Prior to that I would suggest to check if there is VisualEditor available for new release and test it prior to live deployments.