ComTech: IT Support Stirling
TwitterFacebookGoogle

How to make a bootable Linux USB Stick

Have you ever thought about making a bootable Linux USB stick?  If so you are in luck as today I will show you how.  Being able to boot Linux off a USB stick is invaluable when you are trying to recover data off a Windows system that has crashed.  Yes you could use a live CD but what happens when the system does not have a CD/DVD drive?

For the purpose of this tutorial I will be using Linux Mint 12 as my base system however the commands should work on all major distributions.

To install any Linux distribution onto a USB stick we need a package called UNetbootin. Open up a terminal and type:

sudo apt-get install UNetbootin


Once installed open the package and you should get the screenshot below.

Unetbootin gives you two options for the disk image.  You can either download one of the preinstalled images available or you can select the path to your own.  As you can see above I have selected the path to my Linux Mint 12 image.

You also need to make sure that Type is set to USB Drive and Drive is set to the location of your USB stick.

UNetbootin will now install the image to your USB stick and make it bootable.

 

About the Author

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 in and around Stirling.

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

 

 

 

 

 

 

 

 

 

 

An error occured in avast! engine: Invalid argument


An error occured in avast! engine: Invalid argument.  I had the pleasure of meeting up with this error earlier this afternoon while trying to run Avast on a Linux Mint 12 system.  To fix it I did the following:

1. Unistalled Avast completely

2.In opened up my home directory and viewed the hidden files.  I then located the .Avast directory and deleted it.

3. Reinstalled Avast

I hope that this is of help to someone.

About the Author

Hi I am Chris the owner of ComTech. I provide IT Support, Laptop repairs and Computer repairs to both personal and business clients in and around Stirling. For a list of what I can offer you why not visit my website www.comtech247.net where you will find my blog, testimonials, services and much more.  Start supporting a local business today so I can start supporting you.

If you found this blog useful then why not sign up to my RSS Feed for news, tutorials, views and general techie stuff!!

 

 

Clam Antivirus


I usually use either BitDefender or Avast Linux edition as the antivirus software of choice on a Linux system but recently decided to give ClamAV a go to see what it was like.  I have been put off this software in the past by the complexity of having to run it from the command line (newbie clients don’t like the command line) but on further investigation it can be run with a GUI.  Said clients should be happier now.  You can also run ClamAV on Windows (it goes by the name ClamWin).

To install it in Linux Mint 12 open up a terminal and type:

sudo apt-get install clamav

This will install all the dependencies that clamAV needs to run, however, it will have to be run from the command line.  To run it from a GUI type:

sudo apt-get install clamtk

This will give you a GUI similiar to the one below:

As you can see clamAV gives you the ability to scan files, folders, directories or the whole system.  When I tried this out on my Linux Mint 12 system it found 32 (yes 32!!!) infected files that Avast had missed.  I also found it to be pretty quick too when undertaking a full system scan (much faster than Avast but probably on par with BitDefender).

So if you are after decent easy to use antivirus software for Linux I would now say either BitDefender or ClamAV.  I never thought I would be saying that!!

About the Author

Hi I am Chris the owner of ComTech. I provide IT Support, Laptop repairs and Computer repairs to both personal and business clients in and around Stirling. For a list of what I can offer you why not visit my website www.comtech247.net where you will find my blog, testimonials, services and much more.  Start supporting a local business today so I can start supporting you.

If you found this blog useful then why not sign up to my RSS Feed for news, tutorials, views and general techie stuff!!

 

 

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