LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-28-2007, 09:22 AM   #1
ianwright
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Ubuntu Server


Just installed the sever edition of Ubuntu on an old Pentium 3. I want to run a LAMP server so I can test sites, run an intranet at home, etc.

Because of the limited memory the machine went into "low memory mode" during install.

I have ended up with no graphic interface just a DOS like prompt since a GUI is not needed in a server. However, it makes it difficult for a beginner to move around.

I have had it up and running and shown that Apache is working by accessing it from a Windows machine on the network.

I have installed the FTP server and tested it as above.

I am trying to set it up so that it appears how I normally work - create site and then FTP it to the server. The problem is that the FTP server does not point to where Apache expects to find web pages and I cannot navigate to that folder with my Windows FTP client.

Presumably I need to edit a config file somewhere so that the FTP server and Apache are pointing at the same place. But how does a Windows man like me do it?

Can anyone help?

Thanks,

Ian

Last edited by ianwright; 08-28-2007 at 09:23 AM.
 
Old 08-28-2007, 09:37 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Hi and Welcome to LQ.

Ubuntu Server Edition does not install a GUI by default. What FTP server did you setup on your system?
 
Old 08-28-2007, 09:39 AM   #3
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
I am not really a 'ubuntu' guy but hey, linux is linux. What FTP server are you running? You can most likely look in the /etc folder for the .conf file and poke around for the home ftp users, etc.

You can also look to install webmin (http://webmin.com/) via apt or yum. From there you can start webmin (/etc/init.d/webmin start), then on your windows machine, goto http://server:10000

Login as root, goto servers and look for your FTP server (pro-ftpd, etc.) If the module is not there, you can simply google it and import it (they have nearly every one of them out there)

Good luck
 
Old 08-28-2007, 09:49 AM   #4
ianwright
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
This will sound really naff but how do I (as a Windows man) login as Root? I was only asked to set up a username and pass during installtion.

Installed the FTP server as per http://doc.ubuntu.com/ubuntu/serverg...tp-server.html by

sudo apt-get install vsftpd

Thanks,

Ian
 
Old 08-28-2007, 09:56 AM   #5
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
When that machine starts, since X does't start, you should be left at a login: Right there you can login as root, or if you are already logged in as you, simply type su -

You should be prompted for a password, enter your root password.

Since ubuntu uses the sudo, simply download the rpm version (http://prdownloads.sourceforge.net/w...0-1.noarch.rpm) and save it. If you don't have X, I assume you can get the file by issuing;

wget http://prdownloads.sourceforge.net/w...0-1.noarch.rpm

That will save the file locally, which you can then issue;
sudo rpm -ivh webmin-1.360-1.noarch.rpm

that should install the webmin module, so after that you can issue /etc/init.d/webmin start

Any ubuntu users can throw out .02 if I am off command wise, you can also see a lot (a bit 2 much) here ; http://ubuntuforums.org/showthread.p...ghlight=webmin
 
Old 08-28-2007, 10:10 AM   #6
ianwright
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Just found out how to login as root!

Found this

How to change the root password in Ubuntu
Submitted by Friedrich on Thu, 2005-09-01 19:02.

As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu.

To manually set a password for the root user, type in the following in the shell:
sudo passwd

After that you are asked to type in the new root password twice. Finally, your root user has its own password.


It does work! I'll now have a go at the rest.

Thanks - and don't hold your breath!

Ian
 
Old 08-28-2007, 12:21 PM   #7
ianwright
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I have managed to login as root and get to the /etc directory. Sure enough, there is a file called vsftpd.conf.

I've tried typing "edit vsftpd.conf" but got an "unknown mime-type" error message. How can I edit this file? Do I need to install an editor first? If so, is there anything simple?

Thanks again,

Ian
 
Old 08-28-2007, 01:08 PM   #8
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
try either pico, nano, worse case you are going to have to use vi (a bit tougher),

but if you need to, your 2 second lesson, vi filename

scroll down to where you want to chagne things (hit insert)
make your changes

then : (that's the colon)
wq <enter> (wq = write and quit)

your almost there
 
  


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
Ubuntu + Kubuntu + Xubuntu + edubuntu + Ubuntu Server linux-ishu Ubuntu 12 01-17-2008 07:55 PM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
Intel i810 on-board graphics card bug, with Ubuntu server 7.04 running Ubuntu-Desktop calebf Linux - Server 2 05-14-2007 11:53 PM
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:59 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