LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2015, 05:43 PM   #1
Gerrys57
LQ Newbie
 
Registered: Apr 2015
Posts: 1

Rep: Reputation: Disabled
Unhappy Ubuntu 12.0.4 Server


Ok I'm really new at this . Not the old DOS I'm used to. I'm trying to setup my home server using Ubuntu 12.0.4, I've had no success. I have an actual raid sever I'm using. Loaded first HD with Ubuntu 12.0.4, now trying to setup so I can access from anywhere. Remember I'm a newbie so try and keep it simple until I learn Linux. I have my router setup for port forward using 192.168.100 port 21. everything I looked at so far is pretty complicated for a new user. Any help would be great.
 
Old 04-09-2015, 09:13 PM   #2
Hb_Kai
Member
 
Registered: Jan 2008
Distribution: Windows 8.1, Debian 7
Posts: 91

Rep: Reputation: 49
Not entirely clear what you're trying to do or what you mean trying to set the server up to access from anywhere.

For the FTP, you'll first need an FTP service. Run:
Quote:
sudo apt-get install proftpd
sudo nano /etc/proftpd/proftpd.conf
Find the following by scrolling down the screen:
Quote:
#defaultroot ~
Delete the # character from that line then press Ctrl+X > Y > enter, then run:
Quote:
sudo service proftpd restart
Once it runs you'll be able to log into the FTPd using your Ubuntu server user account.

Once you've done that you'll want to make sure your router is pointing your port forward setting to the right IP. You can confirm the correct IP with ifconfig:
Quote:
sudo ifconfig
You'll be shown something like the following.
Quote:
eth0 Link encap:Ethernet HWaddr 08:00:27:2f:e7:75
inet addr:192.168.42.34 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe2f:e775/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2342 errors:0 dropped:0 overruns:0 frame:0
TX packets:2659 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1368959 (1.3 MiB) TX bytes:257063 (251
Don't worry about all of it; just look at the interface (eth0, eth1, wlan0 etc) that appears to be the busiest. You're looking for the inet addr. That's your machine's network IP given by the router. Make sure your port forward is set to forward to this IP. The port should remain the same.

Once you've done all of that and it works have a look online for a guide to configuring proftpd to use SFTP (secure).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Zentyal Server 4.0 : Linux Business Server Based on Ubuntu Server 14.04 LTS LXer Syndicated Linux News 0 11-19-2014 01:41 PM
LXer: How to Upgrade Ubuntu Server 12.04 to Ubuntu Server 14.04 LTS LXer Syndicated Linux News 0 06-17-2014 04:20 AM
LXer: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 12:01 PM
Ubuntu Server Vs. Ubuntu Desktop for home file server rhodes50 Ubuntu 28 12-19-2010 08:22 AM
LXer: The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) LXer Syndicated Linux News 0 04-27-2008 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration