装了好几天的
Debian,今天算是比较成功的一次。纪录下自己操作的步骤。以备以后查阅。
1, 在Debian
安装完成后时常无法登入图形
界面
解决方法:修改/etc/X11/xorg.conf
文件中“Section Devices”项中的 “Driver” 值修改为 “vesa”后保存重启
计算机;
2, 安装GCC; 指令:apt-get install gcc;
3, 安装VMware; 插入
虚拟机应用程序安装目录下的
windows.
iso光盘,选择菜单项VM-->Install VMware Tools...等待安装;
安装程序走到最关键的一步:
What is the location of the directory of C header files that match your runningkernel?
[/usr/src/linux/include]时
运行
apt-get install linux-headers-`uname -r`
apt-get install build-essential
在安装目录写下核心编译目录
/lib/modules/2.6.18-5-686/build/include
4, 修改更新资源文件(/etc/apt/sources.list)中的内容为
# sources.list generated by apt-spy v3.1
deb
http://debian.cn99.com/debian/ etch main non-free
deb-src
http://debian.cn99.com/debian/ etch main non-free
#deb
http://security.debian.org/ stable/updates main
5. 安装samba(共享)
apt-get install samba
修改/etc/samba/smb.conf 文件[global]加入
security = share
guest ok = yes
guest account = nobody
public = yes
browseable=yes
共享文件
配置
[SharingFile]
path = /SharingFile
available = yes
browseable = yes
public = yes
writable = yes
重起 samba
/etc/init.d/samba restart
Good luck.