Linux and Windows IT Support  


Windows, Apple and Linux IT support and services.

For Software and Web Development.

403 Forbidden after changing DocumentRoot directory

Q. I am getting a Forbidden 403 error after I've changed the DocumentRoot in Apache for my domain. What do I do?

A. The solution is quite simple:

Edit the apache2.conf (/etc/apache2/apache2.conf) and add the new directory to default security model:

<Directory /your/new/dir>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted

Restart apache and you're done

Saturday, 04 March 2017 16:36

Zentyal disable password expiration

Q. My password for zentyal expired, how do I stop it from doing that in the future?

A. Login to the command line interface and run the following commang:

samba-tool domain passwordsettings set --max-pwd-age=0

Once done, it will show you:

Maximum password age changed!
All changes applied successfully!

and you are done!

Tuesday, 21 February 2017 11:52

Compile perl in Windows

perl logoQ. How do I compile my perl script under Windows?

A. The simplest thing is to download and install Strawberry Perl (it is free).

Once installed, get run the following:

perl -MCPAN -e "install PAR::Packer" 

and install Packer. Once installed, you can compile a simple script into one big exe file:

pp -o ProgramName.exe
Tuesday, 31 January 2017 20:27

Timezone setup for Ubuntu 14 and up

linux 128There's a new way of setting up the timezone in Ubuntu -- no more cat.

First, find your timezone by running this command:

timedatectl list-timezones

We are in Eastern Time, so we picked America/New_York. Then we run this command to set the timezone:

timedatectl set-timezone America/New_York

Check to make sure the timezone has been set:

Sunday, 01 January 2017 16:57

Split a large file in Linux

Q. I am trying to move a large file, but I want to split it into chunks.

A. This can be done in using by piping the file into a split command (this also gzips the file):


gzip -c largefile | split -b 512MiB - largefile_split.gz_

This will create a bunch of files:






Combining the file on the other side:

cat largefile_split.gz_* | gunzip -c > largefile

Friday, 09 September 2016 17:13

Windows 2008 R2 RDS: Log Off a User from a Session

If you are an administrator, you can log off a user from a session (for example, if the user has an session has crashed) in Remote Desktop Services Manager by using the Log Off action.

Follow these steps to log the user off:

  1. In Remote Desktop Services Manager, on the left pane, click the Remote Desktop Session Host server on which the user session is running.

  2. On the Users tab, right-click the user that you want to log off, and then click Log Off.

  3. Click OK to log off the user from the session.

Monday, 22 February 2016 11:12

Ubuntu server: change timezone

ubuntu-logoQ. How do I update the timezone on an Ubuntu Server?

A. Two easy steps:

NB: This will overwrite whatever you've had there before:

~# sudo echo "America/New_York" > /etc/timezone

~# sudo dpkg-reconfigure --frontend noninteractive tzdata

Friday, 04 September 2015 07:28

Page 2 of 20

<< Start < Prev 1 2 3 4 5 6 Next > End >>
Copyright © 1999 - 2019 Virtual Helpme | Business IT Support | Original Template: Allrounder