ComTech: IT Support Stirling
TwitterFacebookGoogle

How to start a Virtualbox VM at startup in Windows


Usually I use Virtualbox as my main virtualization solution of choice on Linux and not Windows but this week that was not the case.  I had a requirement to install Windows XP inside a virtual machine on Windows 7 which was to run a business critical piece of software. This meant it had to start when the Windows 7 machine starts and this is how I did it.

First thing we need to do is create a batch file so open up Notepad.  Name the file anything you like but make sure it ends in .bat so for example mine was virtualxp.bat.  I then inserted the following text into the file:

cd “c:\Program Files\Oracle\Virtualbox”

vboxmanage startvm “ENTER YOUR MACHINE NAME”

The above code assumes that you have installed Virtualbox in the default location, if not alter the text appropriately.  Enter your machine name should be self explanatory!!

Save the file and place it in the Startup folder which is located at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup.

That is it.  The virtual machine should now start when the host starts.

About the Author

P1020114

Hi I’m Chris Wakefield the owner of ComTech IT Support. I provide Windows, Mac and Linux based IT Support to small businesses in Stirling, Alloa and Falkirk.

Follow @Comtech247 on Twitter

 

 

How to configure Startup Applications in Ubuntu 12.04


Today I will show you how to configure startup applications in Ubuntu 12.04.

On your desktop go to settings (cog in the top right of the screen) and click on Startup Applications.

You will be shown a list of all the programs that are configured to start at boot time. Click on Add.

For the purpose of this tutorial I will configure Libreoffice to start at boot.   In the screen shot above I have configured the following:

Name – Libreoffice

Command – /usr/bin/libreoffice (all programs are stored in /usr/bin so use this command)

Comment – Office Suite

Once configured click Add.

Restart the system and your chosen program with start at boot.

About the Author

P1020114

Hi I am Chris Wakefield the owner of ComTech IT Support. I provide Windows and Linux based IT Support, laptop repairs and computer repairs to both business and personal clients throughout Stirling, Falkirk and Clackmannanshire.

For a list of what I can offer you why not visit my website www.comtech247.net where you will find a list of my services, testimonials, blog and much more!!

How to configure services in Linux


Today we will have a look at configuring services in Linux.  For the purpose of this tutorial I will use Linux Mint 12 but the majority of the commands can be run on any Linux Distribution.

Seeing what services are running

To check what services are running on our system we need a package called chkconfig. Open up a terminal and type:

sudo apt-get install chkconfig

Once installed we need to check what is currently running (run as normal user) so type:

chkconfig -l

So how do we turn a service on and off?

Chkconfig runlevels

The easiest way is to turn a service off for a particular run level and to do this we use the syntax: chkconfig -s ‘service name’ ‘run levels’.

So to take an example we will make the mysql service above start at runlevels 2 and 3 so type:

sudo chkconfig -s mysql 23

In the above screenshot mysql now starts at run levels 2 and 3

Init Scrips

If you want to start and stop a service right now then you need to use init scripts.  So this time we will stop the clamav-freshclam service so type:

sudo /etc/init.d/clamav-freshclam stop

and

sudo /etc/init.d/clamav-freshclam start to restart.

Upstart

Upstart is the replacement for init scripts and as such some of the services have been re-written to work solely with upstart.  If a particular service is now an upstart job then the syntax is:

service ‘service name’ start/stop

For example to turn the samba daemon on and off you would type:

sudo service samba start

sudo service samba stop

How do you configure a service to start at boot?

You can either use the runlevel method described above or for Upstart jobs use the following syntax:

update-rc.d ‘service name’ defaults

About the Author

P1020114

Hi I’m Chris Wakefield the owner of ComTech IT Support. I provide Windows, Mac and Linux based IT Support to small businesses in Stirling, Alloa and Falkirk.

Follow @Comtech247 on Twitter

 

 

 

 

 

 

 

 

 

 

How to configure Windows startup programs

Does this sound familiar? You want to stop a particular program starting during the system boot but don’t know how.  Today we shall have a look at msconfig and see how you configure the start up items so only programs you want start up.  I am using Windows 7 Home Premium but the following works exactly the same on XP and Vista.

Before we start a word of warning.  If you don’t know what you are doing then be very careful making changes to msconfig as this can really screw up you system.  If you are happy then read on.

Go to Start and type msconfig in the search box.  The program will be displayed above the box so click it.  The System Configuration screen will be displayed with 5 tabs – General, Boot, Services, Startup and Tools.  The one we want is Startup so click the tab.  A list of programs that are loaded during the boot process will be displayed.  Choose the program you don’t want to start, uncheck the box next to it and then click on apply and then ok.  A message will appear that states you need to restart the system for changes to take effect so restart.


Once restarted a message will appear stating that you have made changes to the system configuration.  Check the box next to don’t show this message again and click ok.  The message box will no longer start at boot time.

About the Author

P1020114

Hi I’m Chris Wakefield the owner of ComTech IT Support. I provide Windows, Mac and Linux based IT Support to small businesses in Stirling, Alloa and Falkirk.

Follow @Comtech247 on Twitter

 

CyberChimps
Follow

Get every new post delivered to your Inbox

Join other followers

WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera
WP Like Button Plugin by Free WordPress Templates