Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
vking
V2EX  ›  Linux

怎样用最简单的方法配在Linux上配置IP根目录,我只想用IP访问,然后指向该目录(装apache,lnmp实在有点....)

  •  
  •   vking · Dec 15, 2013 · 5816 views
    This topic created in 4557 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Dec 15, 2013
    感谢前3楼.结贴.
    7 replies    1970-01-01 08:00:00 +08:00
    master
        1
    master  
       Dec 15, 2013   ❤️ 1
    yum install httpd

    apt-get install apache2
    monsterxx03
        2
    monsterxx03  
       Dec 15, 2013   ❤️ 1
    在改目录下执行: python -m SimpleHTTPServer
    lanbing
        3
    lanbing  
       Dec 15, 2013   ❤️ 1
    Lighttpd
    anubiskong
        4
    anubiskong  
       Dec 15, 2013
    nodejs+anywhere
    sandtears
        5
    sandtears  
       Dec 16, 2013
    python -m SimpleHTTPServer 完美~
    Mutoo
        6
    Mutoo  
       Dec 16, 2013
    python -m SimpleHTTPServer +1
    pythonee
        7
    pythonee  
       Dec 16, 2013
    python -m SimpleHTTPServer +1
    但是要说的是中文的支持并不是非常好
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1854 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 16:13 · PVG 00:13 · LAX 09:13 · JFK 12:13
    ♥ Do have faith in what you're doing.