debian squeeze 安装 和安装vmware server 2.0

 

Debian squeeze 安装环境建立
 
1、网络启动安装debian squeeze基本桌面系统
 
2、配置安装安装源source.list 进行apt-get update
Nano /etc/apt/source.lst
 
Nano /etc/hosts 修改host ip
 
3、安装服务,做开机加载 fstab
Apt-get install smbfs
4、安装显卡nvidia驱动 
2.6.32-5 amd64一行添加启动参数 
nano /boot/grub/grub.cfg
linux    /boot/vmlinuz-2.6.32-5-amd64 root=UUID=f37455ca-168d-4a29-8556-1949298edf34 ro nomodeset  quiet #设置 nomodeset 参数
 
apt-get install linux-headers-2.6.32-5-amd64
CC=gcc-4.3 /usr/src/NVIDIA-Linux-x86_64-256.35.run -K #只编译内核模块 upgrade后
先下载驱动 到/home/hdy/下载
cd /home/hdy/下载
chmod 0770 NVIDIA-Linux-x86_64-256.35.run
cp NVIDIA-Linux-x86_64-256.35.run /usr/src
apt-get install build-essential linux-headers-$(uname -r)
ctrl+alt+f1 进入字符终端 以root 登录
service gdm3 stop
CC=gcc-4.3 /usr/src/NVIDIA-Linux-x86_64-256.35.run
 
5、安装vmware server
先下载 到 /home/hdy/
cp /home/hdy/VMware-server-2.0.2-203138.x86_64.tar.gz /usr/src
#apt-get install build-essential linux-headers-$(uname -r)
cd /usr/src
tar xzf VMware-server-2.0.2-203138.x86_64.tar.gz #x 解压 z进gz格式 f表示指定压缩文件
cd vmware-server-distrib/
CC=gcc-4.3 ./vmware-install.pl
下面默认回车 编译通过不了。
 
要打补丁//192.168.1.77/dws/vmware/source
cp -a /home/hdy/source /usr/lib/vmware/modules/
CC=gcc-4.3 vmware-config.pl
 
The current administrative user for VMware Server is ''. Would you like to
specify a different administrator? [no] yes #手动更改地方
 
The path "/var/lib/vmware/Virtual Machines" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes] no
 
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines] /home/virtualmachines
 
Please enter your 20-character serial number.
 
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: 90R8N-YRL64-2D6G0-4UMTW
 
#手工更改地方
 
vmware server 键盘鼠标 特殊设置 虚拟机键盘功能不正常。
 
在主目录下 /home/hdy 下
第一步 Nano .mozilla/firefox/p3xy4kwx.default/extensions/[email protected]/plugins/lib/wrapper-gtk24.sh
在第二行加上
export VMWARE_USE_SHIPPED_GTK=yes
第二步
 
echo 'xkeymap.nokeycodeMap = true ' > ~/.vmware/config
 
 
 
 
 
再运行 vmware ,重新启动 鼠标不能正常使用,
再次重新启动正常
 
重新启动计算机后vmware web界面不能打开,vmware 服务不正常运行
rm -R /lib/modules/2.6.32-5-amd64/misc
CC=gcc-4.3 vmware-config.pl
 
再次重新启动又正常
 
 
90WAM-YR7F0-2DQ57-4KHUT
98924-YK640-24P5K-48QLD
92904-YRP44-2FQEP-4LJ2T
90R8N-YRL64-2D6G0-4UMTW
98T04-YR764-2D6E2-4CJTX
98X21-YK3DN-267G3-4H6LN
90W21-YR36H-2677N-4U03E
92W0J-YR261-246E7-4J4RM
988A0-YU364-2D67N-4UPLH
90W8N-YH76J-242GL-4119D
 
 
nano /etc/group 本地用户和服务器用户权限
在本地创建和服务器同样的gid的组,然后把本地用户加入组中,那么本地用户就有服务器用户权限了 
格式: 组名:x: gid :用户名
 
Eiest:x:1001:hdy
DWSUsers:x:999:hdy
 
 
 
 
open-isci安装
apt-get install open-iscsi
启动服务
 service open-iscsi restart
 
一些学习debian5的网站 
http://linux.blogbus.com/logs/29878751.html
http://wiki.debian.org.hk/w/Install_Debian
 

你可能感兴趣的:(linux,职场,休闲,安装学习)