Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Server Platforms
Discussion regarding any server based ubuntu release.

 
Thread Tools Display Modes
Old December 16th, 2004   #1
zachtib
Quad Shot of Ubuntu
 
zachtib's Avatar
 
Join Date: Dec 2004
Location: Louisville, KY
Beans: 401
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to zachtib
Ubuntu Server Trouble

I am running ubuntu on my server and have a few questions:
First, how do I enable the ftp and http daemons on ubuntu
Second, whenever I set a static IP address, ubuntu cannot access the internet. How can I fix this?
Thanks for your help
zachtib is offline   Reply With Quote
Old December 16th, 2004   #2
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: Ubuntu Server Trouble

First, how do I enable the ftp and http daemons on ubuntu

install vsftpd and apache2.

Second, whenever I set a static IP address, ubuntu cannot access the internet. How can I fix this?

Tell us more about your network setup.
jdong is offline   Reply With Quote
Old December 22nd, 2004   #3
sime
First Cup of Ubuntu
 
Join Date: Dec 2004
Beans: 3
Re: Ubuntu Server Trouble

Have something like this in /etc/network/interfaces

iface eth0 inet static
address 192.168.1.50 # Static IP
netmask 255.255.255.0
up route add default gw 192.168.1.1 # Routing as it can talk to the network
sime is offline   Reply With Quote
Old December 23rd, 2004   #4
randy
Gee! These Aren't Roasted!
 
Join Date: Oct 2004
Location: Potsdam NY
Beans: 179
Re: Ubuntu Server Trouble

Can you talk to other systems on your lan?
__________________
What boots up must come down
randy is offline   Reply With Quote
Old January 4th, 2005   #5
britishtrident
Spilled the Beans
 
Join Date: Jan 2005
Beans: 14
Re: Ubuntu Server Trouble

Quote:
Originally Posted by zachtib
I am running ubuntu on my server and have a few questions:
First, how do I enable the ftp and http daemons on ubuntu
Second, whenever I set a static IP address, ubuntu cannot access the internet. How can I fix this?
Thanks for your help
If you set a static IP adress you must also set a gateway and the dns servers.
Normally the gateway is your routers IP, the DNS servers are normally those given to you by your ISP + a local server if you are running one.
Be aware running httpd and ftpd that are exposed on the internet can cause major security weakneses test that they are restricted to chroot jails and that firewalling is 100% screw down.

Last edited by britishtrident; January 4th, 2005 at 10:34 AM..
britishtrident is offline   Reply With Quote
Old January 4th, 2005   #6
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
Re: Ubuntu Server Trouble

I wouldn't worry too much about running Apache -- the default config is pretty locked down already -- any tweaks on that are minimal and subjective.

But I'd agree -- be CAREFUL with FTP servers -- read the documentation, and at least two howto's on setting them up.
jdong is offline   Reply With Quote
Old January 5th, 2005   #7
Magneto
Quad Shot of Ubuntu
 
Magneto's Avatar
 
Join Date: Oct 2004
Location: Neither here nor there
Beans: 343
Ubuntu 9.04 Jaunty Jackalope
Re: Ubuntu Server Trouble

wassup jdong how do u like reiser4? any real performance gain?

i tried to pm you but your fanbase is too large
Magneto is offline   Reply With Quote
Old May 15th, 2007   #8
hyker6291
Guest
 
Beans: n/a
Re: Ubuntu Server Trouble

Re: Ubuntu Server Trouble
Ebay Equity Line Credit Girls Debt Consolidation Girls
  Reply With Quote
Old May 15th, 2007   #9
markthecarp
A Carafe of Ubuntu
 
markthecarp's Avatar
 
Join Date: Apr 2005
Location: piedmont-triad, nc usa
Beans: 105
Ubuntu 9.10 Karmic Koala
Send a message via Skype™ to markthecarp
Re: Ubuntu Server Trouble

Quote:
Originally Posted by sime View Post
Have something like this in /etc/network/interfaces

iface eth0 inet static
address 192.168.1.50 # Static IP
netmask 255.255.255.0
up route add default gw 192.168.1.1 # Routing as it can talk to the network
Here's my /etc/network/interfaces pertinent part...
Code:
# The primary network interface
iface eth0 inet static
        address 192.168.1.20
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.60
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
        dns-search your_isp_dns_server
Obvious edits of the last two lines. This was generated by the 6.06 installer as I chose to have the interface have a static IP at install time. If you have Gnome installed you can use System > Administration > Networking to make changes. I don't know of a dpkg-reconfigure command line way.

-mark
__________________
--that's carpenter, not the nasty fish...
markthecarp is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:31 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry