cloudy

Author Topic: HELP needed to convert from remote to local server  (Read 881 times)

0 Members and 1 Guest are viewing this topic.

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
HELP needed to convert from remote to local server
« on: December 20, 2011, 05:51:57 PM »
I am attempting to bring all my weather related stuff to my in-house servers, thus saving money on hosting fees etc. plus, and most importantly, to speed up things and have 100% control over my site and emails.

I am using the Carter Lake templates but have no clue how to get everything to play on my local server as everything is coded assuming remote hosting.

Can someone advise me how to convert over all my files to work within the local computer? The website will be run via a virtual machine, with another server feeding the weather data. In other words I am going to run 2 separate boxes. One working as a virtual email and web server, the second server to run all the weather stuff (WD and GRLEVEL3) as virtual machines doubling as a file server. Additionally, both servers will be RAID - probably working initially as RAID 1 but eventually migrating to RAID 5 as funds allow.

This is a daunting task for me as I have limited time on my days home as I drive over the road and am gone for 2-3 weeks at a time with usually one week at home. I am in no real rush to convert this but really would love to have this project completed by mid summer 2012.

Is there anyone out here that runs their weather site similar to how I want to do it and if so would you please assist me in converting over? Please be specific in the changes I must make. I understand I need to point to the local boxes etc. but am not savvy enough in PHP to understand this fully.

Any help would be massively appreciated!!


73's de K3JAE

John
K3JAE Weather Station

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #1 on: December 24, 2011, 11:59:46 PM »
Bump...

Anyone able to assist here??


73's de K3JAE

John
K3JAE Weather Station

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,157
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: HELP needed to convert from remote to local server
« Reply #2 on: December 25, 2011, 12:14:53 AM »
I suspect the complexity of your set up (multiple machines, virtual machines, RAID) is outside the experience of most of us who have run a home WD server. 

Offline ed2kayak

  • CoCoRaHS PA-CD-6, Weather Underground KPAMECHA7, CWOP DW5425
  • Posts: 283
  • South Central PA
    • Cumberland Valley Weather
Re: HELP needed to convert from remote to local server
« Reply #3 on: December 25, 2011, 12:32:23 AM »
For a windows environment you could start reading here:
http://www.wampserver.com/en/
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #4 on: December 25, 2011, 02:14:24 AM »
Jusy a question why run it on 2 machines that involves way more work in setting paths and what not now and everytime you install or update anything???   I run everything on 1 machine and run backup software that back the server folders I choose up once a day to 2 different PC's??  What OS are you planning to run and are you going to run IIS or ??

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #5 on: December 25, 2011, 04:27:21 AM »
Just a question why run it on 2 machines that involves way more work in setting paths and what not now and every time you install or update anything???   I run everything on 1 machine and run backup software that back the server folders I choose up once a day to 2 different PC's??  What OS are you planning to run and are you going to run IIS or ??

I am wanting to run the website on one server... dedicated only as a web and email server running both as virtual machines.
the actual Weather display program will be running on a separate machine, then feeding the info to the now virtual website machine.

I see this to not be too big a jump as instead of FTPing the info across the Internet, I am simply "FTPing" it to another computer inside my home. I see no real major leap here other than all is being sent to another machine inside the same network as opposed to on the actual Internet.

Should a major Windows update come up I do not want to take everything at one time offline. If it is a WD update then I simply update it - reboot and begin again with absolutely no disruption to either the Web or Email Servers. If my email software needs updated, same thing, I can close one virtual machine down, install, reboot and nothing else is interfered with.

SETUP: Local Web/Email server is being run by Apache for Windows, MySQL, PHP on a WIN 2008 Virtual Server. I will NOT be running windows IIS. I see no need to do that. Path setting will be a one-time ordeal, not too complex as am keeping same file structure I currently have on my remote hosting service.
« Last Edit: December 25, 2011, 04:40:13 AM by K3JAE »


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #6 on: December 25, 2011, 04:32:46 AM »
Ok just was curious is all....what OS are you going to use??    I just switched my server from IIS to XAMPP....everyone seems to think IIS is a pain
XAMPP has all my needs built in one program and it's free!!

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #7 on: December 25, 2011, 04:45:46 AM »
Sorry, thought I answered that... I am going to base off a Windows 2008 Server OS. I am installing separate components, not using any stack packages since most of them are out of date before installing and the need to update them is constant. I am using separate packages so I can update each component as I deem necessary.

Of course this presents an all together different set of issues, like getting phpMYadmin to play nicely with the other components. Or getting MySQL working properly. A challenge to be sure but what I will eventually learn will be priceless.


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #8 on: December 25, 2011, 04:52:02 AM »
Sorry, thought I answered that... I am going to base off a Windows 2008 Server OS. I am installing separate components, not using any stack packages since most of them are out of date before installing and the need to update them is constant. I am using separate packages so I can update each component as I deem necessary.

Of course this presents an all together different set of issues, like getting phpMYadmin to play nicely with the other components. Or getting MySQL working properly. A challenge to be sure but what I will eventually learn will be priceless.
So true I can tell you some of the scripts will give you headaches with the newest PHP version!! :(

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #9 on: December 25, 2011, 04:56:46 AM »
So true I can tell you some of the scripts will give you headaches with the newest PHP version!! :(

Maybe I can pick your brain on the PHP (which is where I am mainly running into problems) so I can get my site converted over to a local server. Would you be able to assist me in this area?


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #10 on: December 25, 2011, 05:02:40 AM »
I'm no expert by any means I have used the stand alone version 5.2.5 not sure what version is in the package I'm useing now but I have read and heard of a few problems with the newer version 6 php..where are you haveing problems?

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #11 on: December 25, 2011, 05:11:06 AM »
Main problem is converting all the PHP pages to run on local server. Everything wants to go out and back and then it crashes. I'd be interested, first,in how your Settings.php and Common files are set up at first... and how you code the top of each page so it remains on the site rather than looking for a remote location.


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #12 on: December 25, 2011, 11:56:16 AM »
Main problem is converting all the PHP pages to run on local server. Everything wants to go out and back and then it crashes. I'd be interested, first,in how your Settings.php and Common files are set up at first... and how you code the top of each page so it remains on the site rather than looking for a remote location.
all my paths are ./   I have a folder setup called server under that folder I have wdisplay/webfiles  so most of the files I run are in the webfiles folder...not sure how your runs as I haven't had an offsite web page in years!!

Offline K3JAE

  • Posts: 696
  • Fayette County, PA., USA
    • K3JAE's Weather Station
Re: HELP needed to convert from remote to local server
« Reply #13 on: December 26, 2011, 05:59:59 PM »
all my paths are ./   I have a folder setup called server under that folder I have wdisplay/webfiles  so most of the files I run are in the webfiles folder...not sure how your runs as I haven't had an offsite web page in years!!

Mine is not yet running in-house yet so all ideas are up for grabs! LOL. I am running into problems accessing the Settings and Common file on the local server as it finds things missing or not defined properly. If I use the settings & common file as is I get variables undefined errors, and path errors. This is what is throwing me all the curves and I cannot figure out why this is.


73's de K3JAE

John
K3JAE Weather Station

Offline n7xrd

  • Posts: 841
  • Steve
  • Renton,Wa.
    • Renton,Wa. Weather
Re: HELP needed to convert from remote to local server
« Reply #14 on: December 26, 2011, 07:43:38 PM »
Mine is not yet running in-house yet so all ideas are up for grabs! LOL. I am running into problems accessing the Settings and Common file on the local server as it finds things missing or not defined properly. If I use the settings & common file as is I get variables undefined errors, and path errors. This is what is throwing me all the curves and I cannot figure out why this is.
what errors are you getting and do you have the server running and can access it from the web??  The settings and common files should be in your webfiles folder with all the web pages you will use...

 

cumulus