Chinaunix首页 | 论坛 | 博客
  • 博客访问: 520629
  • 博文数量: 56
  • 博客积分: 1136
  • 博客等级: 少尉
  • 技术积分: 1378
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-28 14:02
文章存档

2014年(1)

2013年(7)

2012年(45)

2011年(3)

分类: LINUX

2012-01-13 17:40:16

64位环境依赖包

sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
  x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
  libxml2-utils xsltproc

 

更新软件源

sudo apt-get update && sudo apt-get upgrade

 

系统清理

apt-get install下载的软件放在/var/cache/apt/archives/下

sudo dpkg -i *.deb
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove

 

安装ubuntu-restricted-extras

sudo apt-get install ubuntu-restricted-extras

 

安装ssh

sudo apt-get install openssh-server openssh-client

安装samba

sudo apt-get install samba

sudo apt-get install smbfs smbclient

sudo vim /etc/samba/smb.conf

#======================= Global Settings =======================

[global]
    workgroup = workgroup
;    server string = samba 3.5.8
    username map = /etc/samba/smbusers
    security = user
;    encrypt passwords = yes
;    guest ok = no
;    guest account = nobody

[root directory]
    path = /home/cheney
    writeable = yes
;    browseable = yes
    valid users = cheney

sudo smbpasswd –a cheney

/etc/init.d/smbd restart

安装NFS

sudo apt-get install nfs-kernel-server

修改启动次序

sudo vim /boot/grub/grub.cfg

修改hostname

sudo vim /etc/hostname

修改windows启动次序

电脑属性-》高级系统属性-》高级-》启动和故障恢复

阅读(2038) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~