Centos – Update System using YUM

Using YUM you can update all software on your CENTOS system, to perform the update run the following commend,

su -c ‘yum update’

Enter the root password when prompted.

You can schedule the system to perform an update each day using a pre-provided script enter the following command to activate,

su -c ‘/sbin/chkconfig –level 345 yum on; /sbin/service yum start’

Enter the root password when prompted.

Linux syslog server setup

This syslog configuration took place using Ubuntu server hosted on ESXI platform.

Edit the rsyslog.conf file to allow the submission of system logs from clients.Use your favourite editor to make the following changes to the rsyslog.conf file.

sudo vim /etc/rsyslog.conf

Uncomment the following lines:
$ModLoad imudp
$UDPServerRun 514
At the bottom of the file include the following entry:
$template TmplAuth,

Change permissions of the /var/log directory. Change the permissions of the /var/log directory to allow syslog the ability create/change sub-directories and files.

cd /var && sudo chown syslog:syslog log

Restart the rsyslog serviceSave the changes made to the rsyslog.conf file and restart the rsyslog service.

sudo service rsyslog restart

Configure client to send logs to your newly configured Syslog server. For ESS-RAD01 you will need to edit the rsyslog.conf file or syslog.conf file and add the following line.


sudo vim /etc/rsyslog.conf
*.* @
sudo vim /etc/syslog.conf
*.* @
FreeBSD/BSD variants:
sudo vim /etc/syslog.conf
Uncomment the following line:
*.* @

Restart the rsyslog/syslog service on newly configured


sudo service rsyslog restart
sudo /etc/init.d/syslog restart
FreeBSD/BSD variants:
sudo /etc/rc.d/syslog restart

Verify logs are being sent to your syslog serverOn your Syslog server check the “/var/log” directory to see if client log directories have been created.

cd /var/log && ls


A reboot from a previous installation is pending.

Server 2008 R2 Ent , during the installation of Exchange 2010 errors on the readiness check.

“A Reboot from a previous installation is pending”

After several reboots the message does not clear. To clear this error you need to remove the “PendingFileRenameOperations” from the registry.


ISCSI Shares disapear after server reboot

Whilst building a Veeam server and configuring the backup repository to point to a share on another server, i noticed the backups always failed after the server hosting the shares (And the iscsi drive) rebooted.

It appeared as though the shares are removed during the reboot, after a quick google i found the following Microsoft kb its due to the server service starting before the “Iscsi initiator” service has started , meaning that the drive is not ready when the server applies the shares.

Follow the KB through to ensure the “Server Service” has the “iscsi initiator” as a dependent service or simply complete the following.

Run command prompt as administrator and type

>sc config LanManServer depend= Samss/Srv/MSiSCSI



Linux / UNIX Recursively Search

Search through a number of files on the command line using grep.

cd /path/to/dir
grep -r “word” .
grep -r “string” .

Ignore case distinctions:

grep -ri “word” .

To display print only the filenames with GNU grep, enter:

grep -r -l “foo” .
You can also specify directory name:
grep -r -l “foo” /path/to/dir/*.c

find command is recommend because of speed and ability to deal with filenames that contain spaces.

cd /path/to/dir
find . -type f -exec grep -l “word” {} +
find . -type f -exec grep -l “seting” {} +
find . -type f -exec grep -l “foo” {} +

Older UNIX version should use xargs to speed up things:

find /path/to/dir -type f | xargs grep -l “foo”

It is good idea to pass -print0 option to find command that it can deal with filenames that contain spaces or other metacharacters:

find /path/to/dir -type f -print0 | xargs -0 grep -l “foo”



SPST Core – User / Admin Login

Help Document

Product : SPST V5

Revision : 2.1

Login to SPST site admin.

Short video tutorial. Logging into the SPST CMS web system. 

To login to your SPST CMS panel you can

  • Modify your URL directly
  • Click the footer link
  • If present, login to a side module login panel

Modify your URL directly

  • ?p=login
  • login.htm


  • demo.fcconsultancy.co.uk/index.php?p=login
  • demo.fcconsultancy.co.uk/login.htm

Click the footer link

All SPST CMS sites have a footer link, this link redirect to the login page.



Login Page



Enter your username and password to login.

Once logged into your site you can manage your username and password via EUsers. If you have forgotten or misplaced your username or password please contact support@fcconsultancy.co.uk.