LinuxQuestions.org
Review your favorite Linux distribution.
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 10-02-2009, 02:26 PM   #1
jc1cell
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Local Web Server and FTP and MySQL Gui Tools and Browser


Hello everyone,

As you can see from the title, I'm having issues with aspects of working in a virtual web server installed for local development of web sites. I installed a Joomla Appliance from turnkey linux that is working great (as far as I know). I'm able to see it on the network by pinging from my hosting OS to the servers ip address. I have been able to upload a site to the web server into the /etc/www folder using sftp.

Here's where the problems begin. The only way I can access the site in my browser is by going into webmin, find the file and double click it. Then it opens in my browser. If I understood correctly, I should be able to put the host name(joomla or localhost)or ip address followed by the site folder and the index.htm file and it should show up inside the browser but that doesn't work.

Regarding accessing the server via ftp, I have been able to upload using sFTP without any problems. It even takes me to the www folder after I set up a user via webmin and gave it a setting of www as the root folder for the specific user. Now, after installing vsftp I still can't access the server via ftp (I don't know if I should even worry about that since sFTP is more secure).

Finally were down to MySQL GUI Tools. The log in request server host name, port (it puts in a default port number) and user and password. I have put in Joomla, localhost and the server ip address and cannot get in. I used mysql user and password and the user created for ftp access and neither worked.

I'm very new with regards to working in this environment and can't figure out how to get this with everything i have already read on the subject. I'm pretty sure I'm missing a step that needs to be taken and am hoping you guys can steer me in the right direction.

Thanks for any help you may provide.

jc
 
Old 10-04-2009, 12:00 AM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Keep using sftp.

I assume that you've checked; apache started without errors?

Have you set permissions for files in the webroot? What about ownership of those files?
You should update the ownership and permission of all files in the webroot match your local environment.

If your files are in /etc/www, then something like this works:

# cd /etc/www
# chmod -R 640 *
# chown -R apacheuser:apachegroup *

That's your first problem. Get to a point where apache is serving files, then worry about the next problem.
 
  


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
Frustration: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0 nidala Linux - Newbie 1 09-27-2008 11:20 PM
any one know MySql installation and configuration for local web server base HenryCaasi Linux - Newbie 6 09-17-2008 04:58 AM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
Apache2, MySQL & PHP Web Server. FTP Needed! Bobson Linux - Networking 4 02-07-2005 04:25 PM

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

All times are GMT -5. The time now is 02:04 PM.

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