Configuring with YaST2

Configuring CUPS and Network Printers with KDEPrint

Setting up remote network printers is not substantially different from the local setup process, but because SUSE Linux 10 gives you a choice, let's show you how to set this up in the KDEPrint wizard . To open KDEPrint, go to Printers in the KDE menu. Figure 7.7 shows you the existing printers it has autodetected. Figure 7.7. KDEPrint displays autodetected and manually added printers. Figure 7.7. KDEPrint displays autodetected and manually added printers. Click Add to select your remote printer....

Standalone GUI Newsreaders

Maybe your email client doesn't do news (for example, KMail), or you want something better adapted to the Usenet atmosphere (good binary transfer, bozo filters, and better ways to clear spam). Standalone newsreaders can be a good choice. As with so many other GUI packages, there are standalone newsreaders for both KDE (KNode) and GNOME (Pan). You can include KNode inside Kontact if you want. Pan runs much like the Windows newsreader Fort Free Agent, but is more advanced. You can read feeds from...

Gaming on Linux

As the original hobby operating system, some Linux users have all their fun just tweaking the OS and their applications. Others need more traditional entertainments. SUSE Linux is fully equipped with assorted options for the gamer in you. Very few shrink-wrapped commercial PC games are produced for Linux. For the most part, games are developed these days for Windows PCs using the Direct3D graphics engine. The cross-platform OpenGL engine is used for many popular games (like Doom III), but...

Running fvwm

This window manager, which started life as the Feeble Virtual Window Manager, but is no longer an acronym, is a favorite of more than a few alpha geeks. Gushing quotes from such Linux stars as Eric Raymond, Alan Cox, and Linus Torvalds himself appear on FVWM's website. The default FVWM desktop (Figure 6.13) is somewhat plain, but clearly you can get some work done on it. Figure 6.13. FVWM can run Mozilla, and its menu bar helps you get to work, The FVWM menu bar at the top displays the multiple...

Installation Disk Tools and General Systems Administration

This set of links points to useful resources on installing Linux, booting, partitioning, and other installation and system-management tools. http irc.freenode.net A great starting place to go for information about SUSE, Linux, or anything related. of the Dell Linux Community. Dell is focused on Enterprise Linux and will sell you servers with either SUSE Linux Enterprise Server or Red Hat Enterprise Server, but the community site offers mailing lists to support Linux users on desktops and...

The hdparm Command

The hdparm utility can be used by the SuperUserto set and tune the settings for IDE hard drives. You would do this to tune the drives for optimal performance. Once a kernel patch and associated support program, hdparm is now included with SUSE Linux. You should only experiment with the drives mounted read-only because some settings can damage some file systems when used improperly. Evidence of this can be seen when typing the hdparm command without any arguments. This displays the program's...

Starting and Configuring the NFS Server

To start the NFS Server on any network computer, run the NFS Server module in YaST Network Services. On the first screen, click Start NFS Server and check the Open Port in Firewall box, if necessary. Click Next to identify (export) directories to other machines. To include a directory on the server, click Add Directory in the middle of the screen. Enter the full path of the directory or browse to it. Click OK and you will see some options. By default, all hosts on the network can see this...

Packages to restore

Apache 2 prefork MPM + Restore RPM database (if present in archive) 2 52 38.70 GB 34.85 GB 2 32 24.03 GB 50.49' GB Command Line tools for Managing Berkeley DB D Viewer for dBase III and dBase IV files gutenbrowser Reader and downloader for Project Gutenberg Ete libgda-mysql libgda-odbc libgda-postgres libgda-5qiite libpgeasy libpq+ + libpqxx libpqxx-devel Database Interface Library and Classes Fielded free-text engine with a Z39.50 frontend Clients for Internet Databases Database Access for...

Welcome to SUSE Linux

Getting Help Documentation and Other Sources And a fine place it is to begin Whether you are brand new to Linux or moving from another distribution, you will find SUSE Linux easy to use and powerful to work with. SUSE Linux Unleashed is here to help you get the most out of it. This chapter will give you a brief overview of SUSE Linux, with hints on how to use the rest of this book. The first thing anyone wants to know is where does this SuSE thing come from, why is it spelled funny, and how do...

Kernel Tuning with sysctl

As the kernel developed overtime, developers sought a way to fine-tune some of the kernel parameters. Before sysctl, those parameters had to be changed in the kernel configuration and then you had to recompile the kernel. The sysctl utility can change some parameters of a running kernel. It does this through the proc file system, a virtual window into the running kernel. Although it might appear that a group of directories and files exist under proc, that's only a representation of parts of the...

Understanding the Physical Structure of a Disk

All these file systems organize data on a disk in largely the same manner. The differences between them, especially among the Unix Linux file systems, are usually related to the speed of retrieval. Disks are organized (or formatted) in blocks. The first block of any disk is the boot sector, which contains a very short program (a few hundred bytes), which will load and start running the operating system. In the case of a dual-boot system, a bootloading program, such as lilo or grub, will be...

Figure 2212 GKrellM helps you visualize what is happening on your computer

By default, the program will pull information from the proc directory and tell you several important things about your computer, including What sort of use your CPU is getting. The number of users (both live and system) logged in and the processes running. When the hard drive is being accessed, and for how much data at a time. Your network connection speed. A graph of your Random Access Memory usage, both hardware RAM and your Swap partition. The very top of the display gives you your machine...

Alt os linux suse

C2 Start a new topic - Subscribe to this group - About this group Description For all SuSE Linux users. View titles only Viewing with message tex1 tar.gz archives and directories S Collier-Feb 1, 11 52 am I have recently downloaded a couple of tar.gz archives. I wanted to put each of the unpacked archives in their own directories. So I looked at the flies in one of the archives and there was no directory there, only files. I created a directory for the files and extracted the files to that...

Usenet News Today

When Usenet began, it was a genuinely new way for Internet pioneers to collaborate with each other. Instead of having to use hit-and-miss methods of finding electronic mailing lists of interest and import to your work, you could set up a server for public bulletin boards where everyone interested in some topic could drop in, find out the latest information (or news) about that topic, and drop out again. Anyone who had news could post it there for everyone else's use. People could ask questions...

Installing MySQL

Most likely (especially if you installed SUSE Linux with a minimal amount of services), you will not have MySQL installed because it's not installed by default. As long as you have the installation CD-ROMs, you can install it quickly and easily using the YaST Software Management module, as shown in Figure 29.1. Figure 29.1. Using YaST to install MySQL. fit* RspOijijis wtfr iip Fijfep Seirtfi S t iT Tql-adrr. tala J invaql--Bdfrenia,afl x-ik ljiJ intD 31 TVy ql twndi fnyaql'dtrtl fl mrffll-H Q...

How Email Works

When you strip away all the postal metaphors, electronic mail (email) is just plain text sent around a network or between networks. That text is sent from server to server using Simple Mail Transport Protocol (SMTP). Extensions to this protocol allow for authentication and posting error messages. Mail Transport (or Transfer) Agents (MTAs) work unseen by the user to manage sending and receiving. There are two sets of rules for receiving mail. If you're getting mail from your Internet Service...

Completing MySQL Initial Configuration Tasks

Mysql Control Center

After installing your MySQL packages, you need to do the following Initialize the grant tables. Secure the MySQL user accounts. Let's discuss how to do each of these. Initializing the Grant Tables One of the first tasks you need to complete is to set up your MySQL server's grant tables. To understand the grant tables, you must first understand that MySQL access controls, including user accounts and permissions, are managed from within the MySQL service itself. This is done using five tables...

Welcome to K3b The CD and DVD Kreator

Change the welcome screen buttons with a right mouse click. Every other project type and the tools tike image writing or Formatting are accessible via the K3b menu q ,PB i-j jdj lijiyj J L i L J q ,PB i-j jdj lijiyj J L i L J C 20.8GB free 73.6GB total) 0 objectfs) selected File Edit View Go Bookmarks Yahoo Tools Help 0SUSE LINUX l Startup l Entertainment News Internet Search _J Sub with Bloglmes Reference Maps and Directfoi fGlSearch H PageRank Scheck- AutoLink H - Boptions ii lllfe itl...

Working with the Linux File System

As the Internet has just a few specific but well-known top-level domains (.com, .net, .org, .edu, and the like), so are Linux files organized in a particular hierarchy, with specific directories that hold specific types of Virtually all Linux distributions have the same structure, and this is likely to become more entrenched with the Linux Standard Base specifications becoming more universal. The Linux Standard Base (www.linuxbase.org) is an effort to make all Linux distributions more...

Heljjj mtirn IHMhu ldft 5Copu

IHciui 7Nkdlr Delete WullDn IQflH J To copy a set of documents with the .sxw extension from - documents to a directory on a remote server called backup mikemc, follow these steps 1. In the left pane, use the arrow keys to navigate to the Documents directory. Press Enter to open this directory. 2. Tab to the right pane. At the bottom of the Midnight Commander, you will see a flashing cursor. This is a shell prompt. Type cd backup mikemc to navigate to this directory. You could use the parent...

IS Network Services Configuration xnetd

Nowait bitlbee.nogroup usr sbin bitlbee partition, press Do Not Resize. This resets the values to the original size of the partition. The upper bar graph displays the current situation. The lower bar graph displays the situation after the installation after the partition resize. Drag the slider or enter a numeric value in either input field to adjust the suggested value. rm b in rm usr share man manl rm . 1. gz Lisr share nan nanlp rm. lp. gz 1 i mix hone tux ft jj In addition to your manual...

TV and Video Xine and Mplayer

Several open-source projects have been launched to create PVRs on Linux. The most successful of these is the MythTV project. The goal of MythTV is to bring the mythical digital convergence box to life, so it has the TiVo features, a web browser, an email client, games, and a music player. Installing MythTV under SUSE Linux is not for the faint of heart, but it can be done. YaST will help along the way, dealing with various software dependency issues that might not be solved through compiling...

YaST Control Center

This is especially useful in an emergency, when the system won't boot to the GUI login screen. To restore your system from a previous backup (see Chapter 20, Managing Data Backup, Restoring, and Recovery, for more information on backing up and restoring your system), follow these steps 1. Run YaST by typing yast at the rescue prompt. 2. Use the arrow key to select System from the listing on the left. 3. Tab to the module section on the right, and then arrow down to Restore System. 4. Follow the...

Creating a New Partition

Click Create to set up a new partition. Depending on your setup, you will be asked what disk to create the partition on and whether it is a primary or extended partition (see the preceding Note). EP then displays the Create Partition dialog box, shown in Figure 18.2. Figure 18.2. The Create Partition dialog box lets you set all the necessary options for a new Figure 18.2. The Create Partition dialog box lets you set all the necessary options for a new Figure 18.2 shows the default settings for...

Using etcfstab to Automatically Mount File Systems

The default file system mount behavior is set by the FileSystem TABIe, or fstab. YaST sets this up during the initial installation. You can modify it directly in a text editor (as Root) or use Expert Partitioner's partition editing tool. After you understand the structure of the file, it will be much easier to hand-edit etc fstab, but EP's fstab options page offers a friendlier interface if you are reluctant to hand-edit critical files. You can view, but not edit, your fstab file in KdiskFree....

Caudium Webserver

The Caudium Webserver is on par with Apache but again with different strengths and weaknesses. It is a nonforking, threaded web server. It offers a web-based configuration interface, templating with the RoXen Macro Language (RXML), Pike code embedding, and the Supports Database, a method through which the requesting browser's capabilities can be identified without using JavaScript in the web document. Caudium is not distributed with SUSE, but its source code can be downloaded from the project's...

Using sudo to Grant Root Privileges

When you're the system administrator of a large system with lots of users, you don't want to give out the Root password to everyone who wants to install software on his or her computer. You can solve this problem with SuperUser Do, or sudo. You configure sudo by editing etc sudoers with the special visudo editor. As you might guess, visudo is a version of vi made for use with this file. It checks for parsing errors in your edits, so you should definitely use this, rather than your regular...

Compiling Software from Source

Some programs are too complex or too specialized for the programmer to go to the trouble of creating RPMs for them. So the programmer archives the source code in a tarball and sends it out. Often, simply extracting the code into an appropriate directory is all that's needed to make the application work, as you've seen with several of the blogging tools in Chapter 14, Creating Basic Websites, and the Azureus BitTorrent client in Chapter 17, Secure File Transfer. Other programs must be compiled...

Managing Collective Software Development with CVS and Subversion

The original revision control system res utility has features to manage small application projects, but when an application grows larger or is maintained by several developers, a better tool is needed. The Concurrent Versions System CVS arose to manage a corps of far-flung open-source developers and files that can potentially change on a minute-by-minute basis. CVS controls the source code by storing it exclusively in one place, called a repository, and setting rules for access to the files. A...

Disk Free and Kwik Disk

Short on disk space Need to know when to modify your partitions or logical volumes KwikDisk can sit in your KDE system tray and tell you what disks are currently mounted and how much space each has remaining. By default, it will also pop up a warning box when a disk is getting full. To put KwikDisk in your tray, right-click in an empty spot on the tray. Choose Add to Panel, Application, System, Desktop Applet to find KwikDisk. KwikDisk is the watchdog for a larger program, KDiskFree, which...

Linux and Your Digital Camera

A digital camera combined with your personal computer is a powerful tool to create, store, edit, print, and share images. You can take your pictures, store them initially on the camera's disk or memory card, and then transfer them to your PC with the camera's USB cable. View or edit the file with your favorite image editor, then email photos to friends and family, post them on your photo blog, or preserve the images on a recordable CD. No fuss, no muss, no film. Unfortunately, some of the...

Azureus the Java Bit Torrent Client

The most manageable BitTorrent client for Linux is a bit of open source Java code called Azureus. Named for a species of frog notable for its blue coloring, Azureus is easy to install and easy to work with. To install Azureus, head to the download page at Download the appropriate client for your system (choose between the GTK and Motif versions for Intel x86 processors, or the AMD64 or PowerPC versions for those processors). You will get a tarball that you can open with your favorite archiver....

Editing Images with The GIMP

Time was when the GNU Image Manipulation Program (GIMP) was touted as the killer app that would drive ordinary desktop users to Linux. A professional image editor whose features rivaled the fabled Adobe Photoshop on Windows that didn't cost several hundred dollars (well, one that didn't cost anything) is just what people need, some analysts thought. It didn't happen exactly that way, but it remains reasonable to say that Linux for the masses wouldn't be here if not for The GIMP. To learn more...

Securing Network Services

SUSE Linux uses xinetd, the extended Internet Services Daemon, to secure network services and keep the bad guys out. xinetd is a more secure version of the original Internet Services Daemon, inetd. It is designed in particular to protect your network from denial of service (DoS) attacks. A DoS attack occurs when someone tries to saturate a server's resources with repeated requests for services. You can limit the number of incoming connections with xinetd to something manageable. To configure...

KDE Control Center

When you open the KDE Control Center, you get a quick summary of your system information versions for KDE and the Linux kernel release, the machine name, and your username. Down the left side are the configuration categories. In Appearance and Themes, you can set the wallpaper (called Background here), the screensaver, window colors, and other look-and-feel items. Each can be set individually, or themes can do this all at once. Go to the Theme Manager and click Get New Themes to visit http...

Yast i packagename

For example, if you wanted to install the dosbox package, you would enter the following yast -i dosbox Just as when using the Software Management module, installing a package from the command line performs a dependency check and automatically installs any dependent packages required. After installing any new package, you should always run YOU to check for updated versions of the software. This protects your system against any bug or security problem that may have been discovered and fixed since...

Photoshop Versus The GIMP

Two large obstacles prevent The GIMP from becoming a standard prepress format for dead-tree printers. The first is Photoshop's licensing for Pantone colors to ensure accurate color matching. Adobe can pay to license Pantone's patented color specification the all-volunteer GIMP Project cannot. There are GIMP palettes that approximate Pantone colors, but no one can say with certainty if these educated guesses are 100 right. The second problem relates to the differences between how colors look on...

Using Nautilus in GNOME

Once upon a time at the turn of the millennium, a group of former Apple developers were converted to the open source cause. They founded a company called Eazel and announced their determination to make Linux as easy to use for the ordinary person as the MacOS. Their plan was to begin with a simple file manager and work from there. But the economy turned bad, and venture capital was no longer throwing money at even promising startups. Just 16 months after announcing their big plans, Eazel was...

Running Windows Applications with VMware

VMware Workstation 5.0 is another virtual machine (hence the VM) creator that enables you to run a variety of operating systems at the same time. VMware has separate host packages for Linux and Wndows and supports clients for all varieties of Wndows and several other Linux distributions. The virtual machine is complete, down to its own BIOS. The chief problem with VMware is its resource hogginess. Even with a powerful machine with a fast processor and lots of memory, it is difficult to...

Using dosemu and DOSBox

Venerable dosemu are DOS emulators you can install with YaST. dosemu can run all sorts of DOS programs, and it comes with a GPL version of DOS, called FreeDOS. DOSBox comes with a graphics package, making it particularly suitable for running games. If you are lucky enough to have a spare copy of Windows 3.x, you can install it under dosemu as well. Both applications can be installed by YaST, and DOSBox inserts itself into the KDE System menu. dosemu is a little harder to run because it must run...

Antivirus Tools

Conventional wisdom is that Linux is virtually virus-proof. This is true, for the most part, but perhaps not forever. Virus writers, from the script kiddies to the more professional criminal types, like to use Outlook as a transmission vector for their tools. Some have even called Outlook a virus-spreading mechanism that also delivers email. As more people use Linux to get their everyday work done, the evil ones will try to rise to the challenge. How well they succeed depends on how ready for...

Blogging with Word Press

WordPress is a very popular system, but a little complex to run. It is driven by a MySQL database, which must be running before you get started. Chances are your web host will support database-driven sites, but you should check in advance. Similarly, if you want to try out WordPress on your local system first, you will have to get MySQL and PHP set up and running. Use YaST to install the PHP and MySQL packages. See Chapter 29, Managing Databases, for more information on setting up MySQL. 1. Go...

Setting Date and Time

During the installation, YaST will ask for your time zone and set your clock accordingly. If you move, or if you have a laptop that travels with you, it's easy to change time zones with the YaST Date and Time module (see Figure 4.3), located on the System page. When you open it, select your region in the left pane and your time zone in the right. Figure 4.3. Select the desired time zone in the Date and Time module. Figure 4.3. Select the desired time zone in the Date and Time module. If you...

Power Management for Laptops

SUSE Linux configures laptops for saving power and prolonging battery life, whether you have an APM or ACPI system (see the earlier 'YaST Power Management section if you missed those definitions). The YaST Power Management module lets you tweak those settings. Choose Edit Schemes to make changes to the default settings or add your own. Use the three buttons on the main screen (refer to Figure 4.7) for quicker adjustments. Battery Warning lets you set three levels of warnings that your battery...

Configuring Infrared Interface IrDA Mode

Chances are good that your laptop uses either Bluetooth or Infrared Data Association (IrDA) to communicate with other devices. IrDA's differences with Bluetooth are minimal, but significant In Bluetooth, the individual devices do not need to see each other directly. In Bluetooth, several devices can be connected in a network. However, the maximum data rate is 720 Kilobits per second (in the current version 1.2). The next version of Bluetooth is expected to improve that rate to more than 2...

Installing Apache

You can install Apache through YaST like any other package. This is by far the easiest way. When you search for Apache in YaST, you'll see a couple dozen packages, including several modules and Perl scripts that are optional but that may be useful to you. When you install Apache 2.x, you will need one of the multiprocessing module (MPM) packages to run the server. The MPM is the component responsible for listening for network connections, accepting the request, and passing it to children...

Apache Modules

It should not surprise you that the patchy server does most of its work through modules. After all, it's this very modular design that has enabled it to become a powerful, flexible web server. Some 50 core modules are included in the Apache2 package, and a couple dozen more are included in the SUSE Linux distribution. All are installable with YaST. In addition, nearly 400 modules are stored in the Apache Module Registry, http modules.apache.org. The following is but a brief sampling of modules...

Working with ReiserFS

ReiserFS version 3 is the default file system for SUSE Linux. Created from the ground up by Hans Reiser, it is safer and faster than the old default ext2 file system. It is a journaling file system, meaning it has a file (a journal) that records changes to the file system. Should you have a system crash, a power surge, or some other mishap leading to an unexpected (that is, involuntary) shutdown, recovery will be less traumatic. ReiserFS was the first journaling file system included into the...

Updating Your System with apt

In addition to the RPM system, the APT packaging system developed for the Debian Linux distribution is the other most popular Linux install and update tool. APT's ease of use rates highly. Using APT to install most packages from the command line involves typing apt-get install and APT does the rest. Developers for the Brazilian Linux distribution Conectiva first created apt4rpm to bring the benefits of APT to RPM-based distributions. Richard Bos further adapted the program to SUSE's...

Configuring Network and Internet Connections

Next, YaST checks for networking hardware Ethernet cards, dial-up modems, or high-speed connections. You have the option to configure these yourself later (click Skip Configuration), but it is a good idea to set this up during the installation. YaST will use this connection to go online to update your installation in the next step. Figure 3.5 shows the default network settings screen. As before, if YaST failed to detect all your networking hardware, or misidentified something, click the...

Organizing Your Life with Evolution Calendar

Evolution is a complete personal information manager, with calendar and task (to-do) list. You can convert email messages to either events or tasks, if you need to. You can import calendars, from other individuals and from the Web, into Evolution. The calendar supports the iCal standard developed by Apple. Visit http icalshare.com to see user-contributed calendars on assorted topics, from holidays and history, to local Linux User Group calendars. To import a calendar from iCalShare into...

Wrangling the Bit Torrent

Whatis.com describes the most important advantage of BitTorrent as follows Rather than having to send a download to each customer requesting it, the distributor or holder of content sends it to one customer who in turn sends it to other customers who together share the pieces of the download back and forth until everyone has the complete download. This makes it possible for the original server to serve many requests for large files without requiring immense amounts of bandwidth. For the most...

Tuning Hard Drive Parameters at Boot

One way to tune your hard drive involves adjusting the settings in your BIOS. Every BIOS seems different, and in any case is not Linux, so consult your motherboard manual before proceeding. Take every precaution, and make sure the BIOS sees all your drives. Change one setting at a time. Linux does offer a limited means to interact with BIOS settings during the boot period (mostly to override them). Other options include these commands, which can be used to force IDE controllers and drives to be...

Setting Up Your SUSE Linux Email Account

In Chapter 12 , Connecting to the Internet, we covered your modem setup in YaST. After your modem is configured, YaST asks to configure your mail account. This wizard configures your MTA. If you say Yes to configuring the account, YaST opens the MTA configuration window with something like Figure 13.7. Figure 13.7. The first YaST mail configuration screen lets you enable the default antivirus Figure 13.7. The first YaST mail configuration screen lets you enable the default antivirus

Configuring Printers with YaST

YaST attempts to detect active printers on install, and if you have a fully supported printer, it should find it. Do not give up hope if YaST does not detect it, because it is a simple task to configure your printer manually in YaST as well. To set up a local printer, follow these steps YaST will let you manually configure your printer even if it is not connected to your computer. Obviously, you won't be able to run any of the tests, but go ahead and walkthrough the steps. 1. Open YaST, goto...

J fit H j o I I B a I fg

L> macros t> - ipixmaps t> tiDpo t> L3src * Created by Anjuta version 1,2.2 * * This Eile will not be overwritten * bin sh libtool tag CXX mode-link g++ -Wall -g -o helloworld main.o -Wl, export-dynamic -pthreac g++ -Wall -g -o helloworld main.o -Wl, export-dynamic -pthread -l usr lib64 -L opt gnome lib64 -t7usr Xl Completed successful Project HelloWorld Zoom 0 Line 0001 Col 000 Project HelloWorld Zoom 0 Line 0001 Col 000 1 i mix usr b i 11 ft . my sq 1 _ i list a 11 _db Installing all...

Window Maker Preferences Utility

Version 0,45 Tor Window Maker 0.65.x or newer WPrefs Is free software and is distributed WITHOUT ANY WARRANTY under the terms of the GNU General Public License. Programming Design Alfredo K. Kojima Artwork Marco van Hylckama VliegP Largo et al More Programming James Thompson etal 1 Dialogs Key Bindings Menus Miscellaneous 1 Mouse 1 Quick Switch j Scroti Bars Task eta_R Windows Drt the Windows Previous workspace shortcut Previous window shortcut Previous workspace shortcut Take window to...

Figure 323 The YaST Power Tweak module

In the left pane of the PowerTweak window is a tree full of devices and items you can tweak. Select one to display and edit in the right pane. There is guidance on what to do, to a varying degree, for each item in the display window. To make a change, type the value you want into the Edit box. Sometimes a drop-down menu will appear to direct your changes. Click Finish to approve the change or Abort to leave without making changes. For example, suppose your SUSE Linux system gets a lot of heavy...

Operators and Other Statements

Programming has always been about manipulating data, so you can't do much with all these variables unless you have some operators to work on them. There are three main types of operators in Perl comparison, compound, and arithmetic operators. Comparison operators compare the value of one operation or statement with that of another to see if the overall statement resolves to either true or false. A different course of action can be followed within the program, depending on how statements...

What Is a Relational Database

A database is a collection of information organized in such a way that a computer program can quickly select desired pieces of data based on a query that you provide. As previously mentioned, databases are the storage sites for the world's data. Database services are based on a client server model. In SUSE Linux, you can install components based on that model for both the client and the server portions of the database. You can install a database server by installing MySQL. You can also use...

Figure 2712 Viewing DNS Zone information

This particular dialog box consists of several parts and is responsible for managing of zone files, adding new zones, or removing a zone. To add a zone, add or change the current zone name of example.com. The type of zone will be the master because it's the first zone you are making. After you make more zones, you will be given an option to make a slave domain. A slave is a DNS server that will get its main information from the master server. Read and writes can be done on the master the slave...

Configuring Name Servers with BIND

Before we dig (pun intended) deeper into how to configure DNS as a server-based service on your SUSE Linux system, a word on the service itself BIND. BIND stands for Berkeley Internet Name Domain or Daemon. BIND is software developed by the University of California at Berkeley, as the name implies. BIND is a full service DNS solution that allows clients to get name resolution information as requested. Although an entire book can be dedicated to Unix- and Linux-based DNS, for purposes of this...

Runtime Server Configuration Settings

Running Apache with its default settings should suit most uses. There are some tweaks you can make to customize Apache to your own liking or needs. If you installed Apache using YaST, Apache's standard configuration file is stored in etc Apache2 httpd.conf. If you installed Apache manually, the httpd.conf file will reside in the etc subdirectory of whatever you specified as Apache's base directory using configure's prefix option. You can either use SUSEConfig or edit this file directly to...

Building Apache from the Source Code

You can get the latest stable source code from the Apache download site at This page will point you to a mirror site that changes constantly. You can choose from a tarball, called httpd-.tar, compressed with either gzip or bzip2. These archives are a few megabytes each and should not take too long to download, even with a dial-up connection.

What Is Apache

In the beginning there was the National Center for Supercomputing Applications (NCSA). Although the World Wde Web was first invented by Sir Tim Berners-Lee while he was at the then Conseil Europ en pour la Recherche Nucl aire (CERN) in Switzerland, the Web could not become what it has without two practical additions a server and a browser. The pioneers for both these applications were at NCSA at the University of Illinois. A web server is nothing more than an application that runs silently in...

When to Recompile

There was a time when all SUSE Linux users were warned to take a blood oath never to recompile a SUSE kernel. The SUSE engineers had worked endlessly to make sure everything worked just so and had the best device drivers you could get. Compiling new modules into this carefully balanced and functional kernel could lead to disaster. Today, SUSE Linux is designed to be an enthusiast's (read tinkerer's ) version of the operating system. So as a user, you are almost expected to want to tweak every...

Types of Kernels

There was a time when Linux kernels were monolithic a single block of code with all the instructions for the processor, motherboard, and other hardware specified within. When changing hardware, you had to recompile the kernel to include the drivers for the new piece and remove the old drivers. This was important because unnecessary kernel modules took up memory, which was at a premium. As the kernel code grew larger and the number of devices that you could add to a computer increased,...

Expert Mode

Click the Expert Mode button to display the additional options (see Figure 22.9). The first thing you may notice are the boot scripts and other services listed here. When in Expert Mode, you really need to know what you're doing, and you get much less hand holding as far as descriptions of each service. In Expert Mode, you can do the following Change the default runlevel on boot. Identify which service can run on each runlevel, from boot to shutdown and everything in between. Start, Stop, or...

Running Red Carpet from the Command Line rug

The fastest way to use Red Carpet to update your system is through the rug command-line utility. As always when installing new software, you should be logged in as the SuperUser when using rug. Just typing rug at the shell prompt will give you a list of rug commands. The first time you run rug, it will locate your existing RPM database, so it knows what is on your system now. To see what channels Red Carpet is using to update your system, type rug ch. You should see something like this subd...

Welcome to YaST Online Update

Last succrasfuJ up d.i. a war. p-r-rfr rmcd 3 Ca y f. go. Update Ceflfl&ijrartten Install t itiufte USA TDS Telecnm (titt p) j USfcr-Deiined itfcdtloh USA University of Utah, Schach of computing http) USA University of Chicaga (http) ' USA Georgia T*ch Sohwar* library (http) USA A arta EnWwSiiiSti (http) USA Texo Un-versUy (http) fifitlgun Fjiiy Automatic Uptftte,, For a long time, SUSE maintained just a few online update servers, in Germany and in a few other European locations. YOU always...

Installing Software with YaST

You got a taste of how YaST installs software during the initial system installation. You chose from among four standard installation types Minimum (command-line only, no X), Minimum Graphical (with X, but no desktop environment), Standard with GNOME, or Standard with KDE. YaST then assembled the packages included in your selection and installed them. Sooner or later, you will need an application not included in that standard system installation. Unless that application is brand new, chances...

Setting Up Mirror Disks and RAID Arrays

If you have two or more hard drives in your computer, one way to preserve files is to have one drive act as a mirror for another. This is the principle behind the RAID concept. There are several levels of RAID arrays implemented in Linux. RAID-0 (Stripe Mode) Multiple disks combined to appear as a single device. Data is saved in small stripes on each disk. This can dramatically increase your system performance because large chunks of data are split up between the drives and read or written...

Logical Volume Management LVM

The dilemma in partitioning has always been how large to make each partition (also known as a volume). Too often, you just accept a default, or make a wild guess about how much space you'll need for the data you plan to put on your partition. One day, you'll find yourself painfully short of space on one volume, while having a ton of room on another. Wouldn't it be great to have some space that you could allocate on-the-fly, even while a partition was already mounted Logical Volume Management is...

Mail News Clients

Reading email and reading news are very similar tasks Read and respond, perhaps save for later use. For this reason, the easiest way to keep up may be to use a mail client that supports reading Usenet. Many email clients do this, including some of the best known Mozilla Mail Thunderbird, Evolution, Sylpheed, mutt, and pine. Setting them up to read Usenet is usually just a matter of identifying the Usenet server (often news.< ISPname> .com) and including login information, if authentication...

Configuring Your Wireless Card

YaST can help you connect to your wireless network as well . If you know the network you want to connect to, using YaST will set things up for you. In YaST, go to Network Devices, then Wireless Network Card. Figure 12.9 will appear. Figure 12.9. Configure your wireless card to connect to a stable network here. Figure 12.9. Configure your wireless card to connect to a stable network here. At the top of the screen is the network Operating Mode. Nearly all the time, you want to choose Managed...

Starting with a localhost Interface

Before setting up any kind of Internet connection, you'll need to create a dummy interface that the TCP IP protocol uses to determine the network capability of your machine. This is called the loopback (lo) interface, or localhost. Many network-aware applications reference this interface as well, so it is important. What is a loopback interface To a Linux networking driver, this is a network composed of exactly one computer. The kernel loops back network traffic to and from itself using the...

Using Wine to Run Windows Applications

Choosing a name in the fine GNU recursive-acronym tradition, Wine Is Not (an) Emulator, or so it says. Nonetheless, this open source project has been helping Linux users run Windows applications for a long time. As mentioned in the overview, Wne works by attempting to turn Wndows system calls into Linux kernel calls, in part by making the Wndows application think it is resting comfortably in a Wndows directory. The Wne environment is targeted for Windows 98, and so applications behave as though...

Starting Out Configuring Your Sound and Video Cards

An impression exists that Linux is weak in multimedia (especially sound card) support. This is largely because of some mixed results for the very popular Creative Labs (SoundBlaster) products under Linux. Today, multimedia support is great and continually improving. SUSE Linux supports most current sound cards out of the box. During the SUSE Linux installation, YaST should recognize and give you a default configuration for both your sound and video cards, enough to get you up and running....

Command Line PDA Software for SUSE Linux

The most popular PDA-related applications are bundled in a single package, called pilot-link. You can organize and work with your Palm OS-compatible PDA directly from your shell prompt no GUI required. Among pilot-link's amazing capabilities are Extracting and uploading addresses from your address book(s) Installing datebook information Transferring text memos to and from the PDA Sending and retrieving email documents Installing new PDA programs Backing up, synchronizing, and restoring the...

R lia rii r r I iwUiriM

B OpGnOltiCP.arg Uwr Dita ftlfWtl Memory Cotofs F4rt5 Security Appearance Ae ce si i bil PaleUtes Plug-it re IT fllK este mporary fikia Uter Configuration hsa me rn i k cpc i'0-p* nO H i c it. d r g a j ba rne.rpii i ke me f D pe nOfl i c e. d r g i hame rTiikemCi' penQriKe-.org S t ha me rn i toc me Qjk n ri ic e. r g S harne ftiikepfK ajw riQriice.org S h nii1, ni i k-p me f fw nO ri i e. r g hO rn riHfefl rnc OfH> nQfhc t, o rg 1 f h fne ni i kfl m Qj * pO ftK f. r g 1 ho ffltffl i s w...

Scripting in bash

To get started, you can create some command aliases to simplify a few command-line tasks. Aliases in Linux are environment variables that behave in the same way they sound as another name for a command. You can define aliases on-the-fly at the command line, but those are good for only one session. It's preferable to have these available to you all the time. Before beginning to write your script, take a look at the default aliases defined by SUSE. Go to a shell and type alias at the prompt. You...

Pattern Matching in the Shell

The shell command line allows you to use strings of specially constructed patterns for wildcard matches . This is a different simpler capability that supported by GNU utilities such as grep, which can use more complex patterns, known as expressions, to search through files or directories or to filter data input to or out of commands. The shell's pattern strings can be simple or complex, but even using a small subset of the available characters in simple wildcards can yield constructive results...

Shaking Hands with Your Shell

The Power of the Command Line Writing a Shell Script The Basics In the beginning was the command line, sayeth Neal Stephenson in his wonderful essay on the history of computer operating systems. And so it is true. The easiest and fastest way to get things done in Linux is directly from the command line, called the shell. Why a shell If the heart of the operating system is the kernel of the nut, clearly you have to crack the shell to get at it. The point-and-click graphical interface is easy,...

Running IceWM

IceWM is another straightforward window manager that SUSE does not dress up too much in its incarnation. The SUSE menu is there, of course, and the multilingual Welcome wallpaper used in the KDM login screen is used instead of something more scenic. Otherwise, IceWM behaves like the others. It's effective without being flashy. It is highly configurable, but don't use the GUI iceprefs package included in SUSE Linux. For some reason, an ancient package that relies on an ancient version of Python...

Creating and Deleting Users

A user is not a user until he or she has a password. All user passwords (and occasionally some other information) are stored in the etc passwd file. You can create new users in SUSE Linux in two ways through YaST or through the shell. When you first installed SUSE Linux, you created your first user you. If different people use the computer, giving them their own accounts is essential. If you happen to be the only one planning to use Linux, why would you need to create another Think about the...