Setting Up Identical Development Server
Sep 4, 2008
I have a dedicated Centos 5 server that is a live production server.
Now I need to have a server for testing things like new kernels, updated packages or changed settings to check if the web applications still run after these updates or changes before I update the live production server.
For this purpose I think the best way would be to have local virtual machines under vmware, also putting Centos 5 onto the virtual machine and even creating snapshots of it, before an update in case the update breaks too many things, I could just revert back.
My question is how can I make sure that I install the exact same packages and same versions of everything onto the development server that I have on the production server now?
How do I create an exact duplicate of my production server before I start to test updates?
View 8 Replies
ADVERTISEMENT
Jan 19, 2009
im using WAMP on a development server, and my main computer can't access the dev server
i.e. i should be able to type in the ip for the other computer and it should bring up my pages,
View 3 Replies
View Related
Apr 19, 2008
I have an old PC kicking around that I'd like to turn in to a server connected to my home network for testing/previewing sites. The PC currently has Win XP Pro installed.
I propose to use Apache, complete with MySQL and PHP.
Do I need to have Win XP installed or does Apache work standalone? If I do need an OS, should I use Ubuntu?
View 3 Replies
View Related
Jul 19, 2014
I have recently switched from Ubuntu to Mint because I would like to enjoy out of the box functionality. I installed Apache, PHP and Mysql. When I go to localhost, the page displays correctly indicating that the server is functioning. In /var/www/html I created devPages. In devPages I created a symlink to a directory in my home directory where I keep all of my html/php files.
When I point my browser to http://localhost/devPages/1/ I get "You don't have permission to access /devPages/1/ on this server". This appears to be a permissions/ownership issue. I don't want to change the permissions for the directory or files in the home directory because they are set to work properly on my production server. Is there a way to get apache to accept files in my home directory?
I have set owner and group for devPages and the symlink to www-data. Set permissions to 755 for devPages.
By the way, under Ubuntu, I have always used a symlink and it always worked without any issues.
View 1 Replies
View Related
Nov 16, 2006
We are expanding our photo sharing business and are revising our Unix-based server architecture. We're looking to develop a standard server configuration so that we can easily add servers when necessary.
Our ISP has recommended a configuration with mirrored web servers and mirrored RAID5 NAS boxes. I've read about Google's server architecture which consists of identical mirrored servers; when a drive or part from one of those servers goes down, data is served from the mirrored servers and the bad machine is repaired or replaced.
Comparing the two architectures with similar storage sizes, the overall cost of the hardware itself is about the same, with the identical mirrored machines being slightly cheaper. The monthly co-location fees (rack, power, etc.) are higher for the NAS solution.
I'm interested to hear your thoughts and experiences with similar solutions. I know the web/NAS solution is popular, and it's probably the one we'll go with, initially at least. Has anyone here implemented a Google-like identical mirrored server solution?
View 14 Replies
View Related
Sep 12, 2013
I moved a tomatocart website with its database, www-root. + keeping all its file and folder permissions.The username on the new server is the same, same id same name same permissions ect. The database name is the same the passwords are the same, location of www-root server same.
The website works it fetches and stores in the mysql database.At the old server with the same tomatocart website you could browse to example domain. ex/1-catagory-bananas and you would see a nice grid of bananas you can order. But there is no folder 1-catagory-bananas on the old or new server you just stay on the index.php but the url goes exampledomain.ex/1-catagory-bananas and the viewed website reloads
On the new server with the same URL i get a "NOT FOUND /1-catagory-bananas ect."so the website works perfeclty on the new server?
View 1 Replies
View Related
Aug 29, 2008
I am setting up xampp on my desktop and when at home, I can develop on either the desktop or my laptop using xttp://localhost/ or xttp://desktop/. When I suddenly need to travel, what's the best/easiest/fastest way to make sure I have the files I need to work with on my laptop?
Is it to install xampp on my laptop, and then copy the files I need from /xampp/htdocs over from the desktop? How would I copy the MySQL databases over as well?
I was also looking into Microsoft's SyncToy 2.0. When combined with scheduled tasks I can do automatic sychronizations once per day. Multiple times per day would be ideal... but I could set up pairings and do manual copying everytime I need to run out.
Are there better ways? I could install the 'master' server on my laptop, but I would prefer to keep it on my desktop (more space, more power, etc.)
View 5 Replies
View Related
Jul 21, 2008
I have a CentOS dedicated server that does not have gcc,make,other standard develomplent tools installed. The provider adamantly refuses to offer any assistance citing terms of the contract.
Being a newbie in running servers I have trouble finding binary form of packages matching the version of my OS and pre-installed libraries.
Obviously I cannot compile anything without a compiler (including the compiler itself!).
I have downloaded the centos distro, and mounted iso on my server, but that was wrong version. Turns out the right release is only available via bittorrent - which I again cannot install without gcc.
What is "industry standard" for dedicated Linux servers in this respect: do providers typically pre-install tools like gcc? or they leave users figure that out on their own?
View 4 Replies
View Related
Sep 2, 2008
Working on bringing up a new site and was looking to solicit some feedback regarding the optimum way to maintain build/production integrity.
I currently use FileZilla FTP client, set file override to trigger on size and do a bulk upload of the entire site.
The problem is that I need to exclude certain files and directories like the image directory and the configure.php etc. every time I do an upload.
I have used Dreamweavers development/production sync features for a client site in the past and that was very good.
I was thinking about writing my own script to do the maintenance work, but thought I would ask if there is a better way.
How do you all maintain your production/development synchronization?
View 3 Replies
View Related
Dec 9, 2008
I have in the past downloaded/installed MAMP for PHP/MySQL development on my Mac laptop.
I recently learned about Ubuntu and am intrigued.
I need to either reinstall MAMP (from www.mamp.info/) which is nothing more than a button click or two.
I do not want to find myself inside a unix shell on the command line - if that's required to install Ubuntu
View 1 Replies
View Related
May 14, 2007
STAY AWAY FROM HOSTINGPLEX! OR SHOULD IT BE HOAX-ING-PLEX? TOTAL INCOMPETENCE!
After one week and no email on my new VPS and repeated requests by the admins to document what the problem was over and over again I decided to contact sales and report how unsatisfied I was with their service.
The 3rd shift admin promptly removed my VPS and destroyed thousands of dollars worth of development.
I guess if you are that lame that you can't get email working on a week you need to lash out and cause damage to someone. I'll be calling in the morning to see if this is regular policy to immediately void a contract and destroy the current working website wothout any warning.
Reponse from hoaxingplex admin below.
Hello,
We haverefunded the payment and removed the vps, your domain is not registered through us so you already have access to reconfigure it for a new vps, we are not withholding access to anything.
Kevin Moonlight
Hostingplex.Com
Ticket Details
===================
Ticket ID: SYQ-564945
Department: Level 3 Support
Priority: Medium
Status: Open
View 14 Replies
View Related
Nov 7, 2009
This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.
However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.
My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?
Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com
Server2
ns3.domain.com
ns4.domain.com
View 6 Replies
View Related
Jan 6, 2009
I got a VPS server and i want to setting up it.
View 5 Replies
View Related
Apr 16, 2009
I've bought a VPS and would like run it has a 2nd DNS server and host WHMCS on it. I run a typical CPanel setup.
View 2 Replies
View Related
Mar 26, 2009
I am interested in setting up my own server, more than anything just for the experience. I would like it to be a linux-based server and to be managed purly through the command line [i.e. no GUI].
Can anyone point me towards any goods book/resources for learning this? From what I read I believe that sitepoints own book does not cover any command line stuff, and everything happens purly through the GUI.
View 3 Replies
View Related
Feb 9, 2007
i bought a dedicated server but i dont know how to configure the dns,finally my brother said that he will setup the server on Wednesday after his work is over..but its quite a long time.can some one pls help me how to set the dns
my nameservers are ns1.vidztec.com and ns2.vidztec.com .
View 3 Replies
View Related
Aug 13, 2007
i bought the dedi recently. now since i will be moving all my sites over the server, the nameservers needs to be changed. i asked my host and they said they charge $90 to setup the nameservers, or i can buy the managed package. both costing more money than i thought.
i was wondering there must be a way for setting up one myself? it's a centOS 5. is there a tutorial out there?
View 3 Replies
View Related
Aug 7, 2007
I got a VPS, with Ubuntu server on it. I was wondering how i make it so that when it gets http requests, it shows a certain directory? I dont want to install a control panel, i want to learn to do everything manually, so that i can make the VPS show one domain only, with PHP and SQL and all that.
I can find out how to install PHP and SQL, but further than that,
FOr example. demonoid.com resolves to an IP. If you visit that ip directly, you get the site. How do i do that??
No control panel, nothing. ONly one domain.
View 8 Replies
View Related
Feb 25, 2007
We have a database developed in oracel which is accessed be a lot of clients in our organization in our own domain ( a lan within the same building).
My own laptop is a cleint and I have access to the oracle sever finely.
Now I have developed a website in asp which has several quries for the databse. I am using my laptop as a webserver and broweser and the website is working excellent.
Now I want to
(1)All the people in my domain should have access to this website.
I dont know how to do it. As it should be using a local network and my own computer should be a webserver. Please advise.
(2) Is it possible for my to uplodoad my site to a third-party webserver like yahoo or brainnet and people should have access to this site globally.
View 3 Replies
View Related
Mar 30, 2009
setting up a server running ZFS as a backup server. My only problem is that it's very new to me, and naturally I'm skeptical of it's redundancy capabilities etc, I don't want to get burned. Anyone used ZFS, what's your experience with it?
View 2 Replies
View Related
Sep 30, 2009
So I have designed some software for my brother who owns a business and needed a website to manage his clients and send emails to them and stuff. Right now we are using Hostmonster, which has been pretty good so far.
He was talking to me how it would be nice to be able to email the website and have the site automatically store the information in these emails into a database for information regarding his clients, which I know is possible, but not on a shared host it seems. I have tested my own email receiving script on a test server on my computer and it works fine. So we are continually finding our limits with a shared host. We have been looking into dedicated hosting, but as you all know its quite a price jump to go from $7 a month to $200+.
I got thinking and remembered that my dad has always had a business web plan from our ISP at home (cause he likes fast internet), which according to there website serves 1Mbps upload speed. We also have 2-3 old computers sitting at home that we don't use anymore (2)2ghz pentium 4 Dells and a 3.0ghz+ Pentium 4 HP. I was thinking we could probably just plug one of those into the router, forward some ports and have our own server up and running. For now we would only host this software I made for my bro, which is used by only 4 people, and that's not even at the same time usually. So there is very little load to deal with. But in the future we may put a few other sites that we have in mind which would use PHP and MySQL quite a bit.
I was just curious what some of your opinions were on creating a home server. I was looking at Ubuntu Server edition as a possibility, or XAMPP since all my machines are Windows XP. One machine doesn't work cause the hard drive is out, so if I use that I would probably have to put Ubuntu on it. Any suggestions on good server software would be great! I believe the business web plan my dad has also comes with a static IP as well, so that will help. Look forward to hearing your suggestions!
View 12 Replies
View Related
Nov 7, 2007
as you may know i am fairly new at setting up my own servers, well i was wondering if anyone out there could help me with setting up a dedicated game server to run halo or battlefield i have halo server installed on my windows xp box and followed the read me from start to finish, have port forwarded to the box but i just get the command line coming up saying dedicated server is running on map timberland <0 / 12 players>
im looking to host this game to the internet for people to play off my server not just for a lan server of the game.
View 8 Replies
View Related
Oct 4, 2009
Does anyone have experience with SSD drives in a server environment? I've seen now a few offers with SSD (Intel) and wondering if the speed is noticeable?
Are they worth it? from what I have been reading is that they a superior in reliability, but have issues with limited write cycles.
View 14 Replies
View Related
Feb 5, 2009
I'm setting up an invite and request email notification system for my website. Its pretty process heavy (since all the invites and requests will need to be sent right away), so I'm planning to setup another machine that is only designed to send the emails.
So I guess a SMTP server right?
I have no problems installing PHP and linking the user generated emails, but how does this work in regards to the domain name?
When the user imports his or her contacts on the main server (domainname.com) which then triggers the invite emails to be sent out with the SMTP server then how does that effect the clients' inboxes?
Since the website that they've registered to is www.domainname.com and the SMTP server domain name is smtp.domainname.com?
How does this all work?
What I worried about is the inbox seeing the emails as apart of a different domain name and then tossing it all to the junk box.
View 2 Replies
View Related
Oct 10, 2009
I am running windows 7 Ultimate.
I have installed Apache, PHP and MySQL cus they are |33t.
I am using free dns.. the domain name is PowerfulPlacement.com
localhost WORKS
PowerfulPlacement.com does not work... Here is my VirtualHost in my httpd.conf..
NameVirtualHost 72.219.185.53
<VirtualHost 72.219.185.53:80>
ServerName powerfulplacement.com
ServerPath D:/www
DocumentRoot "D:/www/"
<directory D:/www/>
allow from all
</directory>
</VirtualHost>
I dont know why powerfulplacement.com isn't working. I remember in linux I had to start up named or dns or something for it to work but I'm not quit sure with Windows.
View 4 Replies
View Related
May 21, 2009
when I get a server it comes with cPanel and I don't have to do much to get it going, but this time I don't need all the bells and whistles. What should I do to get a server with only CentOS to start running a pretty simple web server that just listens on whatever ip? I just want it to run php,mysql, and a web server which I know how to setup already. What I want to know is what else is necessary to setup? Resolvers, the hostname, bind, named, etc?
View 2 Replies
View Related
Jan 5, 2009
setting up a preview server.
We have a number of clients and develop our work on a local preview box running IIS and XAMPP.
We need to setup a preview server with CVS and client preview areas i.e. a directory for each client locked down for them to view.
View 0 Replies
View Related
Apr 24, 2008
i am trying to setup a remote sql server , the web server which runs everything but sql is cpanel/WHM and the SQL server is Centos 5. I have installed mysql on the SQL server and it is running.
When i put the information in cpanel for remote sql setup it comes up with an error of :
usr/bin/mysqladmin: connect to server at 'IP Address' failed error: 'Host 'hostname' is not allowed to connect to this MySQL server' mysql has failed, please contact the sysadmin (result was "mysql has failed").
Is there something i have to enter in the remote sql server to allow the IP address of the cpanel server to be able to connect to the SQL server?.
View 6 Replies
View Related
Jun 15, 2008
I am able to do a VPN connection to the Windows XP VPN server.
But however i cannot access the remote VPN computers.
View 3 Replies
View Related
May 17, 2008
Running CentOS 4.6. Currently, the my.cnf contains:
Code:
[mysql.server]
user=mysql
basedir=/var/lib
If I moved all files and directories under /var/lib/mysql/ to /harddisk3/mysql/ what do I enter for the basedir path?
View 5 Replies
View Related