[问题]打算将服务器迁移到ubuntu

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

[问题]打算将服务器迁移到ubuntu

#1

帖子 zhu-qi » 2005-12-09 13:19

最近,研三的一批学长就要走了,我稀里糊涂地成了实验室的服务器管理员。同学纷纷向我抱怨现在的服务器不稳定,似乎重装成了必然的事情。正好,原来的服务器是fedora的,但是我一直习惯于使用ubuntu,所以想将服务器迁移到ubuntu平台上,一来更新升级方便快速,二来想通过熟悉ubuntu的系统管理,积累一些debian的服务器管理方面的知识。应该说,这个对我即是一个挑战也是一个机遇。
万事开头难,也要谨慎。所以我计划在寒假阶段将服务器迁移,这样如果出点问题,造成的影响应该是最小的。所以有2个月的时间让我去慢慢准备。

假设好服务器,今后的主要用途有以下几个方面:
1。ftp服务器,需要id和ip绑定的功能
2。vpn服务器,这样大家都能在寝室远程桌面了,很爽
3。程序开发的服务器们,包括:
cvs服务器
http服务器
tomcat或者jboss服务器
oracle服务器(可能吧,估计不会装)
4。计划中还有需要的额外服务:
远程登录,允许用户先通过vpn连进来,然后远程登录服务器,使用需要的软件,比如eclipse等等

我的计划是选用ubuntu的server安装,但是之前我使用ubuntu都是用desktop安装,没有用过server选项,心中有点缺乏自信,毕竟我接触linux才几个月。
下面是我担心的一些问题:
1。双网卡能否正确识别并且使用,能否ipforward,让别人共享上网
2。安全性方面的问题,比如需要使用什么防火墙的软件,ssh等等
3。server安装的步骤不熟悉
4。vpn服务器没有架设的经验
5。ftp服务器只有很简单的假设经验,没什么id ip这么复杂的经历
6。不知道能不能让别人远程登录,真正实现多用户多任务

希望各位有经验的大虾们,给小弟一些hint,谢谢
我的msn: zhu-qi@vip.sina.com

如果有热心人愿意加我msn,小弟感激不尽
“被ubuntu所感动,也想为它和大家做点什么”
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2005-12-09 13:38

嘿嘿,我都有开设,还是挺稳定的。
不用担心。
头像
rs888
帖子: 75
注册时间: 2005-11-30 20:48

#3

帖子 rs888 » 2005-12-09 14:09

呵呵,你什么也不会呀!先看看置顶的帖子再下手不迟1
头像
gnix_oag
帖子: 1994
注册时间: 2005-05-19 18:38
来自: 湖南永州
联系:

#4

帖子 gnix_oag » 2005-12-09 17:35

支持,支持
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

#5

帖子 zhu-qi » 2005-12-09 18:30

oneleaf 写了:嘿嘿,我都有开设,还是挺稳定的。
不用担心。
还有一个担心的问题
ubuntu的locale是用UTF-8的
如果开设ftp之类的服务器
windows用户连上来,就应该是乱码了
想过修改locale为gbk
但是这样的话,系统用起来会有一点点问题
(比如图形界面下创建的文档名称还是UTF编码)

怎么处理呢?
“被ubuntu所感动,也想为它和大家做点什么”
reinchii
帖子: 111
注册时间: 2005-12-02 0:59

#6

帖子 reinchii » 2005-12-09 19:29

帮你顶,跟着学习
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#7

帖子 oneleaf » 2005-12-09 20:06

zhu-qi 写了:
oneleaf 写了:嘿嘿,我都有开设,还是挺稳定的。
不用担心。
还有一个担心的问题
ubuntu的locale是用UTF-8的
如果开设ftp之类的服务器
windows用户连上来,就应该是乱码了
想过修改locale为gbk
但是这样的话,系统用起来会有一点点问题
(比如图形界面下创建的文档名称还是UTF编码)

怎么处理呢?
不会,你可以全部使用客户端来上传中文文件,只有ssh到服务器上看到的是乱码。不过我反正不看,或者你使用zh_CN的locale好了。或者通知一下最好使用支持UTF-8的FTP客户端。反正有资格上传ftp的人不会太多,就算帮忙设置也容易的很。
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

#8

帖子 zhu-qi » 2005-12-10 19:27

oneleaf 写了:
zhu-qi 写了:
oneleaf 写了:嘿嘿,我都有开设,还是挺稳定的。
不用担心。
还有一个担心的问题
ubuntu的locale是用UTF-8的
如果开设ftp之类的服务器
windows用户连上来,就应该是乱码了
想过修改locale为gbk
但是这样的话,系统用起来会有一点点问题
(比如图形界面下创建的文档名称还是UTF编码)

怎么处理呢?
不会,你可以全部使用客户端来上传中文文件,只有ssh到服务器上看到的是乱码。不过我反正不看,或者你使用zh_CN的locale好了。或者通知一下最好使用支持UTF-8的FTP客户端。反正有资格上传ftp的人不会太多,就算帮忙设置也容易的很。
我在Ubuntu下上传中文文件或者文件夹到windows的 ftp服务器上,就有问题。
“被ubuntu所感动,也想为它和大家做点什么”
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#9

帖子 oneleaf » 2005-12-10 20:37

你不是使用Ubuntu作服务器嘛,从Ubuntu传到windows,使用gftp就好了,源里有打补丁的gftp,设置一下远程字符集就好。
头像
gnix_oag
帖子: 1994
注册时间: 2005-05-19 18:38
来自: 湖南永州
联系:

#10

帖子 gnix_oag » 2005-12-10 21:36

说到 gftp

我这两天用它经常死掉

好象是内部30秒自动重连时必死,
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

#11

帖子 zhu-qi » 2005-12-10 21:52

oneleaf 写了:你不是使用Ubuntu作服务器嘛,从Ubuntu传到windows,使用gftp就好了,源里有打补丁的gftp,设置一下远程字符集就好。
莫非是我远程字符集没有设置好?
我设置的是GBK
是不是设置为GB2312就没问题了?
“被ubuntu所感动,也想为它和大家做点什么”
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

[问题]ubuntu-server

#12

帖子 zhu-qi » 2005-12-13 14:16

这两天在学校的ftp上面看到了ubuntu5.10-server.iso的盘。
这个和ubuntu5.10.iso桌面版,然后安装的时候选择server参数
有什么区别?
“被ubuntu所感动,也想为它和大家做点什么”
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

Re: [问题]ubuntu-server

#13

帖子 oneleaf » 2005-12-13 15:41

zhu-qi 写了:这两天在学校的ftp上面看到了ubuntu5.10-server.iso的盘。
这个和ubuntu5.10.iso桌面版,然后安装的时候选择server参数
有什么区别?
The Ubuntu team is proud to announce Ubuntu 5.10 Server, the first
release of Ubuntu designed especially for server environments.
Like the standard desktop Ubuntu, it occupies a single CD. However,
it is distinguished by the following features:

* Includes server-oriented kernels with out-of-the-box
automatic support for multiprocessor systems
* Includes a wide variety of popular server applications
such as apache, mysql, postgresql, php, zope, openldap,
bind, samba, all on the single CD, ready for installation
* A slim default installation, occupying just 400 megabytes:
add only the software you need, for a clean, maintainable
configuration.
* Provides no desktop environment (GNOME, KDE, etc.) by default
* Safe and text-oriented boot mode for better clarity and
infinite justice on boot.

The default installation is secure by design, with no network ports active
after installation and access to free security updates activated. Network
services are activated only when explicitly installed.

As always, it's supported with regular releases, a commitment to
security updates for 18 months after each release and professional
technical support from many companies around the world.

For more information about the new features shared with Ubuntu 5.10,
see the Ubuntu 5.10 announcement at

http://lists.ubuntu.com/archives/ubuntu ... 00038.html


To Get Ubuntu 5.10 Server
-------------------------

Download Ubuntu 5.10 here (choose the mirror closest to you):

Europe:
http://se.releases.ubuntu.com/ubuntu-server/5.10/

United Kingdom:
http://releases.ubuntu.com/releases/ubuntu-server/5.10/

Rest of the World:
http://releases.ubuntu.com/releases/ubuntu-server/5.10/

Please download using Bittorrent if possible.

Feedback and Helping
--------------------

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever. Please
report bugs through Launchpad:

http://launchpad.net/distros/ubuntu/+bugs

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu IRC channel on Freenode,
on the Ubuntu Users mailing list, or on the Ubuntu forums:

http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
http://www.ubuntuforums.org/


More Information
----------------

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

http://lists.ubuntu.com/mailman/listinf ... u-announce
头像
GOVO
帖子: 427
注册时间: 2005-05-15 3:09

#14

帖子 GOVO » 2005-12-13 16:27

如果想把ubuntu安装到sun的机子上面呢?
还有如果系统环境是utf-8,以前的很多JSP文件都是GB2312的,那不就是要忙死偶了!
琴声如我
zhu-qi
帖子: 27
注册时间: 2005-10-04 21:00

Re: [问题]ubuntu-server

#15

帖子 zhu-qi » 2005-12-13 19:22

oneleaf 写了:
zhu-qi 写了:这两天在学校的ftp上面看到了ubuntu5.10-server.iso的盘。
这个和ubuntu5.10.iso桌面版,然后安装的时候选择server参数
有什么区别?
The Ubuntu team is proud to announce Ubuntu 5.10 Server, the first
release of Ubuntu designed especially for server environments.
Like the standard desktop Ubuntu, it occupies a single CD. However,
it is distinguished by the following features:

* Includes server-oriented kernels with out-of-the-box
automatic support for multiprocessor systems
* Includes a wide variety of popular server applications
such as apache, mysql, postgresql, php, zope, openldap,
bind, samba, all on the single CD, ready for installation
* A slim default installation, occupying just 400 megabytes:
add only the software you need, for a clean, maintainable
configuration.
* Provides no desktop environment (GNOME, KDE, etc.) by default
* Safe and text-oriented boot mode for better clarity and
infinite justice on boot.

The default installation is secure by design, with no network ports active
after installation and access to free security updates activated. Network
services are activated only when explicitly installed.

As always, it's supported with regular releases, a commitment to
security updates for 18 months after each release and professional
technical support from many companies around the world.

For more information about the new features shared with Ubuntu 5.10,
see the Ubuntu 5.10 announcement at

http://lists.ubuntu.com/archives/ubuntu ... 00038.html


To Get Ubuntu 5.10 Server
-------------------------

Download Ubuntu 5.10 here (choose the mirror closest to you):

Europe:
http://se.releases.ubuntu.com/ubuntu-server/5.10/

United Kingdom:
http://releases.ubuntu.com/releases/ubuntu-server/5.10/

Rest of the World:
http://releases.ubuntu.com/releases/ubuntu-server/5.10/

Please download using Bittorrent if possible.

Feedback and Helping
--------------------

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever. Please
report bugs through Launchpad:

http://launchpad.net/distros/ubuntu/+bugs

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu IRC channel on Freenode,
on the Ubuntu Users mailing list, or on the Ubuntu forums:

http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
http://www.ubuntuforums.org/


More Information
----------------

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

http://lists.ubuntu.com/mailman/listinf ... u-announce
谢谢Oneleaf,我等假期了就用这个server盘安装吧
好有挑战性,激动ing
p.s. 稍微看了看,其中说道安装后网络默认是关闭的,有点担心的说
“被ubuntu所感动,也想为它和大家做点什么”
回复