摘要: 以前因为Ubuntu Server 做 kvm 没有解决网卡桥接,就改了Centos6。Centos6配置桥接倒是比较容易,对 Virtual Machine Manager支持也很好,但是偏偏只能用root管理虚拟机,这非常不理想(后经人指点,可以用sudo为普通用户分配权限,有点麻烦)。 现在重新尝试配置Ubuntu Server 网卡桥接,发现其实很简单1. 安装最小安装Ubuntu Server 12.04,只启用OPEN SSH。装好后:superv@kvmserver:~$ sudo apt-get update ; sudo apt-get upgrade -ysu... 阅读全文
posted @ 2012-08-17 02:14 Panblack 阅读(1538) 评论(0) 推荐(0) 编辑
摘要: Ubuntu Server 12.04 安装tomcat6和mysql$ sudo apt-get install sysv-rc-conf tomcat6 mysql-server$ sudo ufw allow 80/tcp$ sudo sysv-rc-conf tomcat6 on修改tomcat端口,我们似乎都知道在这里把8080改成80:$ sudo vi /etc/tomcat6/server.xml <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="2 阅读全文
posted @ 2012-08-17 02:05 Panblack 阅读(537) 评论(0) 推荐(0) 编辑