zoukankan      html  css  js  c++  java
  • linux之虚拟机搭建

    平台:win8.1

    软件:VMware

    虚拟机:centos7mini

    1.下载ios镜像 http://centos.org/download/

    2.在VMware上面安装ios镜像

    3.设置网卡连接方式为桥接

    4.安装wget

      使用命令:yum -y install wget

    5.下载lnmp安装包并安装

      使用命令:wget -c http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz && tar zxf lnmp1.1-full.tar.gz && cd lnmp1.1-full && ./centos.sh

      期间会有选择安装mysql的版本,php的版本

    6.关闭centos防火墙

      使用命令:chkconfig --level 35 firewalld off 

    7.在主机win8平台上使用虚拟机的ip地址访问虚拟机中的网站

      查看虚拟机的ip地址使用ifconfig命令

      如果出现ifconfig command not found

      使用命令 yum install upgrad

        以及yum install net-tools

      先安装net-tools然后才能使用ifconfig

     
     
  • 相关阅读:
    struts2类型转换2
    list集合排序3
    list集合排序2
    list集合排序
    JSON
    Java获取文件Content-Type(Mime-Type)
    struts2文件下载
    获取文件大小
    struts2国际化
    人人都是产品经理
  • 原文地址:https://www.cnblogs.com/yiluxiuxing/p/4428180.html
Copyright © 2011-2022 走看看