Archive for 'Linux'

learn linux commands

I have to say after using the Windows (Microsoft) world for a long while, I was a bit worried if I would be ableLinux-command-terminal1 to get into the Linux world. Even thought when I started my computer life, it was in the world of DOS (Microsoft DOS), which was a black screen and text interface which we used to do everything even design computer games (without graphic, like the famous SNAKE which runs after APPLES to eat them and grow longer).

Since those historic days of using a text based operating system, we have advanced to using a mouse and a keyboard in a graphic world, moving, copy pasting and dragging windows and applications, text and other manipulations, which are now familiar to us as if we haven’t known anything else.

With Linux, well it is almost the same, the Linux has been developed on the base of the Unix systems which where learn-bashtext based operating systems (even AS/400 started as a Text based operating system) and now we also have the Linux desktop operating systems, which are getting easier and simpler to use, as it resembles our familiar Windows operating system environments.

Thought Linux has a graphic interface, it’s base functions are still being performed in it’s core of the text like functions using the Linux commands. The Linux commands are the same in a way as the DOS operating system was for Microsoft. The command language contain many functions and commands that let you operate and install anything you need from the operating system.

In the desktop editions (Linux has a Server and Desktop editions) if you install an application using the command line (the Linux terminal) you will see the application showing up on the Desktop interface as a regular application which you can double click and run exactly in the same way that you would use if you where using the Microsoft windows operating systems.

After understanding in theory how strong the command line is in Linux, I guess we should give you some Idea of how and what type of commands can be used in Linux.

I got used to the UBUNTU operating system, which is Debian based. The Ubuntu system uses a basic tool called APT-GET, which is being used, to update the system, upgrade applications, and install applications from the web. The apt-get uses a list of websites which contain a large known applications which can be installed automatically by APT-GET, those list of websites are sitting in the /etc/……./source.list.

Apt-get seeks the application you want to install, by going through those web sites which are in the source.list, and SKm6xcan find most of the known and mostly used applications and install them automatically.

The catch with Linux, is that mostly you will have to configure the system you have installed, which usually means in the text (terminal) world, editing configuration files. The beauty of things is that you most likely find the instructions and examples of how to do the configuration editing on the Internet and all you will have to do, is go through the instructions and step by step configure your application.

Let see some common Linux command examples: (Remember Linux is Case Sensitive):

  • Comment: With any command in Linux, you can use “–help” to learn all of the command’s possibilities, and if you want the full review you can do “man ‘command name’” and get the full manual on the command with all of the explanations needed to understand each of the command functions.

top – This command shows the CPU, MEMORY and tasks which are running. It can be compared to the TASK MANAGER in windows.

ls – This command shows the list of files and folders (called directories in linux) in the directory you are in. Which displays the files and folders you might want to use, edit or go through. (If your coming from windows, this would be like the DIR command in DOS).

cp – This command copies files or folders form one place to another within the same computer. To copy a whole folder you need to use the cp command tags (cp -r “directory name”).

scp – This command is like the “cp” command only it will enable you to copy the folders and files across different computers and network. With this command you have to state the user/password of the computer you are copying the date to, before you can copy the information to the other computer (It doesn’t have to be on your own network, as long as you know the IP (which is accessible) on the computer which is out of your network and of course have the authority to be able to ssh copy the information to it). The example command will be “scp -r folder-name root@192.168.1.5/tmp” This will copy the folder that you will mention from the directory you are in on your computer to another computer that you have stated it’s IP, using the user “root” into the folder “tmp” on that other computer (you will be prompt with a password request) and you need to state the correct password of the root user on that computer, and the folder will be copied to the “tmp” folder on that computer.

ps – This is a snapshot report of a process, it shows and checks if a process is running, what is the process ID and more. (An example command will be “ps ax | grep command-name”).

nano – This is one of my best editors, for editing configuration files within Linux, which if you will use Linux much, you will have to learn to edit and change configuration files as part of setting the programs you are installing. I guess the reason I like this editor, is due to the fact I was coming to computers from Windows, and I just like to move freely within a text file using the keys and functions. Just to give you an Idea how simple and easy this editor is, you can of course move freely within the editor using the keys, use CTRL+W to search a word in the edited file, use CTRL+K to cut a line or sentences and when you cut the amount of data you needed, you just go to place you want to place it and press CTRL+U, and the date will be copied there. To end the editing and save or not save the changes you press CTRL+X and just choose yes (to save) or no (to ignore the changes).Linux-Command-Line-and-Shell-Scripting-Bible

vi – This is one of the editors which most Linux users use, but I find it more limiting, as you need to do certain functions to be able to edit, you need to remember to press ESC to get back to the functions options, and to exit you press :q! (to exit without saving) Or :qw! (To exit saving changes). Anyway you can choose which would be better for you.

df – This command will show you the sizes of the computer hard disks. You will be able to see the sizes in MB/GB sizes if you do “df -lh”. Just like watching the sizes of the hard-disks in windows when you double click “my computer” and look at the hard disk sizes, and their capacities.

There are many other commands in Linux, but these will be able to let you start. These simple commands are the basics of what you need to do with your Linux, at least for the basic simple things, Enjoy.

Tags: , , , , , , , , , , , ,

What is Linux? Well, it is a free Unix-like operating system that was developed by a student named “Linus Torvalds” and with the assistance of other developers around the world (that is why it is called open source – as the operating system code is open for everyone).

Linux has begun as a black screen code interface (like DOS by windows), and has grown to have a desktop edition as well, which has a GUI (Graphic interface) just like the Windows operating system which anyone can use. There are not many games for Linux in comparison to the Windows operating system but it does slowly move toward achieving that as well (so maybe this is not such good news for the gamers among us), but this is a free operating system that suits everyone, with both free server and desktop editions.

Since anyone can use Linux, it only depends if you are willing to study a new free operating system.
Either if you are coming from the Windows operating system or if you just started computers, all you will need to do is keep an open mind. The operating system in its core might be a bit tricky and require some basic knowledge of the command line, and a bit of how computer’s operating systems work to be able to use the system properly and achieve the required installations.

So, how can you start learning Linux, well it is pretty simple. First, download your choice of the operating system (There are Ubuntu, Red-Hat, Fedora, Suse, etc…). If you are a beginner you can install the desktop edition – which is just like installing a Windows operating system, you just press the “NEXT” button while keeping all of the default settings as they are, and when it is all set, just play with it, to get familiarize with it.

You can watch the following video instructions that show how simple it is to install a Ubuntu Linux desktop:

here are a couple of links I have gathered from the internet for you, so you can have a jump start on your way to Linux:

Video

Tutorials

Kernel

News

Books:

Tags: , , , , , , , , , , , , , , , ,

Anyone who uses computers might want to listen to music, or watch movies. Linux operating systems are no different. Since Linux has two different operating system environment, one a server operating system, that usually doesn’t have a GUI desktop (X-Windows), and the Desktop operating system edition, which does come with the GUI (X-windows) built-in, and is similar to what most people know as the Microsoft operating systems (Windows XP, 7, Vista etc….).

There are those who prefer to use open source operating systems,
which are free of charge and not use the overpriced Microsoft operating systems (which are more common). Those who uses Linux on their everyday work do need those applications that everyone uses on their laptops or PCs, including watching movies, or streaming movies on the internet and of course listening to audio, to music.

  • We can create a server for Audio Streaming, I am attaching links to different streaming servers
  • Linux Audio players:

•    Rhythmbox – This audio player was influenced by the Apple’s iTunes application. Works best on the Linux Gnome desktop and based on Gstreamer media framework.

•    GMPC – (Gnome music player client) – an easy to use and a good simple looking music player daemon. This application is actually an home media player system.

•    XMMS – (The X Multimedia System) – Since Linux desktop editions are called X-windows, this player works and fits all of the Linux distribution desktops. Even though it is being used even on other operating system types (like windows), it has special features that works only on a Linux OS.

•    Sonata – This one is a lightweight GTK+ music client application. it is user friendly and simple to use.

•    Audacious – This application is an advanced music player application that supports an immense amount of music types, different plug-ins and codecs.

•    Mplayer: Listening to and recording audio and video streams with MPlayer.

  • Linux Audio for Linux – Guides

•    How it works: Linux audio explained
•    Streaming Audio in Linux
•    Sound & MIDI Software For Linux
•    10 Best Linux Audio players

Tags: , , , , , , , , , , , , , , , , ,

Linux Firewalls – well Linux is an open source based operating system and as such, programmers have developed different firewall applications for it. Some are built into the operating system distribution package, Ubuntu, Suse, Red-Hat etc…

There are also other firewall applications built as a separate software based on the Linux operating system kernel. These firewalls are like the Turtle, Zorp GPL, LutelWall, Guarddog, IPcop, SmoothWall, PfSense and more…

The best deal about all of these firewalls, is that they are all free. They are based on an open source operating system, and as such, they are free of charge. Instead of paying for a very expensive firewall device unit, you might consider, preparing a computer, with Linux operating system, and a well configured Linux based firewall.

* IPTABLES: The IPTABLES is part of the Linux kernel applications which is part of the Netfilter modules, that enables system administrators to configure the firewall tables, using chains and rules to define the firewall restrictions. The IPTABLES can only be configured by the administrator privileges done under the user “Root”.

* Turtle: This application is based on Kernel 2.4 and IPTABLES. This is a pretty simple firewall to use and understand and you can define different of the firewall elements like the zones, hosts, networks etc… You also get to manage and decide which of the services to enable. The simplicity is that you can do all that by editing an XML file or by using Webmin (Linux web interface).

The application includes:

  • — ZONES, NETWORKS, HOSTS and GROUPS definitions.
  • — Filter rules definitions based on services.
  • — New services definitions.
  • — NAT (Network Address Translation)
  • — Masquerading

* Zorp GPL: This is a proxy based firewall. This application enables the fine tuning of a proxy using a built in script language. It is using SSL, POP3 and HTTP protocols and it also supports the FTP, FINGER, WHOIS, TELNET protocols to set the rules of accessibility.

* LutelWall: This one is a high-level Linux firewall configuration tool. This tool enables an easy to use secured way to setup “Netfilter“. This tools is flexible and enables system administrators, to build a simple (home like) firewall, up to a most sophisticated and complex firewall. You can use multiple Sub-Nets, DMZ, traffic directions etc… It is a great tool for dedicated firewall systems, or a standalone system as a multifunction gateway/router/server. This is a tool that enables the use of the simplicity and ability of open source Linux operating systems.

  • Traffic features includes: Flexible traffic management, using rules, multiple external and internal interfaces, masquerade and sNAT support, easy setup of DNAT, LAN and DMZ, TOS (Type of Service) for optimizing traffic, FTP, DHCP and more.
  • Security features includes: TCP chains, blocking of many types of access and scanning protocols, TCP/IP Fingerprinting, Anti-spoof and Anti-smurf protection,  Flood protection.
  • Logging features includes: Logging FIN, Xmas, Tree, Null, ACK scan modes and any fingerprints being used.
  • Other features in additions are: Auto detection of static/dynamic connection, automatic updates for the firewall tools, showing firewall statistics in native IPTABLESexported to CSV or HTML format.

* Guarddog: This is a firewall configuration utility for Linux systems. This program is intended for both beginners and intermediate users who do not master TCP/IP networking and security. This application has a GUI (easy to use graphic user interface) that enables a simple description of what you need the firewall to do, and the system enables it, without a deep understanding of what exactly goes under the hood of it all.

* IPcop: This tool is most commonly being used on SOHO devices. This one also has a web-interface configuration panel, which is very user friendly. (IPcop Manual)

* SmoothWall: This version is a GPL Linux distribution system, designed to be an open source firewall. This application has a web-based GUI which require almost no knowledge of the Linux operating system to configure it’s firewall system. This system is based on the Red-Hat Linux distribution operating system.

* PfSense: This FreeBSD operating system based application is designated to be used as a firewall or a router. This solution offers a more cost effective advanced featured firewall for the personal computer (PC). This replaces a more commercial expensive firewall solution.

There are of course many other open source, Linux based firewall applications and systems, but those are some examples of what you can do (“do it yourself”) in terms of building your own free firewall system.

Some Additional Info

Tags: , , , , , , , , , , , , , , , , , , ,

Anyone that knows Linux, knows that this operating system, enables so many solutions, and they are part of the Linux operating system package. You can gain almost any type of services you need, by either using the built in services on the operating system after the installation (which means they are coming installed within the OS) or by doing a simple update/download and install of new services which are not built in, It is as simple as that.

I will give some examples from the UBUNTU Linux operating system, which is one of my favorite, and it is very simple to use. Installing a service is almost made by using one simple command – called APT-GET (This command goes to find the service you need, download it, and installs it on your Linux system. Mostly it means the service will be installed and running on the system. Sometimes you might need to edit some configuration files, in order to fit it into your network definitions.

The most important issue that you need to remember is that Linux enables you to do anything you want. Linux is being used by many and some prefer to use it and not use the Microsoft Windows Operating System which is so common.

Linux has many operating systems, some are server based (no graphical interface needed) and some are suitable for client side computers/laptops, they do include X-windows which is the graphic interface of a Linux based operating system. Linux has many different graphical interface distributions, which actually means that those distributions are actually a fully functional operating system, with the needed packages of services. Each Linux distribution include different packages, and different GUI interface (which means the graphical side looks a bit different).

The base of them usually works the same, but some of them are based on different Linux Kernel, so the commands are a bit different, and needs to get used to. That is usually why most Linux users get to know one type of a Linux kernel that they get along best with and they stick to that OS and Linux Kernel, on their future Linux experiences.

So let go over some examples of what you can do with the Linux operating system, and how simple things are when defining new services to the system.

Linux Firewall:

Linux has a built in mechanism called IPTABLES, this is a port filtering mechanism, that enables you to set rules for what can pass through the system and what can’t. Firewall rules are mostly port based, any service has its own port, and by defining which ports are allowed and which are not, you can create your own firewall based on that built-in mechanism. All you will need is to place two network card on your Linux, and let the traffic pass through the Linux machine, as it controls the rules of passage. When IPTABLES is empty and no rules are applied, it means anything can go through from outside in, and from the inside out. This option is mostly used by the Linux Server systems.

* Article on how to set a simple Linux Firewall

Another option if you want a graphical management console to define the firewall:

For Linux Desktop – that includes X-Windows (a Graphic interface), you can use the FWBUILDER (Firewall Builder). This tool enables a graphic management interface, that enables you to define the firewall rules, like the tools used on firewall routers (like the CISCO PIX).

* Using fwbuilder to create a Linux firewall

Linux web server:

The Linux web server is mostly based on the APACHE service. Since most application use PHP, and databases, you can use the MYSQL, and of course PHP, so you need to install them as well, and some other tools that can assist you. Below are the basic tools you will need to create a full functional web server, which includes all of the needed services.

  • Apache 2 – Linux Web server
  • MySQL 5 – MySQL Database Server
  • PHP4/5 – PHP Scripting Language
  • phpMyAdmin – Web-based database admin software.
  • Webalizer – Website Traffic Analyzer
  • Mail Server – Postfix (MTA) with Dovecot IMAP/POP3 + Sasl Authentication
  • Squirrelmail – A web based email
  • VSFTP – A fast ftp server to upload files
  • Webmin – A freely available server control panel
  • ClamAV – Antivirus software.
  • A Firewall using IPtables.

* Build Your Own Web Server

So to summarize, you can do whatever you want to with Linux, just search the internet and see how easy it is.

Tags: , , , , , , , , , , , , , , , , , ,

We are living in a computerized age, and as such many devices out there, even those that we might not think of, include a small computer within them. In case a small computer is a real computer and not just an electronic circuit that enables electronic functions, then we can say it has an embedded computer inside.

The advantage that Linux has, as an operating system that is becoming more and more common, is that it is a basic computer operating system, that has a Kernel (Basic common features that let it act as a computer) and expansions. The core of a Linux operating system is very small and doesn’t require much of the computer resources. That is why Linux is one of the common operating systems used for embedded functions.

Basically, the idea is that we include a computer (a real one) in a miniature way (mostly within some hardware chip) that can function as a full computer as we know it, only with the limit capabilities and functions that we need exactly for the device we choose to embed.

Another major reason for using Linux as the core of such embedded solutions is that Linux is FREE, it is an open-source operating system, so anyone can use as he chooses. We can make changes to the kernel, re-compile and create a new Linux kernel of our own, and use it for our own purpose (of course that last sentence is for those who know how to make changes to the Linux kernel) otherwise you might damage the OS for good.

So let’s go over some examples of devices that use Embedded Linux, so we could better understand how it is being used (There are limitless solutions and many possibilities):

  1. Yoggie Gatekeeper – Windows firewall squeezed into a USB key – That is a full firewall appliance within a tiny USB key, you plug it in, and you are
    protected against all harm, while you connect to any wireless with your laptop, no matter what type of security measures that Wireless router has at that coffee shop.
  2. Archos – A portable media player and portable media devices. These devices include embedded Linux OS.
  3. Openmoko Linux A Linux operating system for mobile phones. You can see that the Linux original kernel was just changed for mobile phone purposes.

Articles & Searches

 

  • Embedded Linux Wiki – Website with embedded Linux information.
  • Embedded Linux from Scratch – This is a technical article by Michael Opdenacker which explains how to build a tiny embedded system entirely from scratch, in 40 minutes.
  • books on Embedded Linux – This is a search I made for embedded Linux books in case you might consider buying/Reading and learn about it.

E-Books

 

Tags: , , , , , , , , , , , , , , , , , , ,

Dedicated servers are usually being used on hosting farms. The Dedication part means that the server is solely yours, and the definitions you require for it, like bandwidth, security, resources and other configurations that you have requested, will be dedicated to you, so you will always have them available.

This is important when the server has special features that need to be kept at all times, like a constant bandwidth that is always available at a certain capacity, so no bottleneck will be created. This is useful when the server is serving many clients at the same time.

Dedicated servers include redundant solutions for electricity, for databases, SQL server applications and management for them, which warn in case of problems, network issues or server down situations. Such solutions are mostly available for Windows or Linux operating system servers.

The dedicated managed servers are usually 1U Rack servers, (I prefer the DELL server hardware) and they do not include desktop components. They are much secured for websites or SQL databases and you can customize them to any of your requirements.

The dedicated servers are usually blade servers that enable scalable and redundant solutions to be able to guarantee reliability and the ability to grow in case it is required.

Dedicated servers can support Linux distributions like Red-Hat, CentOS, Debian, Fedora or Windows Servers 2006, 2008, Microsoft SQL Server 2000, 2005 or Microsoft Exchange server, ColdFusion application servers using management tools like cPanel, Plesk control panel or the DotNetPanel.

You can register your servers on a local hosting farm, or anywhere in the world, at any hosting just make sure you read the terms agreement carefully to make sure you get all of those guarantees and reliability with your dedicated servers.

You will need to define, the bandwidth you need, the hard-disk capacity allocation requirements, the memory (RAM) you require and CPU needs (2 Processors (Duo) or 4 Processors (Quad)) and the kind of dedication server you require – if it’s a Dell server or HP or whatever the hosting offers and you find suitable.

Here are some examples of Dedicated hosting server links:

Tags: , , , , , , , , , , , , , , , , , , ,

Debian, is a package of software tools combined together under the open-licensed GNU (General Public Library) and some other free software, of the Linux operating systems which means it uses the Linux kernel. This operating system is the most popular and one of its best OS versions is the UBUNTU operating system.

Since you want to get with your operating system some basic tools, and of course some extra efficient tools, instead of finding each program that you find that you need, the Debian package has been created to contain the basic tools that are needed for and operating system.

The Debian package is being used both for Server and for Desktop operating systems, again the Debian package is the core of those operating system which are built upon the Debian package, like UBUNTU Linux distribution system.

So with all of those Linux distributions out there, why choose Debian? well, it is quite simple:

  • A non-commercial totally free distribution.
  • A true GNU/Linux distribution based on the Unix command style. This assures that the core that you are using will not be changed as time passes since it is the core of things.
  • Easy to maintain – so you can easily get it updated and up to date, there is a mechanism that knows how to identify missing packages and update on required dependencies.
  • Automatic updating – You can use automatic updates using a single command, which will collect the needed required updates from the internet, and install them automatically.
  • The Debian distribution only uses real free software and it contains already around 25,000 applications and utilities.
  • Help is accessible through forums, chat rooms of the community. You can get answers to almost any question you might have and there are developers who improve it daily.
  • Performance is excellent and of course cheap since it uses any type of hardware, and does not require hardware upgrades or requires stronger equipment.
  • Reliability and stability are the core focus of Debian, and you do not need to reboot it contantly.

— You can read more about the Debian packages at http://www.debian.org/ and get http://www.debian.org/, even though I would recommend working with Ubuntu than on Debian directly.

The reasons why Debian can be the perfect server are because it contains many common software tools, for almost any purpose that servers are being used for like those basic ones:

    • Web server – Apache, PHP, Python, Mysql
    • Mail server – Postfix.
    • DNS server – Bind9
    • FTP server – Proftpd
  • File Server – Samba
Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

cheap Linux computers

Who doesn’t need something from a computer? Who wouldn’t mind to be able to install almost anything without paying for it? Where can we find such an option, what do we need to do? Well there is an answer to these questions and it is within the Linux operating system. Linux is a term that describes to a Unix-Like computer operating system, which is based on a Linux kernel. The base of this operating system is to enable free and open source (system codes opened to the public) software and works under the GPL (General Public License). The Linux operating system can be installed on a wide range of computer hardware.

Thus, it is a recommended option for a free operating system that anyone can use, and of course since it is free of charge, it is cheap. The Linux OS has many applications from almost any type you might need, from monitoring systems, FTP server, WEB servers, E-mail servers, all sorts of GUI applications, which can run on Linux client systems. You can choose from either a Linux server system (which usually comes without a GUI) or a Linux client system, which also has a GUI that resembles the Windows operating system interface.

The basic of Linux is pretty simple, and it just lets you install almost any kind of service you might need. Linux operating system usually doesn’t need much, a very old computer might suffice and so in total you have a very cheap computer as a base, a free of charge operating system, with free of charge applications, So what can I say ? This is the cheapest option you can get for your computer needs.

I always say that I prefer the UBUNTU Linux operating system, it has a major command called “apt-get” which does all of your needs automatically, which means that you can use this command to install the programs you need. It has a repository of known programs, which it knows to discover if you have it installed or not and in case you haven’t installed them, it offers you to download them from the web, and install them automatically. This tool is a major feature that makes the installations really easy.

The problematic issue, is that you need to have some programming, technical computer sense, since after you install the program, most of them require a set of configuration changes, directly made into their configuration files (*.conf). That issue requires some inquiries being done on the web (internet), to learn how to configure the tool/program your installing to fit your requirement and your environment. But, even though I specified that last problematic issue, it is doable, and there is much information on every tool/program on the internet, including others that have installed and configured their programs and of course forums, where people asked questions to their problems while installing, which might resemble the problems you encounter.

Summarizing, The Linux operating system, combined with a regular simple computer (either PC or Laptop) are the cheapest option out there. Those computers with the Linux applications will be able to perform the process you need, with ease, and without much effort. All you need to do is to practice, play around with some simple installation, try to configure them, to use the internet for assistance, and you will discover that it is not as tough as you thought, it require some basic Linux knowledge, but it is something that can be done and in the long term, you will be able to enjoy the open source life, and even save some money.

Tags: , , , , , , , , , , , , , , , , , , , ,

Building a Linux server, is pretty easy, you just need to find a computer (any computer), then download a Linux version (any Linux version will do, just choose a server Linux edition, and you will get spared from GUI installation, if you prefer).

The process of installing the Linux server is pretty mechanical as you move through the installation instructions by pressing the “Next” button. Today when you install Linux, it will find the suitable drivers needed for your computer, and with ease, the installation process will go smoothly, and within minutes, you will have a Linux server ready for action.

I personally prefer the Ubuntu Server distribution, I guess I just got used to it, and it’s easy to use apt-get command, that let you install automatically any software packages you need, like a web application, mail application, ftp application etc… Those are easy to install, and each package has its own instructions on how to install/configure the software package you have chosen to install, usually there will be a “README” text file or “INSTALL” text file, that by following it’s instructions, command by command you will be able to install and implement the software package into your Linux server.

The basic Ubuntu Server installation package, if you do not install any suggested packages, will give you the basics, and of course define the drivers needed for the operating system to recognize and use them, like your network card. I usually like to install only the SSH software package during the installation package, the SSH enable you to log-in to the Linux server you have just installed from your own desktop/laptop without working directly on the server itself. That enables network administrators the ease of configuring the server, from their own computer after the initial Linux server installation has been completed.

The basics of software package installation, depends on the designation of your Linux server, in short it depends on your choice of what this Linux server will do for you. If it is a Linux web server, then it will need apache2, if it is a mail server, then you will need to install one of the mail software packages, like Sendmail or Postfix etc…

I will describe some examples of what packages to install for different types of servers, just as an example, I am sure you will be able to go from here, since it is mostly the same process for any software package you might think of installing. The examples are taken from the Ubuntu Linux version.

Linux Web Server
Apache2, MySQL Client, MySQL Server, PHP 5, PHP 5 – GD, PHP 5 – MySQL, PHPMyAdmin, some also include CURL and if you would like a mail service, you can install postfix as well.
In Ubuntu, the command is pretty simple: apt-get install apache2 (for installing apache2)
If you are not sure what is the exact package name that you need to install, you can just Google it, like how to install Mysql in Ubuntu, and you will get the info you need.

Video instructions for installing Apache Server:
http://www.youtube.com/watch?v=J8y51yESHyU

Linux FTP server

One of my favorite ftp Linux server is the pure-Ftpd, it’s easy to install and configure – and it is very suitable for new users.

The command will be: apt-get install pure-ftpd pure-ftpd-common
https://help.ubuntu.com/community/PureFTP

Linux Mail Server
There are some basic Linux e-mail packages that anyone can use with a simple command, and there are more complicated e-mail servers for organization’s use.
The basic versions that you can easily install and use are:
postfix, sendmail – just do: apt-get install postfix / apt-get install sendmail
http://www.hypexr.org/linux_mail_server.php

As an organization’s e-mail server – I would recommend ZIMBRA Mail Server.
https://www.zimbra.com

Tags: , , , , , , , , , , , ,

When you want to protect your internal network, either your business network or your home network and you want to install the firewall yourself, there is an option to use a Linux firewall application. Linux has many benefits about installing applications by yourself, of course you need to learn some Linux to do so, but that is one of the reasons why it might be a good idea to get to know Linux. You can install almost anything that you might need, and it’s free.

I am specifying a couple of good ones, but there are many more. I set a link at the bottom of this article, that links to a very long list of firewall options 🙂

Firestarter – When you’re using a desktop version of the Linux operating system, you can use this graphic firewall application.
•    Easy to use graphic interface (might ease configuration if you have some basic understanding of how firewalls work).
•    This application is of course an open source application, and free.
•    The firewall enables more than one station to be connected to it and of course be protected.
•    You can easily define inbound and outbound traffic – which are of course the core of firewall designation – defining who can exit and who can access the services from the internet.
•    The firewall includes – white-list & black-list traffic – who is allowed and who isn’t
•    You can monitor the traffic, see what is passing through your firewall and online events.

Endian Firewall – This firewall is based on the open source most common command line Linux firewall called IPCOP, This firewall includes web filtering (Web Proxy), SIP Proxy (for Switchboards), VPN, Content Filtering, Mail gateway, Anti-virus, Anti-spyware, Anti-fishing etc…
Some of it features are:
•    There is an easy to use web interface – web management service to configure it.
•    It supports Routing and NAT (for configuring what is allowed and disallow to pass through the firewall.
•    Port forwarding
•    Network traffic logs, Reporting system.
•    IPSec VPN – for VPN secured access from outside the network.
•    Anti -Virus is based on the Clam AV mechanism.
•    Traffic monitoring is by using the nTop.
•    SPAM Protection using pyzor
•    Dynamic DNS support
•    Dnsmasq – is used for the DHCP and DNS.
•    There is also Windows based support – Samba, LDAP, RADIUS.

SmoothWall Express – This firewall offers a good security firewall, for minimal hardware, which can be fitted well on old computers with old slow configurations. This firewall is being configured using a web based management console. You can configure ADSL, ISDN, Web Proxy, DHCP configurations.
There is a nice video that shows and explains about the Smooth-Wall.

There are many other options which you can read on at this link 🙂

Tags: , , , , , , , , , , , , , , , , , , , , ,

Antivirus for linux

Even though we thought Linux operating systems didn’t need Virus protection, it seems the precaution is being taken. There was a belief that since Microsoft
operating systems where the most used operating systems at the public, the virus developers will produce windows designated viruses. But as the Linux operating systems are starting to grab more and more users, who choose to use the open-source version of the operating system, which are also free. Linux operating systems are bringing almost all of the features that are included in the Microsoft operating systems. Even though they are not as smooth as Windows, they are pretty close.

Anyway, since Linux operating systems are being used by more and more clients, it seems the risk of viruses on a Linux system might be imminent. So, some Anti-Virus applications for Linux are popping up now.

Some of those Anti-Virus applications for Linux are:
Panda – The antivirus is suitable for servers and desktop versions of the Linux operating system. You can manage it from a command line (as it is the most usable interface on a Linux OS). The Panda anti-virus for Linux is intended to protect the Linux and Windows operating systems in an environment altogether.

ClamAV – This anti-virus application is designed basically for scanning e-mails on mail gateways. It has a couple of utilities and daemons, command line control, and database storage of automatic updates. This anti-virus seems to be a very common engine for anti-virus scanning on Linux.

RAV – This application is designed for the Linux desktop version. It has a graphic user interface that enables a change of anti-virus scanning settings. You can use it to schedule scans and has a control center that warns and manage the prevention options of anti-virus outbreak.

Vexira – It is mostly an anti-virus that is designed to protect file servers and samba servers. So it mostly protects files in a shared folder environment. It provides real-time protection for e-mails, files, and download operations.

Sophos – This anti-virus application is protecting all of the different interfaces in Linux, both desktop and server operating system versions. It has good

performance stability and reliability for scanning Linux systems and covers most of the known Linux distributions.

Kaspersky – The Kaspersky Linux version, has a module that interacts with the operating system to protect Linux files, monitor changes and modifications that are made
on files, this module is the on-access feature, which enables real-time protection. Another module is the on-demand scanner which will protect any added devices, removable devices (USB, Media, etc…).

Tags: , , , , , , , , , , ,

There are many different options to run backup procedures on a Linux machine. There are internal commands/programs that can do the backups, using a “cronjob” (which is the time schedule mechanism built in the Linux operating system) and by combining the two, create a timely backup solution. There are some solution that suit Linux desktop operating system since the Desktop type of Linux has a graphic interface which can include graphical software tools, but here I will concentrate on the more core like applications which are running in the text mode, which suit both the Linux desktop and the Linux server types of operating systems.

Those Linux backup options are:

1. RSYNC – The Rsync behaves like an RCP (a copying tool), only the Rsync is a synchronization program, which is more efficient since it doesn’t re-copy all of the files that were already copied. The synchronization technique enables us only to save the changes that were made since the last sync/copy was made. This makes the Rsync procedure much more efficient and makes its running time much shorter.

2. AMANDA – is a good backup program that enables you to back up your files onto a backup TAPE. This application can backup multiple hosts, and it is a good solution for such backups. AMANDA uses Samba or Cygwin to enable windows operating systems backup. So you can either backup a Linux environment files or Windows OS files.

3. BACULA – I have to say this tool is a great backup solution for any organization that wants a simple but efficient tool for backing up the organizational servers. If you have several Linux or Windows files across the network that needs to be backed up, this is the solution for you. The BACULA has agents who sit on the client-side (Yes there is an Agent to install on the Windows operating system as well) which is configured to connect to the BACULA backup server, and does the authentication and opening the channel of communication between the BACULA server and its clients.

The configuration procedure is a bit tricky, but once you have read the instructions and made some tests, you will be able to set anything you need, at the schedules you desire.

The BACULA sends backup confirmations through e-mails, so the IT Manager (Network Administrator) can get the backup status updates of the nightly backups directly to his e-mail, and track the backups first things in the morning.  The backup can be done either on local hard-disks, external USB drives or network NFS file servers.

I recommend this program, try it out.

Tags: , , , , , , , , , ,

Beginning linux

Linux, what is that operating system? why is it becoming such a required operating system? why do we need to get to know it? There are so many questions like that about Linux that I would like to calm down. Now that I had the chance of getting to know Linux pretty well, I can honestly say that there is much potential for the open-source operating systems. You can basically get all of the things you were used to getting from the Windows operating system, and much more.

There are many tools in Linux, which are free and there are easy techniques to get those tools downloaded and installed on your system. You just need to learn a couple of basic tools that enable you to control these operating systems. My favorite Linux operating system is UBUNTU and I believe many do think like me about it. This operating system is the most convenient and relatively easy to use, it would be recommended to start learning Linux with this operating system.

Linux has two options (all free of course), the first option is the desktop option the other is the server option. The desktop option is a version that includes the graphic interface (Gnome or KDE are the most common) which resembles what you know from the Windows operating system. The operation of the desktop is much the same, there are many built-in applications included in each Linux operating system. The Linux server option, gives you a black screen command prompt, like DOS in windows, which enables you to use all of Linux options, which most of it is being done on the text mode (the desktop interface is just redundant). Linux servers can become anything you want, either a web server, FTP server and much more. Any application in the computer world that you think of, you can create and install in Linux and all of those applications and tools are free, just install, configure and you’re up and running.

Linux has an open office that can open documents saved by the Windows operating system. There are many other built-in applications within the desktop version. All of those tools are free, and most of them will cover all of your needs, either for home use or for your office purpose.

The only issue I am missing in Linux is the computer games option. Currently, I am unfamiliar with any good games as we know in windows on a Linux machine. But, I assume in time this will happen as well since Linux is slowly becoming a real fact in the computer world.

Tags: , , , , , , , , , , , , , , , ,
Back to top