Monthly Archives: March 2018

How to set up Crontab on CentOs7 Linux

This short video will show you how to set up cron jobs on CentOS 7.

Although the Linux distro in the tutorial is CentOS 7, this tutorial should work on most versions of Linux.

We first set up a script that will allow us to test cron.

We then enter cron by running crontab -e.

We then tell cron to run the script every minute of everyday to see if output is generated.

The cron test script that we use is called crontest.sh. It contains the following lines:

#!/bin/bash
today=$(date)
touch /home/scripts/"$today"

The crontab examples that we use in the video are:

* * * * * /home/darren/scripts/crontest.sh #runs every minute
*/5 * * * * /home/darren/scripts/crontest.sh #runs every minute
0 * * * *  /home/darren/scripts/crontest.sh #runs every hour
0 0 * * * /home/darrenscripts/crontest.sh #runs every day

And the Cron website that was shown in the tutorial can be found here:

https://crontab.guru 

If you encouter any difficulty while following along to this tutorial please do comment below 🙂

How to install Fedora 27 on VMWare Workstation 12

Hi there,

This tutorial will show you how to install Fedroa 27 in VMware Workstation 12. Fedora is an excellent operating system that is open source and free. It runs great on older hardware so is a great option for older laptops. With that said let’s get stuck into the tutorial.

  • When the ISO file has downloaded, open VMWare Work station, click File and then new Virtual machine.
  • In the next screen leave the configuration as typical and select next.
  • Now click browse and navigate to where you downloaded the .iso file, once it is added in click next.

  • Give your machine a name or leave as the default and click next.
  • Up the hardrive to 40GB and click next
  • Click customise hardware.
  • Increase the memory to 2GB of RAM and add an extra processor and click close.

  • Finally click finish.
  • When the machine boots up select “Test this media & start Fedora-Workstation-Live 27”
  • Select install to Hard drive.
  • Select your language and click continue.
  • Click installation destination.
  • Click on the desk and click Done.

  • Click Begin installation.
  • Set a root password.
  • Create a new user and make the user and administrator by clicking the relevant checkbox.

  • Click quit when the install is done.
  • Then restart the machine.

You should then have Fedora installed. A full video tutorial can be found below and if you have any trouble following along with this tutorial please do comment below 🙂