Chapter 10 . Running SUSE Linux 331 . (Apache web server for windows)
Chapter 10 . Running SUSE Linux 331 . Querying the RPM database One of the best features of the RPM facility is that you can find out a lot of information about the software packages that are installed. The query option (-q) lets you list package names, descriptions, and contents in various ways. Here are a few examples: # rpm -qa xmms # rpm -ql xmms | less # rpm -qi xmms | less The first example (-qa) searches for the xmms package and reports the current version of the package that is installed. In the second, -ql lists all files in the xmms package and then pipes that output to the less command to page through it. And finally, -qi displays a description and other information about the xmms package. . Verifying installed packages Use rpm to verify the contents of an RPM package. The -V option enables you to check whether any of the files in a package have been tampered with. Here is an example: # rpm -V aaa_base ..5….T c /etc/inittab S.5….T /etc/profile.d/alias.ash -V checks whether any of the contents of the aaa_base package (which contains some basic system configuration files) have been modified. The output shows that the inittab and alias.ash files have been modified from the originals. The 5 indicates that the md5sum of the files differ, while the T indicates that the time stamp on the file differs. On the alias.ash file, the S shows that the size of the file is different. The rpm command has many other options as well. To find out more about them, type man rpm from any shell. Automated Software Updates As of version 7.1, SUSE Linux includes an automatic update agent. The YaST Online Update (YOU) utility is built right into the YaST facility and offers an easy way to get updates, security patches, and bug fixes for SUSE by downloading and installing them from software repositories over the network. From within YaST, select YOU. YaST shows you the location of mirror sites and then enables you to begin retrieving software updates with a single click. It presents you with a list of patches from which you can choose. Security patches are in red, all recommended patches are selected, and optional patches are shown (unselected). It s easy to see all available patches and read their descriptions to determine if you want them.
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.