LinuxQuestions.org
Help answer threads with 0 replies.
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 12-20-2012, 04:19 AM   #1
spescina
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Question Local virtual LAMP development server


Hi all.
I hope for your precious help.
Feel free to move the topic if I've inserted it in the wrong section.
To begin with, sorry for my english...

I'm trying to build a local virtual LAMP development server but I'm facing some problems.

I'm using VMware/VirtualBox in my Windows 7 host machine.

What I want to reach is
  • linux guest VM with
  • php
  • mysql with remote management
  • apache with virtual hosts configuration,
  • samba shares (I'm a happy win user, so I'd prefer writing code there),
  • ajenti panel,
  • automatic local domain name resolution between host/guest so I haven't to map each domain name in my host machine
  • (optional) web server accessible by any other device (I'm thinking at mobile devices for testing) connected to the local network.

Now, apart from the last optional (and maybe unrealizable) point, I've already created the rest but I have two problems.

Here what I've done
  • installed ubuntu server 12.04 VM with a nat netowork setup and static ip
  • installed ajenti
  • installed apache/mysql/php
  • installed dnsmasq
  • installed samba
  • added as the main dns server the static ip of the VM on my win 7 machine

All seems to work but
  1. when I create new files on the samba share from win, files ends up with wrong permissions (755 instead of 775). testparms on the smb.conf give me in fact 755 even if in the share config section I force 775.
  2. domain name resolution from the host machine works sometimes. At some point the server stops to receive dns queries (debugged with live inspect of the dnsmasq log file)

Are there another solutions for reaching my goals?
If not, any ideas about this weird beahvior?

Thanks for your time
 
  


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
Local Linux server for Testing Windows Website development KayosTheory Linux - Server 6 11-15-2012 03:30 PM
Local NTP server configuration on RHEL 6 Virtual server assistance needed aalinare Linux - Newbie 5 07-05-2012 07:58 AM
ubuntu LAMP server, can't access site remotely, locally works by local ip and wan weylin Linux - Newbie 8 04-25-2012 06:37 AM
[SOLVED] Virtual hosts on LAMP server not going to right directory externally r2g2btru Linux - Server 4 08-18-2011 02:25 PM
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM

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

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