⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.htm

📁 goahead是linux下的轻量级web服务器
💻 HTM
字号:
<html>
<head>
<title>Building and Running WebServer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../style/normal.htm"></head>

<body bgcolor="#FFFFFF">
<h1>Building and Running WebServer</h1>
<p>This release contains everything you need to compile and run the GoAhead WebServer 
  under WindRiver VxWorks, Windows 95, 98, NT, and CE, Unix, LYNX, and LINUX. 
  More supported platforms will be included prior to full release. Before trying 
  to build the GoAhead WebServer make sure you have the most recent version by 
  checking http://www.goahead.com/webserver.</p>
<p>Each supported platform has an operating system sub-directory, which includes 
  a Makefile for building and a main program for invoking and initializing the 
  GoAhead WebServer. To build and run the GoAhead WebServer, change to the relevant 
  operating system directory and use make to initiate the build. Individual instructions 
  for each operating system are provided below.</p>
<p>If you do not want WebServer to use the default settings and configuration, 
  you will need to modify the Makefile and main program file (main.c) for your 
  operating system <B>before</B> compiling. See <A HREF="configure.htm">Configuring 
  WebServer</A> for more information.</p>
<H2>For VxWorks</H2>
<PRE>         cd VXW486
         make
</PRE>
<p> Load webs.o onto the target system and use standard VxWorks procedures to 
  load the program into memory and execute it.</p>
<H2>For Windows NT</H2>
<PRE>         cd WIN
         nmake /f webs.mak
         webs</PRE>
<p>To stop the web server, right click on the taskbar icon for the GoAhead WebServer 
  and select "Close".</p>
<H2>For Windows 95 or Windows 98</H2>
<PRE>         cd WIN
         setpath ( NOTE: Users of Visual Studio 6.0 may not 
                         need to use this command to set 
                         their environment path. )
         nmake /f webs.mak
         webs</PRE>
<p>To stop the web server, right click on the taskbar icon for the GoAhead WebServer 
  and select "Close". </p>
<p><B>NOTE FOR USERS OF MICROSOFT VISUAL C++</B></p>
<p>If you get the following Setup Environment Variables message after installing 
  Visual C++, follow the instructions below BEFORE building and running GoAhead 
  WebServer.</p>
<P>"For your convenience, the environment variables required to run build tools 
  from a command prompt are saved in the VCVARS32.BAT file in your BIN directory."</P>
<BLOCKQUOTE> 
  <P><B>Instructions:</B></P>
  <OL>
    <LI>Copy the VCVARS32.BAT file to your root directory (usually C:\). </LI>
    <LI> Add the file's path name to your AUTOEXEC.BAT file. </LI>
    <LI> Reboot your System.</LI>
  </OL>
</BLOCKQUOTE>
<H2>For Windows CE</H2>
<p>In Microsoft Visual C++ DeviceStudio open the workspace webs.dsw in the CE 
  sub-directory. Set the include and library paths properly for your device. Be 
  sure the symbolic constants CE, UEMF, and UNICODE are defined. Use the build 
  facilities of DeviceStudio to generate webs.exe. Load webs.exe and your web 
  pages on to your CE device using your normal procedures to transfer file to 
  the device. The default location for the web pages is in the \web directory. 
  This can be modified in main.c. Using pre-compiled and linked pages (see WEBS_PAGE_ROM 
  and WebCompiler below) make it easy to load the application and its pages to 
  the system in one step.</p>
<H2>For UNIX (SCO OpenServer V)</H2>
<PRE>          CD SCOV5
          make
          su            ;# As super user
          webs</PRE>
<H2>For LINUX</H2>
<PRE>          CD LINUX
          make
          su            ;# As super user
          webs</PRE>
<H2>For LYNX</H2>
<PRE>          CD LYNX
          make
          su            ;# As super user
          webs</PRE>
<H2>For QNX</H2>
<PRE>          CD QNX4
          make
          su            ;# As super user
          webs
</PRE>
<H2>Accessing the WebServer Home Page</H2>
<P>To access the WebServer home page, point your browser to &quot;http://hostname&quot;, 
  assuming you are running on port 80, or to &quot;http://localhost&quot;, if 
  you are running the browser on the same system as the server. The server's default 
  home page is &quot;home.asp&quot;.</P>
<P>&nbsp; </P>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -