部署 Ubuntu Server 开发虚拟机点滴 ubuntu-12.04.1-server
2012-10-20 09:02
429 查看
GUI
光秃秃的server实在讨厌,还是来个GUI操作起来方便嘛~在shell里输入:sudo apt-get install x-window-system-core #安装x-windows的基础sudo apt-get install gdm #安装登录管理器 还可以为kdm/xdmsudo apt-get install ubuntu-desktop #安装Ubuntu的桌面 还可以为Kubunut-desktop/ Xubuntu-desktopsudo apt-get install gnome-core #安装GNOME的一些基础重启之后进入系统便有GUI了http://my.oschina.net/jing31/blog/6593网络
网卡设置成NAT模式是最简单的方法,但需要向外拷贝文件时有些麻烦,此时可以采用如下方法配置真是IPsudo vi /etc/network/interfaces 修改网卡配置文件,打工文件后填下面内容:auto eth0 (启用网卡)iface eth0 inet static ( 设置为静态IP)address 192.168.1.3netmask 255.255.255.0gateway 192.168.1.1完成后保存需要联网的话,然后命令行下在打sudo vi /etc/resolv.conf 设置DNS服务器,打开文件后写上你自己的DNSnameserver 219.150.32.132(主DNS)nameserver 222.85.85.85 (备DNS)完成后保存设置完成IP后还要sudo /etc/init.d/networking restart (重启网络)
VMWare tools
为了提高虚拟机性能,需要安装这个工具vmware tools,步骤如下:sudo apt-get install build-essential //安装主要编译工具 gcc, g++, make sudo apt-get install linux-headers-3.0.2.0-29-generic-pae安装必须的一些组件包运行vmware_install.pl 这个安装包
http://blog.csdn.net/liguohui/article/details/7685049
安装包
apt-get autoclean仅删除不再能被下载的包. 另外apt-get clean也可删除/var/cache/apt/archives/ 和 /var/cache/apt/archives/partial/目录下所有包(锁定的除外)。的:/etc/apt/sources.list文件里保存着一些服务器的设置,在这些服务器上有大量的可以用于Debian的软件,sources.list例子deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian unstable contrib main non-freedeb http://mirror.dlut.edu.cn/debian unstable main contrib non-freedeb http://mirror.dlut.edu.cn/debian-non-US unstable/non-US main contrib non-freedeb http://mirror.dlut.edu.cn/debian-security stable/updates maindeb http://debian.ustc.edu.cn/debian sid main non-free contribdeb-src http://dean.ustc.edu.cn/debian sid main non-free contribdeb http://debian.ustc.edu.cn/debian-non-US sid/non-US main non-free contribdeb http://debian.ustc.edu.cn/debian-uo sid marillat java misc ustcMysql安装
GUI下在软件中心可以安装mysql server client和工具也可以使用命令行如下安装
http://www.cnblogs.com/168cuiyuan/archive/2012/08/30/2663358.html
Netbeans/Eclipse安装
从netbean eclipse的官网下载对应的文件安装即可脱机安装
如果有的部署机器不能联网该怎样部署安装呢?1、从安装iso文件的pool/main中找到对应deb文件包,使用dpkg安装,这个对于依赖比较少的很简单
2、对于依赖比较多的软件,使用这种方法
1)在一个可联网的干净虚拟机上,使用sudo apt-get install ***,安装需要的软件,在/var/cache/apt/archives/可以看到所有的包
2)把以上的包拷贝到不能联网的机器上的一个目录下,使用sudo dpkg * 安装即可
对于linux常用的rpm包的安装,可以采用如上的方法先把alien安装好,然后就可以安装rpm包了。
相关文章推荐
- 部署 Ubuntu Server 开发虚拟机点滴 ubuntu-12.04.1-server
- 【Django】通过虚拟机Ubuntu Server+uWSGI+Nginx部署Django项目
- 虚拟机上的Linux Java开发环境部署记录(VirtualBox+Ubuntu)第一章-基础环境搭建
- SharePoint Server 2013 RTM 开发测试虚拟机部署文档
- 【转载保存】Ubuntu14.04安装pycharm用于Python开发环境部署,并且支持pycharm使用中文输入
- Debian & Ubuntu下89c51单片机开发环境部署
- 虚拟机ubuntu部署hadoop2.2.0伪分布(1)
- Ubuntu 开发服务器配置(SSH server,登陆到远程服务器进行文件共享)
- 怎样在Ubuntu 12.04 Server 上安装部署 Ruby on Rails 应用
- Ubuntu Server 14.04开发环境配置
- 虚拟机安装Ubuntu Server 16.04中文版时出现“无法安装busybox-initramfs”
- azure云配置ubuntu虚拟机及部署scrapy
- Ubuntu 14.04 Server 部署Redmine 手记
- 调整虚拟机中Ubuntu Server 屏幕分辨率
- 调整虚拟机中Ubuntu Server 屏幕分辨率
- 虚拟机安装Ubuntu14.04打开FireFox提示Server not found
- VirtualBox下使用Ubuntu 虚拟机Android 真机做开发调试
- Android开发-直播视讯(3)-创建一个Ubuntu虚拟机并实现VMtools文件夹共享-基础知识