浏览模式: 标准 | 列表 Tag: vmware player

通过Vmware Player快速部署一台CentOS VPS

vmware player(免费软件)作为虚拟机软件功能足够支撑简单的需求,也不用功能更加强大的VMware Workstation(收费软件),虽然后者可以通过“补丁”破解达到免费的效果。

  • Vmware Player下载地址:http://www.xiazaiba.com/html/2975.html
  • centos ISO下载地址:http://mirrors.163.com/centos/6.5/isos/i386/CentOS-6.5-i386-minimal.iso

安装好Vmware Player后新建一个虚拟机,安装CentOS 6.5系统(需要512M的内存)。安装完毕后配置IP。

1、修改网卡IP:/etc/sysconfig/network-scripts/ifcfg-eth0 

  • BOOTPROTO=static
  • IPADDR=10.56.56.2
  • NETMASK=255.255.255.0 

2、修改网关:/etc/sysconfig/network(该网关方便多个IP公用)

  • GATEWAY=10.56.56.1

3、修改DNS:/etc/resolv.conf 

  • nameserver 8.8.8.8
  • nameserver 8.8.4.4

4、使新IP等配置生效

  • ifup eth0

Tags: vmware player, 部署, centos, vps

数据库出错:

MySQL Query Error
Mysql error description: Duplicate entry '0' for key 'uid'
Mysql error number: 1062
Date: 2024-06-03 @ 20:38
Script: http://blog.is36.com/index.php/module/action/param1/tagslist/page/3/user/%E6%AD%A3%E5%86%B0/wap/archives/488/archives/463/comments/archives/488/category/technology_all/links/archives/487/date/202302/archives/492/https:/blog.is36.com/index.php/module/action/param1/tagslist/page/3/user/%E6%AD%A3%E5%86%B0/wap/archives/488/archives/463/comments/archives/488/category/technology_all/links/archives/487/date/202302/archives/492/page/8/https:/blog.is36.com/index.php/module/action/param1/tagslist/page/3/user/%E6%AD%A3%E5%86%B0/wap/archives/488/archives/463/comments/archives/488/category/technology_all/links/archives/487/date/202302/archives/492/https:/blog.is36.com/index.php/module/action/param1/tagslist/page/3/user/%E6%AD%A3%E5%86%B0/wap/archives/488/archives/463/comments/archives/488/category/technology_all/links/archives/487/date/202302/archives/492/page/8/page/8/?action=article&item=vmware+player