ubuntu9.1桌面版适合做文件服务器用吗?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
szfhx
帖子: 98
注册时间: 2009-12-10 15:27

ubuntu9.1桌面版适合做文件服务器用吗?

#1

帖子 szfhx » 2009-12-11 10:46

本人英文不好,需要图形界面和中文支持,单位服务器(1万元左右)主要做局域网文件共享samba和简单ftp(ftp主要是我用于远程管理服务器,传输文件用)。
ubuntu9.1桌面版与服务器版在服务器性能上有什么不同?
ubuntu9.1桌面版适合做文件服务器用吗?
如果适合,可以卸载哪些软件提高服务器性能?
xf22cn
帖子: 75
注册时间: 2007-08-01 12:35

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#2

帖子 xf22cn » 2009-12-14 20:58

您需要下载一张9.10的DVD光盘,然后参考以下步骤执行:
server 安装最小图形界面
一、安装
安装过程从略。
有几点注意:
1、安装时断开网络,但最好手动配置完IP
2、安装到最后选择软件时什么都不选,直接跳到NEXT 继续。
二、将光盘设为源
1、挂载光驱:
安装完毕重新启动后
cd /media/cdrom0
ls -s
如果有内容,可以不进行任何设置直接进入下一步,如没有内容,执行以下操作:
sudo mount /media/cdrom0/ -o unhide
2、编辑源列表
vi /etc/apt/sources.list
打开文件后
d+G
ZZ
这样清空原来的源列表。
3、加入光盘为源
sudo apt-cdrom -m -d /media/cdrom0 add
最后扫描源
sudo apt-get update

下面第三步或第四步任选一步操作,不要重复进行。

三、开始图形界面安装
如果要安装全部桌面软件的话,执行以下命令:
sudo apt-get install ubuntu-desktop
如果只是需要桌面操作的话,请略过本步,跳到第四步开始操作。
四、最小化图形界面安装
如果已经执行了第三步,本步跳过
1、安装X window服务端
sudo apt-get install xorg
测试命令是
startx
输入
exit
退出测试界面
2、安装gnome
gnome的session管理器
sudo apt-get install gnome-session
gnome的面板
sudo apt-get install gnome-panel
gnome的窗口管理器
sudo apt-get install metacity
gnome的小应用程序
sudo apt-get install gnome-applets
3、其他必须安装的程序
资源管理器
sudo apt-get install nautilus
安装图形界面的终端
sudo apt-get install gnome-terminal
图形界面里的sudo,synaptic,图形界面的软件包管理
sudo apt-get install gksu synaptic software-properties-gtk
4、界面美化
sudo apt-get install ubuntu-artwork usplash-theme-ubuntu
sudo apt-get install gdm
5、浏览器安装
sudo apt-get install firefox


五、其他安装
1、本地化语言包安装
sudo locale-gen zh_CN.UTF-8 zh_CN.GBK
sudo apt-get install ttf-arphic-uming
2、输入法安装
sudo apt-get install scim
xlymfhgg
帖子: 3
注册时间: 2009-05-20 21:05

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#3

帖子 xlymfhgg » 2009-12-16 19:58

光盘作源失败,情况如下。。。。。。。。。。。。。。
root@uNMP:/# mount /media/cdrom0
mount: block device /dev/sr0 is write-protected, mounting read-only

root@uNMP:/# apt-cdrom -m -d /media/cdrom0 add

Using CD-ROM mount point /media/cdrom0/
Identifying.. [ec240a0f343da03ffa2e63fee9068679-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
This disc is called:
'Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.2)'
Copying package lists...gpgv: Signature made Wed 28 Oct 2009 06:51:16 PM EDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.2)]/ karmic main restricted
Repeat this process for the rest of the CDs in your set.
W: Skipping non-exisiting file /media/cdrom0/dists/karmic/main/binary-i386/Packages
W: Skipping non-exisiting file /media/cdrom0/dists/karmic/main/debian-installer/binary-i386/Packages
W: Skipping non-exisiting file /media/cdrom0/dists/karmic/restricted/binary-i386/Packages
W: Skipping non-exisiting file /media/cdrom0/dists/karmic/restricted/debian-installer/binary-i386/Packages

root@uNMP:/# apt-get update

Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.2) karmic/main Translation-en_US
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.2) karmic/restricted Translation-en_US
Reading package lists... Done

root@uNMP:/# apt-get nginx
E: Invalid operation nginx
root@uNMP:/# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nginx is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package nginx has no installation candidate
root@uNMP:/#
zwws
帖子: 21
注册时间: 2007-06-16 11:02

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#4

帖子 zwws » 2010-01-01 2:25

光盘源不是正常吗? 好像源内容有点问题.
szfhx
帖子: 98
注册时间: 2009-12-10 15:27

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#5

帖子 szfhx » 2010-01-02 15:50

谢谢!!!
abbott
帖子: 435
注册时间: 2007-07-11 22:45

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#6

帖子 abbott » 2010-01-06 23:33

不用修改source.list
直接可用的

apt-cdrom -h
apt 0.7.23.1ubuntu2 for amd64 compiled on Oct 15 2009 19:26:37
Usage: apt-cdrom [options] command

apt-cdrom is a tool to add CDROM's to APT's source list. The
CDROM mount point and device information is taken from apt.conf
and /etc/fstab.

Commands:
add - Add a CDROM
ident - Report the identity of a CDROM

Options:
-h This help text
-d CD-ROM mount point
-r Rename a recognized CD-ROM
-m No mounting
-f Fast mode, don't check package files
-a Thorough scan mode
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See fstab(5)
11c657
帖子: 1
注册时间: 2015-10-14 10:31
系统: win7

Re: ubuntu9.1桌面版适合做文件服务器用吗?

#7

帖子 11c657 » 2015-10-19 14:50

小白表示看不懂。
回复