Language Selection

English French German Italian Portuguese Spanish

Linux made workable, productive, and easy!

Filed under
Linux
HowTos

Linux made workable, productive, and easy!

By TGodfrey

So....you have downloaded and installed your first Linux distribution. Everything looks good and works even better, but you want to administer the computer easier, install some business applications, install a web browser, install an anti-virus program, firewall, share a folder using SAMBA, and mount a jumpdrive.....all in under an hour. After the packages have been downloaded of course.

I get these questions from people who want to fully utilize their new Linux installation, be protected, and want to be productive. We will walk through some popular applications on what they are used for and how to install them. I've tried these how-to's on SuSe, Red Hat, and Mandrake installations on various types of hardware and found the instructions below to work with little or no extra effort.

Let's get started...


Request: I want to administer my system without having to memorize a lot command-string items or I get confused when administering different Linux flavors.

Answer: Webmin is an easy to use browser-based administration tool that seems to work on SuSe-Red Hat-Mandrake that I have used. It comes with so many tools that will help the system administrator regardless of their knowledge level.

To install Webmin (a graphical way to administer):

  • Go to TERMINAL
  • 1. cd /

    2. mkdir /Webmin

    3. *** download the latest version to this subdirectory ***

    4. cd /Webmin

    5. rpm -ivh webmin-1.180-1.noarch.rpm

    6. *** You will see the program install ***

    7. Access Webmin from a browser at: http://<hostname>:10000/ [ENTER]

Note: You may want to bookmark this site


Request: I want to exchange documents, spreadsheets, presentations, and other typical business documents.

Answer: OpenOffice is a fantastic office suite developed by Sun that has a word processor, spreadsheet, presentation package, drawing application, math, and a simple database. I've found I can exchange documents with others using Office 2003 and below with little to no differences.

To install the latest OpenOffice (business productivity suite):

  • Go to TERMINAL
  • 1. cd /

    2. mkdir /OpenOffice_2

    3. *** download the latest version to this subdirectory ***

    4. cd /OpenOffice_2

    5. tar xvzf Ooo_1.9.m79_native_LinuxIntel_install.tar.gz

    6. cd into the directory with the unpacked image. This could be RPMS

    7. Delete any rpm files that do not apply to your system. For example, on a Fedora Core 3 system, delete any rpms specific to another distribution such as openofficeorg-suse-menus-1.9.79-1.noarch.rpm.

    8. Then execute --> rpm -Uvih *rpm

    9. To run: Click on the [REDHAT] – [OFFICE], then you will see icons created for each of the programs. The first time you run a program from here, it will take a little bit to load up – Be Patient!


Request: I would like to install a web browser called 'Firefox' that I've heard quite a bit about. It is supposed to be quicker and has a built-in pop-up blocker and some other nice features.

Answer: Just follow along below.

To install the latest Firefox (internet web browser):

  • Go to TERMINAL
  • 1. cd /

    2. mkdir /Firefox

    3. *** download the latest version to this subdirectory ***

    4. cd /Firefox

    5. You can use the graphical file manager to install this if you wish (for something a little different). Do a [RIGHT-CLICK] on firefox-1.0.1.installer.tar.gz and [ENTRACT HERE]

    6. It will make another subdirectory called firefox-installer. Go into this subdirectory and double-click on the firefox-installer shell script (remember the gear?). Go through the defaults and make sure it will connect to the internet and exit the browser.

    7. What about an icon to re-launch? Copy the watermark.png file to /usr/share/pixmaps. [RIGHT-CLICK] on the desktop and select [New Launcher], fill in the [NAME] --> Firefox. Fill in the [COMMAND], click on [BROWSE] and locate 'firefox' in the /Firefox folder. Click on the [ICON] and scroll to the bottom until you see watermark.png, then [OK]. Verify it works.


Request: Do I need an anti-virus or firewall program for Linux? I've heard it is so secure that I really don't need one.

Answer: Yes, you do. Any operating system that does not have its service and security patches updated, unnecessary services running, or out-of-the-box installations not updated is called an unprotected system. There is no silver bullet when protecting your system. The best approach is called a layered approach (think skins of an onion). Any task you do to protect your system and the data on it is time well spent. We will at least need an anti-virus and firewall to start with on the machine itself.

To load BitDefender (an antivirus program):

  • Go to TERMINAL
  • 1. cd /

    2. mkdir /BitDefender

    3. *** download the latest version to this subdirectory ***

    4. cd /BitDefender

    5. This is a fairly easy RPM install, but let's try using Webmin instead. Bring up Webmin in a browser (hopefully Firefox!) and see the beginning of this page for details. Click on [SYSTEM] – [SOFTWARE PACKAGES], Select 'from local file' and use the [...] button to help find the RPM file in the /BitDefender folder.

    6. Click on [INSTALL] and wait a few moments. The next screen will show the application was installed, where, and any other important information. Exit Webmin, then open a TERMINAL session. BitDefender is a command-line based program and very powerful. Type in --> bdc –help to see all the options available. You may want to update the definitions by typing in --> bdc –update [ENTER], this will take a few minutes to update.

    7. Scan your files, read more of the help options, you can even setup a cron job to run BitDefender at a certain time.

To load Firestarter (a better firewall than the RedHat default):

  • Go to TERMINAL
  • 1. cd /

    2. mkdir /Firestarter

    3. *** download the 0.9.3 version to this subdirectory ***

    4. cd /Firestarter

    5. The install is straight forward. Open a TERMINAL session, change to the subdirectory, and type in --> rpm -ivh firestarter-0.9.3-1.i386.rpm [ENTER].

    6. It is always best to run one good application than two or more of the same type at the same time. This not only saves overhead, but one application will not interfere with the other, or worse case, cause false positives.

    • Please disable the Redhat firewall first before running another firewall.
      • Click [REDHAT] – [SYSTEM SETTINGS] – [SECURITY LEVEL] and change it to No Firewall if you are going to run Firestarter.

    7. Open a TERMINAL session and type in --> firestarter [ENTER]. Walk through the configuration and see how easy it is to configure. After you get done then click on [SAVE]. The firewall will start immediately and display traffic on your segment. This firewall is made to be in between your network and the outside world and run all the time. Once it is stopped, you have no protection. You may want to consider enabling the Redhat firewall again – it all depends on your requirements.

    8. Firestarter can also be accessed (on a Red Hat system) by selecting [REDHAT] – [SYSTEM TOOLS] – [MORE SYSTEM TOOLS] – [FIRESTARTER FIREWALL TOOL].


Request: I would like to share files on my Linux system with other users, regardless if they are Linux or Windows (even Solaris users).

Answer: SAMBA is the quickest, easiest, and most secure way to do this with little effort and has the ability to share with other operating systems.

An easy way to setup a shared folder:

  • Go to TERMINAL
  • 1.On the host machine, make sure SAMBA is running. Open a TERMINAL session and type in --> ntsysv [ENTER]. Cursor down until you see 'smb', does it have a '*' to left? If not, press the [SPACEBAR] and one will appear. [TAB] to [OK] and press [ENTER]. Type in --> xinet -9 [ENTER] to restart services. I would then reboot the computer since SAMBA can be a little finicky.

    2.When it comes back, create a folder that you wish to share. Then click on the [REDHAT] – [SYSTEM SETTINGS] – [SERVER SETTINGS] – [SAMBA SERVER].

    3.Click [ADD], browse for the shared directory you created, give it a description (if you wish), and set the basic permissions. Click the [ACCESS] tab and either specify users or give access to everyone. In order to add users to SAMBA, they have to be created in Redhat first! (Remember useradd? Or you can use the GUI).

    4.Two more things....make sure the proper permissions are setup on the shared folder -and- what are the settings on your firewall? The host is now ready to share. Make sure you also know either the hostname of the server or its IP address.

    5.Sharing from a Linux box to another Linux box is easy. Please create a folder under the /mnt subdirectory. I like typing in commands, but you could also write a shell script to make things easier. Open a TERMINAL session and type this in (substituting your environment/setup):

    mount -t smbfs -o username=<user>,password=p<assword> //<host>/<share> /mnt/<folder>

    <user> user created on the host machine
    <password> the password you assigned
    <host> the name or IP address of the host
    <share> the shared folder on the host
    <folder> the folder you created on the client

    6.Sharing a Linux folder to the Windows world is a little easier. Bring up Windows Explorer, choose [Network Places], then [Entire Network], and search for the hostname of the Linux box. If you double-click on it, the Linux box will ask for a username and password. It should then show you the available folder/s you will have access to. You could also type in --> \\<host>\share in the Address bar at the top of Windows Explorer as well. Either way will get you to the shared item.


Request: I would like to copy files from my USB drive ('jumpdrive', 'thumbdrive', etc), but Linux does not see it. What do I do?

Answer: This usually depends on the Linux flavor and what has been compiled in the kernel. An out of the box install of Red Hat 9 does not see a USB drive, but SuSe 9 Enterprise or Professional does. This is not a big deal and can be delt with quickly.

What if I wish to use my jumpdrive?

  • Go to TERMINAL
  • 1. cd /

    2. cd /mnt

    3. *** create a folder, (example: 'jumpdrive') ***

    4. Insert the USB thumbdrive

    5. Type --> mount -t vfat /dev/sda1 /mnt/jumpdrive [ENTER]

    • * This seems to work with all 256mb drives *

Note: With newer Linux distributions, this does not seem to be an issue. It is with my older version of Redhat 9, but not with Fedora 3 or 4. My SuSE Linux boxes see it automatically as well as Mandrake 10, but 9 does not.


These are the most common requests for 'how to's' that I come across. Remember that Linux is not hard or only for the 'YaYa Brotherhood or Sisterhood of Geekdom'. It is just a different way of thinking and utilizing the potential of your computer. I hope the above helps you configure your new Linux installation to be productive and easy to administer.

Open Source + Open Mind = Endless Possibilities

More in Tux Machines

Leftovers: OSS

  • Rise of Open Cloud Architecture and Over-the-Top (OTT) Network Services
  • Amazon’s Giving Away the AI Behind Its Product Recommendations
    Amazon has become the latest tech giant that’s giving away some of its most sophisticated technology. Today the company unveiled DSSTNE (pronounced “destiny”), an open source artificial intelligence framework that the company developed to power its product recommendation system. Now any company, researcher, or curious tinkerer can use it for their own AI applications.
  • Genode OS Framework release 16.05
    The current release marks the most profound API revision in the project's history. The new API is designed to reinforce the best practices for implementing Genode components. It is the result of countless experiments and the practical experiences made while developing over hundred genuine components during the past ten years.
  • Old projects and the free-software community
    The Community Leadership Summit (CLS) is an annual event for community managers, developer evangelists, people who work on public-facing forums, and those with a general interest in engagement or community development for free-software projects. The 2016 edition was held in Austin, Texas the weekend before OSCON. Several sessions at CLS 2016 dealt with the differences exhibited between old and new free-software projects where community management is concerned. One of those tackled the problem of how to foster community around an older software project, which poses a distinct set of challenges.
  • Thunderbird powered by SoftMaker
    Thunderbird, powered by SoftMaker, is a custom version of the popular email client featuring enhancements that come all in the form of extensions. [...] SoftMaker, a company best known for its SoftMaker Office suite, announced recently that it plans to include the Thunderbird email client into the 2016 version of the office suite.
  • The Document Liberation Project: What we do
    The Document Liberation Project: empowering creators to free their data from proprietary formats.
  • EMC Releases UniK Software for Cloud and IoT App Deployments
  • Microsoft Research Awards Demonstrate Commitment to Open Source [Ed: Microsoft openwashing and claims to be about research rather than cheating, bribery, witch-hunting etc.]
  • The open-source generation gap
    OSI General Manager Patrick Masson was one of the session's attendees, and he pushed back on that last point. There is too much "open-washing" these days, he said, but it does not come from the OSI. There is still only one Open Source Definition; the dilution of the term comes from others who use "open" to describe organizations, workflows, processes, and other things unrelated to software licensing. "We have open hardware and open data, but also 'open cola' and 'open beer.' That blurs over an important distinction. Not everything fits." [...] Among the other points raised during the session, attendees noted that it was important that the community distinguish between minting new project contributors and minting new free-software activists, and that it was important for projects to put a check on flamewar-style debates—particularly those that focus on dismissing certain technologies. It is easy for experienced developers to become attached to a language or framework, but there will always be new languages and projects popping up that are the entry points for new coders. Project members deriding language Y because it is not language X may only serve to tell newcomers that they are not welcome.
  • A discussion on combining CDDL and GPL code
    Within the context of an event dedicated to discussing free and open-source software (FOSS) legalities, such as the Free Software Legal & Licensing Workshop (LLW), the topic of conflicting licenses was bound to come up. The decision by Canonical to start shipping the ZFS filesystem with its Ubuntu server distribution back in February led to a discussion at LLW about distributing the kernel combined with ZFS. Discussions at LLW are held under the Chatham House Rule, which means that names and affiliations of participants are only available for those who have agreed to be identified. This year's LLW was held in Barcelona, April 13-15.
  • Mobile Age: using mobility and open data to include senior citizens in open government
    Helping older European people to be part of the open government process and encouraging their access to civic participation through mobility are the main goals of the Mobile Age project, launched last February.
  • All European scientific articles to be freely accessible by 2020
    And, according to the new Innovation Principle, new European legislation must take account of its impact on innovation. These are the main outcomes of the meeting of the Competitiveness Council in Brussels on 27 May.
  • Council of the European Union calls for full open access to scientific research by 2020
    A few weeks ago we wrote about how the European Union is pushing ahead its support for open access to EU-funded scientific research and data. Today at the meeting of the Council of the European Union, the Council reinforced the commitment to making all scientific articles and data openly accessible and reusable by 2020.
  • Hackaday Prize Entry: An Interface For The Headless Linux System
    Connecting a headless Raspberry Pi to a wireless network can be quite a paradoxical situation. To connect it to the network, you need to open an SSH connection to configure the wireless port. But to do so, you need a network connection in the first place. Of course, you can still get command-line access using a USB-to-UART adapter or the Pi’s ethernet port – if present – but [Arsenijs] worked out a much more convenient solution for his Hackaday Prize entry: The pyLCI Linux Control Interface.
  • RepRap, Open Source and 3DPrinting
    The RepRap project started in 2005 by Adrian Bowyer – “Mister RepRap”, when the patent about this technology expired. 3DPrintings isn’t a new technology, history dates that the first model of stereolithography printing emerged in 1984. The main idea around RepRap projects is to produce 3DPrinters that can auto-replicate most of the parts itself. And in 2006, the RepRap 0.2 successfully printed the first part of itself and in 2008, the first 3d model was printed by an end-user. Currently, the printer more replicated and customized of the 67 printers that are listed on RepRap website, is the Prusa Mendel, the model created by Josef Průša, that was disponibility to the public in 2011 and had a lot of development since.
  • Here is a web interface for switching on your light
    Like I mentioned in a previous post, I wanted to try out a more hackable wifi plug. I got a Kankun “smart” plug. Like the other one I have the software is horrible. The good news is that they left SSH enabled on it.
  • LeMaker Guitar review
    Anyone who has worked with the Compute Module will find the LeMaker Guitar immediately familiar. The system-on-chip processor, an Actions S500, sits alongside 1GB of memory, a combined audio and power management unit, and 8GB of NAND flash storage on an over-sized small-outline DIMM (SODIMM) form factor circuit board. This board then connects to a baseboard, supplied with the Guitar, which provides more accessible connectivity than the SODIMM’s 204 electrical contacts.
  • Open Source Vs Personal Life — Should GitHub Remove Contribution Graph?
    Should GitHub remove contribution graph from the personal profile of the contributors or the developers? This step might be taken for the personal well-being of the developers. Open source is good but personal life cannot be ignored either.

Leftovers: BSD

Security Leftovers

Red Hat News

  • Why SELinux is inherently complex
    The root of SELinux's problems is that SELinux is a complex security mechanism that is hard to get right. Unfortunately this complexity is not (just) simply an implementation artifact of the current SELinux code; instead, it's inherent in what SELinux is trying to do.
  • SELinux is beyond saving at this point
    SELinux has problems. It has a complexity problem (in that it is quite complex), it has technical problems with important issues like usability and visibility, it has pragmatic problems with getting in the way, and most of all it has a social problem. At this point, I no longer believe that SELinux can be saved and become an important part of the Linux security landscape (at least if Linux remains commonly used). The fundamental reason why SELinux is beyond saving at this point is that after something like a decade of SELinux's toxic mistake, the only people who are left in the SELinux community are the true believers, the people who believe that SELinux is not a sysadmin usability nightmare, that those who disable it are fools, and so on. That your community narrows is what naturally happens when you double down on calling other people things; if people say you are an idiot for questioning the SELinux way, well, you generally leave.
  • Systemd 230 Is Upsetting Some Over Its KillUserProcess Setting
    Systemd 230 was released just last week and it has taken heat not only for opening up FBDEV to potential security issues, which already reverted, but also for changing the default behavior of user processes. Systemd 230 made a change where KillUserProcess defaults to yes. This terminates user processes that are part of the user session scope when the user logs out. This is causing problems for ssh-agent, screen, and other common Linux processes.
  • Basics you must know for RHCSA Exam preparation
  • Test Fedora 24 Beta in an OpenStack cloud
    Although there are a few weeks remaining before Fedora 24 is released, you can test out the Fedora 24 Beta release today! This is a great way to get a sneak peek at new features and help find bugs that still need a fix.
  • State of syslog-ng 3.8 rpm packaging
  • My Fedora Badges intern
    For the past two weeks I was lucky to have an intern, who worked on Fedora Badges. Badges is a great way to start as a Fedora design contributor, as they have low entry level. Templates are ready, graphics is available to download, all the resources available here.