TXLANS.com

Linux

Basic Apache Install on CentOS 5.4

by amp on Apr.10, 2010, under Linux, Tutorials, Web Resources

Apache is probably the number 1 web service hosting software ever created.  With that said I get a lot of people always asking how to install it or some variation of.  Here’s an easy tutorial on it using CentOS 5.4 Linux using a Rackspace Cloud Server

1.    SSH into your Server

2.    Make sure you are root user.

3.    Update Yum with command : # yum update

4.    Download and install Apache with command : #  yum install httpd

5.    Set chkconfig run levels to ensure that apache starts up even if the system is rebooted with command : # chkconfig –levels 2345 httpd on

6.    Start Apache or httpd service with command : #  service httpd start.

7.    Flush your IP Tables and add port 22 for SSH (unless you changed it’s port) and also allow port 80 for apache/http connections.  I have also deleted the “RH-Firewall-1-INPUT” chain and set the default INPUT policy to “DROP”.

#  iptables -X RH-Firewall-1-INPUT

#  iptables -F

#  iptables -I INPUT -p tcp –dport 22 -j ACCEPT

#  iptables -I INPUT -p tcp –dport 80 -j ACCEPT

#  iptables -P INPUT DROP

#  service iptables save

8.  Congrats, you now have a basic apache install.

Notes : Apache’s configuration file is /etc/httpd/conf/httpd.conf and the default place to put all of your websites files are in /var/www/html/

2 Comments :, , , , , , , more...

Linux Servers

by amp on Jan.17, 2010, under Linux, PC Maintenance, Tutorials

Do you have an Old PC laying around that you would like to use as a linux box?ssh

Wondering what you would use this linux box for or do you already have some ideas?

Send your ideas and emails to amp@txlans.com and we will see what kind of tutorials we can write for you. :)

Comments Off :, more...

Clonezilla – Free Disk Imaging

by amp on Oct.10, 2009, under Administration, File System, General, Linux, PC Maintenance, Tutorials, Windows

CloneZillaThere’s been many, many, many times I’ve had to re-image a hard drive.  At my first job after I moved to a new city, we used “Zen Image” to pull a disk image over the network for deploying new PC’s at a school.  My most recent job we use it to clone a customers hard drive and move it to a new hard drive.

Disk imaging is a quick and easy process with various types of software.  Most are made in Linux.  I’ve used Acronis, which can be found for free if you get it from Seagate, Maxtor, or Western-Digital.  Of course it is re-branded but it’s not that big of a deal.

Anyways, to the point.

Clonezilla is a free disk imaging utility that pretty much anyone can use, assuming you know what disk cloning, imaging, reimaging, etc. even mean.

Consider this more of a resource for all the IT people out there, although they probably already know about it.

Clonezilla has pretty much the same features as many other disk imaging utilities.  Save/Restore disk, Save/Restore partitions, etc.

Give it a try.  To get it, head to their website which can be found here if you didn’t see the links above.

Comments Off :, , , more...

Set up a Linux Router

by amp on Jun.03, 2009, under Administration, Linux, Tutorials

The Linux Router. 
(Note : Click thumbnails for full sized images))

Introduction
Why would you want to make your own router?

Well, mainly because it’s a fun project, and it can handle alot more simultaneous connections then a normal Linksys or Dlink could. You also get complete control over your network and that’s always a plus.

(continue reading…)

Comments Off :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives