How do I install XAMPP in a remote server?
I recently opened up a webserver in Amazon EC2. I managed to log in to the server using SSH with my mac. I also managed to install the EC2 API tool provided fr开发者_高级运维om Amazon. I have the XAMPP installation on my desktop. And I opened up a linux instance. I don't think I have a EBS(Elastic Block Store) mounted to the instance yet, I don't know how to do that. But How do copy the XAMPP installation file from my desktop to the server instance? Pls give me step-by-step instructions
I manage to solve my own question. I was using the scp protocol to transfer the XAMPP installation file. More info on this link: Secure Remote Logins and File Copying. This is the first time I used it, but you just type the command: scp -i ***.pem ec2-user@some_public_DNS /The/file/on/your/desktop
. The file will then be transfer in a secure way to the remote server
I'm curious as to why you'd try to put XAMPP on an EC2 instance instead of simply using your system's package management system (e.g., yum, apt-get) to install what you need. This just seems like trying to hammer nails with the back of a screwdriver.
精彩评论