0339-0340.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 287 行
HTML
287 行
<HTML>
<HEAD>
<TITLE>Developer.com - Online Reference Library - 0672311739:RED HAT LINUX 2ND EDITION:Essential System Administration</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311739 //-->
<!-- TITLE=RED HAT LINUX 2ND EDITION //-->
<!-- AUTHOR=DAVID PITTS ET AL //-->
<!-- PUBLISHER=MACMILLAN //-->
<!-- IMPRINT=SAMS PUBLISHING //-->
<!-- PUBLICATION DATE=1998 //-->
<!-- CHAPTER=15 //-->
<!-- PAGES=0319-0340 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0336-0338.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch16/0341-0344.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-339"><P>Page 339</P></A>
<H4><A NAME="ch15_ 27">
New Releases of Wine
</A></H4>
<P>Wine has been in perpetual alpha stage since it first came out. New releases/versions are
released about once a month. Several newsgroups track the latest release of Wine,
including comp.emulators.ms-windows.wine. The different versions are referred to according to when
they were released. The file format would be
Wine-<yearmonthday>.tar.gz. It is doubtful, at least
to this author, that Wine will ever be anything other than an alpha product. This is because
volunteers develop it, and Windows is changing enough to keep the volunteers busy until the
cows come home.
</P>
<H4><A NAME="ch15_ 28">
Where to Get Copies of Wine
</A></H4>
<P>Wine comes on the CD-ROM with this book. It can also be downloaded from numerous
sites. Some of the more common sites for downloading Wine are
</P>
<!-- CODE //-->
<PRE>
sunsite.unc.edu://pub/Linux/ALPHA/wine/development/Wine-970804.tar.gz
tsx-11.mit.edu://pub/linux/ALPHA/Wine/development/Wine-970804.tar.gz
ftp.infomagic.com://pub/mirrors/linux/wine/development/Wine-970804.tar.gz
aris.com://pub/linux/ALPHA/Wine/development/Wine-970804.tar.gz
</PRE>
<!-- END CODE //-->
<P>Patches are also available. If you have previously loaded a version, the same locations
should have files with the same name, but with a
diff instead of the tar. For example, on Sunsite's site, I found the following:
</P>
<!-- CODE //-->
<PRE>
Wine-970629.diff.gz 29-Jun-97 14:07 32k
Wine-970629.tar.gz 29-Jun-97 14:08 1.4M
Wine-970720.diff.gz 20-Jul-97 13:51 83k
Wine-970720.tar.gz 20-Jul-97 13:51 1.4M
Wine-970804.diff.gz 04-Aug-97 13:18 68k
Wine-970804.tar.gz 04-Aug-97 13:19 1.4M
</PRE>
<!-- END CODE //-->
<P>There were actually versions dating back to March, but this shows the difference between
the two types of files, particularly in the file size.
</P>
<H4><A NAME="ch15_ 29">
Installation and Problems Running Windows Applications
</A></H4>
<P>Installation of Wine is simple. After you gunzip the file and untar the file, follow the
directions in the README file. Included in the
README file is how to compile the source code as well as
how to configure it.
</P>
<P>Running Wine is also a simple process. Assuming you already have X running, open an
xterm window, and, at the shell prompt, type the following:
</P>
<!-- CODE SNIP //-->
<PRE>
wine [program name]
</PRE>
<!-- END CODE SNIP //-->
<P>I know that Solitaire works under Wine, so let me give you an example of how to run
Solitaire. Solitaire is located in the /windows directory on my C: drive. Under Red Hat Linux, the
C:
</P>
<A NAME="PAGENUM-340"><P>Page 340</P></A>
<P>drive is referred to as /doc/c. Therefore, to run the Solitaire program
(sol.exe) under Linux, I simply type the following:
</P>
<!-- CODE SNIP //-->
<PRE>
wine /dos/c/windows/sol.exe
</PRE>
<!-- END CODE SNIP //-->
<P>And, poof, just like magic, a window pops up, and I can now
play Solitaire!
</P>
<P>The most common problem I have seen when trying to run a Windows application,
especially for the first time, is that the MS-DOS partition is not mounted under my Red Hat
Linux filesystem.
</P>
<P>The easiest check for this is to check your mounts with the
mount command. If it is not mounted, try mounting it manually. If it will mount, you might want to consider placing it in your
/etc/fstab file so that it will automatically get mounted during startup of Linux.
</P>
<P>If the filesystem is mounted and it still does not work, check the path statements in the
wine.conf file. All letters in the path must be lowercase.
</P>
<H3><A NAME="ch15_ 30">
Summary
</A></H3>
<P>This chapter gives you a glimpse of the importance of planning an activity and providing all
of the necessary steps involved in changing a system. These steps are even more vital in a
production system. As a reminder, a system administrator should
</P>
<UL>
<LI> Understand how things work
<LI> Know where to find things
<LI> Plan processes
<LI> Have a back-out plan and know when to use it
<LI> Make changes in small increments
<LI> Test all changes
<LI> Communicate effectively and in a timely fashion
</UL>
<P>Communication is the key to success in system administration, as it is with life. You have
many tools to enable you to communicate with other users on the system.
</P>
<P>The chapter takes a brief look at problem determination. Although without knowing
specifics it is difficult to get too much into the problems, knowing where to look for the log
information is a good start. As a matter of fact, knowing where to look for help (such as mailing
lists, man pages, and newsgroups) is also a good place to start. As a side note, understanding
permissions is another one of the keys to system administration.
</P>
<P>As a bonus, this chapter presents a look at Wine. As the system that you are using is
probably an Intel-based box, you do have the ability to run Windows applications. The Wine
application enables the use of some Windows applications under the Linux environment.
</P>
<P><CENTER>
<a href="0336-0338.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch16/0341-0344.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?