yaz wrote:
My hematology, oncology, and chemotherapy regimen wiki
Cool!
yaz wrote:
I'm an amateur and figuring out things as I go along, and I've reached the point where I'd like to try to try some additional things out on my installation. Since I may make mistakes, I'd like to do this on a development server rather than the actual production server, since there are people who are using my sites. What's the best way to do this and what do you all do? My current plan is to create another Linode within the same datacenter, copy over all the data, and develop on the new server. I'm a little unsure of the details; for example, would another Linode within the same datacenter have the same or different IP address? If it's different, that would make it easy to just update logs & databases, then swap IP addresses when everything is done.
What are your procedures for rolling out a development server and moving those changes to production? Any tips, step-by-step checklists, etc. would be greatly appreciated. Thanks.
Linode is really setup for people that know Linux pretty well. A lot of us do this for our day job so it's practically second nature. This forum is pretty helpful most of the time.
What I'd suggest is getting a second linode and setting it up identically to the first. The easiest way to do this is to use the clone tool in the Linode manager. It will let you clone your config and disks to a new Linode with a new hostname and IP. It's faster to clone to a new Linode in the same data center but it's not a requirement, the new one can be anywhere. Then boot the config on the new Linode and change all references to the now changed IP and hostname.
Then play away changing whatever you like. When you are happy just update your DNS so your live hostname resolves to the new server. You don't need to change IPs on linodes, just update DNS so your live internet name resolves to the new server.
You could alternatively do development on your home machine and save yourself the cost of a second Linode but then you don't get the cool clone tool and you need more downtime to move from development to production. Plus bandwidth is pooled between all Linodes you own although if you are running one website you likely don't need double the bandwidth.