Ruby + Apache + Mysql for Linux安装入门手册

apache mod_ruby mod_ruby.so 让apache可以解析ruby文件 立即下载

Ruby + Apache + Mysql for Linux安装入门手册

Ruby是一门非常有趣的开源脚本语言, 它能够支持Windows/Linux 等多种平台, 能够使用Ruby来开发包括 游戏, 网络应用, 系统管理,
CGI程序等. 它简洁、高雅、执行效率高,而且目前一经有很多比较成熟的框架来支持它。不过目前在国内普及程度不高,有兴趣的同志可以尝试一下。


我们下面描述一下它的安装方法,主要是基于Web应用的的安装:Apache + Mysql + Ruby。

一、软件列表

Apache  httpd-2.0.54.tar.gz  http://httpd.apache.org
MySQL  mysql-4.0.25.tar.gz  http://dev.mysql.com
Mod_ruby mod_ruby-1.2.4.tar.gz  http://modruby.net
eRuby  eruby-1.0.5   http://modruby.net
Ruby  ruby-1.8.2.tar.gz  http://www.ruby-lang.org
Ruby-mysql ruby-mysql-0.2.6.tar.gz  http://www.tmtm.org


二、软件安装 (假设目前所由操作都是在 /root 下进行)

1. 安装MySQL

# tar zxvf mysql-4.0.25.tar.gz  #解压
# cd mysql-4.0.25
# ./configure --prefix=/usr/local/mysql  #配置
# make
# make install
# ./scripts/mysql_install_db #初始化数据库
# useradd mysql #加一个Mysql用户

#权限设置
# chown -R root /usr/local/mysql
# chgrp -R mysql /usr/local/mysql
# chown -R root /usr/local/mysql/bin
# chgrp -R mysql /usr/local/mysql/bin
# chown -R root /usr/local/mysql/var
# chgrp -R mysql /usr/local/mysql/var
# chmod 777 /usr/local/mysql/var
# chown -R root /usr/local/mysql/var/mysql
# chgrp -R mysql /usr/local/mysql/var/mysql
# chmod 777 /usr/local/mysql/var/mysql
# chown -R root /usr/local/mysql/var/mysql/*
# chgrp -R mysql /usr/local/mysql/var/mysql/*
# chmod 777 /usr/local/mysql/var/mysql/*
# chmod 777 /usr/local/mysql/lib/mysql/libmysqlclient.a

# /usr/local/bin/mysqld_safe --user=mysql &  #使用用户mysql来运行Mysql守护进程


2. 安装Ruby

# tar -zxvf ruby-1.8.2.tar.gz
# cd ruby-1.8.2
# ./configure --prefix=/usr/local/ruby
# make
# make install


3. 安装Apache

# tar zxvf httpd-2.0.54.tar.gz
# cd httpd-2.0.54
# ./configure --prefix=/usr/local/apache  --enable-module=so #配置Apache安装目录和模块加载
# make
# make install


4. 安装mod_ruby

# tar zxvf mod_ruby-1.2.4.tar.gz
# cd mod_ruby-1.2.4
# ./configure.rb --with-apxs=/usr/local/apache/bin/apxs #指定Apache模块目录
# make
# make install

# 合并Apache和mod_ruby

编辑 /usr/local/apache/conf/httpd.conf文件,加入以下内容:

LoadModule ruby_module /usr/local/apache/modules/mod_ruby.so

<IfModule mod_ruby.c>
  # for Apache::RubyRun
  RubyRequire apache/ruby-run

  # exec files under /ruby as ruby scripts.
  <Location /ruby>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
    Options +ExecCGI
  </Location>

  # exec *.rbx as ruby scripts.
  <Files *.rbx>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>

  # # for Apache::ERubyRun
  # RubyRequire apache/eruby-run
  #
  # # handle files under /eruby as eRuby files by eruby.
  # <Location /eruby>
  #   SetHandler ruby-object
  #   RubyHandler Apache::ERubyRun.instance
  # </Location>
  #
  # # handle *.rhtml as eruby files.
  # <Files *.rhtml>
  #   SetHandler ruby-object
  #   RubyHandler Apache::ERubyRun.instance
  # </Files>

  # # for Apache::ERbRun
  # RubyRequire apache/erb-run
  #
  # # handle files under /erb as eRuby files by ERb.
  # <Location /erb>
  #   SetHandler ruby-object
  #   RubyHandler Apache::ERbRun.instance
  # </Location>

  # # for debug
  # RubyRequire auto-reload
</IfModule>

# 启动Apache
# /usr/local/apache/bin/apachectl start


5. 安装eRuby

# tar -zxvf eruby-1.0.5.tar.gz
# cd eruby-1.0.5
# ./configure.rb
# make
# make install


6. 安装ruby-mysql

# tar -zxvf ruby-mysql-0.2.6
# cd ruby-mysql-0.2.6

#使用任何文本编辑器打开 ./ruby-mysql-0.2.6/setup.rb文件,修改一下内容:
sock = `mysql_config --socket`.chomp
为
sock = `/usr/local/mysql/bin/mysql_config --socket`.chomp
保存,退出

# /usr/local/ruby/bin/ruby ./setup.rb
# /usr/local/ruby/bin/ruby ./test.rb 127.0.0.1 root  # ./test.rb host user password
# /usr/local/ruby/bin/ruby ./install.rb


7. 测试

# /usr/local/apache/bin/apachectl restart #重启Apache

打开浏览器,输入 http://localhost 应该能够看到"安装Apache的页面"之类的内容,如果出错,应该出险类似下面的信息:

Apache/2.0.52 (Unix) mod_ruby/1.2.4 Server at localhost Port 80

如果有必要,你可以考虑安装一个PHP跟Apache结合,方便安装类似phpMyadmin之类的工具。

--测试代码: (保存为 test.rb)--

str = "Content-Type:text/html;charset=UTF-8 /n/n"
str += "<html><head><title>Test</title></head><body>Test Succeed!</body></html>"
puts str

把该文件放在你设置的cgi目录下, 在浏览器里访问: http://localhost/cgi-bin/test.rb, 应该就能够看到输出,否则出现错误.


* 参考文档: http://www.ruby-cn.org/phpbb/viewtopic.php?t=72


WriteTime: 2005-09-03 23:21
Author: heiyeluren

知识追踪实战:lstm+ Multi-head Attention注意力机制的学生做题成绩预测实战 阅读详情

相关推荐

[pcie]gen6 下 L0p

000b~100b: 触发L0p 操作流程协商工作link width 到target link width.为111b:link width 硬件动态调整。硬件动态:Device control 3 register.target link width=111b当pcie链路检测到空闲状态时,设备可以主动进入L0p状态。L0p 是pcie gen6 新引入的链路状态,是L0的子状态。(5)LINK WIDTH:当LINK WIDTH CHANGE.cmd为Request时表示请求的链路宽度。

BIG_APPLE1的博客 1690

Apache 初学者教程

如果您使用的是基于 rpm(RedHat 包管理器是用于在 Linux 系统上安装应用程序的实用程序)的 Linux 发行版,即 Red Hat、Fedora、CentOs、Suse,您可以通过供应商特定的包管理器或直接构建 rpm 文件来安装此应用程序来自可用的源代码压缩包。因此,虚拟主机 apache 的数量将取决于您的服务器上配置的 IP 地址数量。如果在您的服务器上启用了 mod_php,您将在 /etc/httpd/conf.d/ 目录中有一个名为 php.conf 的文件。

qxx213dff的博客 845

WinForm制作文件传输助手,Tcp局域网传输文件,传输速度受限于宽带和硬盘速度上限

文件传输助手为什么会出现,是因为项目上有些特殊的地方限制太多了,连插硬盘都需要关软件,联网又要开很不方便,网络限制一般软件只能局域网通信,还要开特定的端口等,你才能在电脑上通信,这样和机房的服务器远程的时候文件就不好拿过去,又不可能每次都去开机房的门。现在这个功能比较简单,只能单文件发送,但是其实比U盘硬盘方便,一般的六类网线传输压缩包在50M/s以上,U盘硬盘复制就不行了,特别如果是像我们学校这种网络结构,一个学校都在一个局域网,那真的方便!普通的局域网用特定IP和端口,通信也是很方便的。

m0_69233031的博客 1679

让Apache支持ruby写的cgi程序

ruby apache cgi 配置 1,按说明安装ruby的apache mod2,配置文件如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 ####################################

djcsch2001的专栏 1889

量化策略分享之ST股弱转强,回测年化123%

本策略的核心是精选ST股票,国九条过滤,防止直接暴雷退市,只做ST股票的弱转强,弱转强的认定标准是前日涨停但昨日不涨停,昨日收盘价大于前一日最低价,昨日收盘价大于10日线,昨日成交量大于前一日的成交量但小于前一日成交量的10倍,股价大于1;这类股票强势,有资金介入,能获得超额收益。

qq_29301281的博客 1278

MFC使用Websocket通讯介绍和实例(附完整源码)

踩坑点,下载了好几个boost版本编译,经常出问题,后来搜索了好久资料才发现如下评论:WebSocket++0.8.2 has been tested through Boost 1.72。WebSocketpp依赖于boost,因此在使用WebSocketpp前需要编译Boost;所以我们直接下载Boost 1.72的windows版的进行安装,安装完成还需要编译;WebSocketpp也叫WebSocket++;服务编译好之后,使用。

weixin_42530684的博客 1175

在apache中安装mod_ruby和eruby

1.简介    mod_ruby在apache中嵌入了Ruby解释器,能使Ruby CGI更快的执行。下载地址:http://modruby.net/archive/mod_ruby-1.2.4.tar.gz    eruby是eRuby的实现,它把Ruby代码嵌入普通文本中,比如html中,从而类似asp,php等。下载地址:http://modruby.net/archive/eruby-1.

Ruby语言 4799

矩形阱粒子能级求解方法

问题10. 考虑粒子在“矩形阱”中的能级:−uxx+Vu=λu -u_{xx} + V u = \lambda u −uxx​+Vu=λu其中 V(x)={−H∣x∣≤L,0∣x∣>L. V(x) = \begin{cases} -H & |x| \leq L, \\ 0 & |x| > L. \end{cases} V(x)={−H0​∣x∣≤L,∣x∣>L.​提示:在 ∣x∣<L |x| < L ∣x∣<L 和 ∣x∣>L |x| > L ∣x∣>L 的区域分别求解方程,解必须在 ∣x∣=L |x|

weixin_30777913的博客 929

Ruby For Apache

http://rubyforge.org/projects/rubyforapache/

胡争辉 1145

STM32H743的FDCAN使用方法(1):STM32CubeMX初始化代码生成

STM32H743的FDCAN使用方法(1):STM32CubeMX初始化代码生成。

kevin1499的博客 2578

微信电脑版本不会自动下载图片吗?——没有找到解决方法。——只会默认下载doc等文件,图片不行,需要自己另存为——有什么办法解决吗?

微信电脑版本不会自动下载图片吗?——没有找到解决方法。——只会默认下载doc等文件,图片不行,需要自己另存为——有什么办法解决吗?此外,用户还可以选择将接收到的图片、视频和文件保存到指定的文件夹中。‌用户可以在微信设置中调整这一设置。

qq_15963745的博客 5134

史上最完整的ruby,rails环境架设配置(Apache+fastcgi)

在cloudzm的blog上看到这篇文章,照着做了一遍,发现有一两处遗漏,写出来以免自己忘记:我用的是windows2003, server 用的是wamp server(apache 2.0 , php5, mysql5)下面是原文,红字是我自己写的:其实只是写出来,怕以后忘记,也没指望多少人会看到,网上也有许多关于设置apache和rails的文章,我试了几个都有问题,最后参照网上的文

在水一方 4627

SpringBoot 系列教程(十二):给大家推荐20个SpringBoot开源项目,私活必备

基于 SpringBoot2.x + Shiro 实现了用户管理、个人微信、支付宝支付,内置扫码支付、后台回调、订单查询、限流等一系列功能

Thinkingcao的专栏 2845

Ruby on Rails生产环境部署:Apache+Passenger+MySQL深度配置指南

Ruby on Rails 是典型的服务器端 Web 应用框架,其生产部署依赖于 Ruby 运行时、Web 服务器(如 Apache)与应用服务器(如 Passenger)的精密协同。理解 Passenger 作为 Ruby 和 Apache 之间的运行时桥梁机制,是解决 'App could not be started' 等静默失败的关键;而 MySQL 的 sql_mode、lower_case_table_names 等底层参数,则直接决定 ActiveRecord 行为一致性与数据完整性。本文面向

weixin_33882452的博客 369

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

CentOS安装Ruby组件

ruby安装#安装ruby组件yum install ruby ruby-irb ruby-devel rubygems rpm-build -y#安装Apache服务器yum install httpd -ychkconfig httpd onservice httpd start#安装MySQL数据库yum install -y mysql-server mysql mysql-de...

AB20093248的博客 249

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

CentOS6.5+apache+mysql+php+Ruby+Redmine+phpMyAdmin+BugFree

一.安装版本说明 CentOS:   6.5-x86_64 Apache:   2.4.9 PHP:          5.5.6 Ruby: 2.1.5 Redmine: 2.5.2 Mysql: 5.6.16   二.安装CentOS_6.5-x86_64 1.      系统安装流程 界面1选择基本存储设备 界面2选择全新安装 界面3主机名:localhost,同时左

Coder.Monkey的工作簿 3023

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Linux上安装Redmine

安装基本的软件环境 # yum install zip unzip libyaml-devel zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel mysql-devel gcc ruby-devel gcc-c++ make postgresql-devel ImageMagick-devel s...

weixin_30901729的博客 271

linux下安装redmine+backlogs

  更新源 apt-get update apt-get upgrade apt-get install openssh-server;//安装sshd 使其可以在终端操作linux 1、安装mysql apt-get install mysql-server  apt-get install mysql-client  apt-get install libmysql...

randychaocc的专栏 225

linux rails 环境安装

一. Ruby 安装 1. 得到Ruby安装包   wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz   安装的1.8.7版本 2. 解压安装    tar -xzvf ruby-1.8.7-p174.tar.gz    cd  ruby-1.8.7-p174    ./configure    ma

xiaolyuh的专栏 1417

redmine一键安装linux,How to install Redmine in Linux Windows and OS X using BitNami Redmine Stack - Redm...

How to install Redmine in Linux, Windows and OS X using BitNami Redmine Stack¶What is BitNami Redmine Stack?¶BitNami Redmine Stack is an all-in-one installer that makes it easy to install Redmine on y...

weixin_35043331的博客 230

你可以在Linux上搭建一个完整的MySQL Web服务器,无论是选择LAMP还是LEMP堆栈

在Linux环境下搭建一个基于MySQL的Web服务器是一个常见的任务,通常用于运行PHP、Python、Ruby等动态Web应用。根据你的需求选择合适的Web服务器和配置,确保服务器的安全性和性能。在Linux系统上搭建基于MySQL的Web服务器是互联网领域的经典技术方案,具有稳定、高效、开源免费的特点。打开浏览器,访问服务器的IP地址或域名,如果看到Apache的默认欢迎页面,则表示安装成功。打开浏览器,访问服务器的IP地址或域名,如果看到Nginx的默认欢迎页面,则表示安装成功。

[Blog][Domain] programb.blog.csdn.net 1584
上一篇: 解决Fedora Core 4中Apache无法加载PHP模块的问题
下一篇: Ruby 学习常用网址收集
黑夜路人(heiyeluren)
黑夜路人(heiyeluren) 领域专家: 前端开发技术领域 领域专家: 前端开发技术领域
博客等级 码龄23年 3991粉丝 407原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值