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 from 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
我最近在Amazon EC2中开辟了一个网络服务器。我设法使用SSH和我的mac登录服务器。我还设法安装了亚马逊提供的EC2 API工具。我在桌面上安装了XAMPP。我打开了一个linux实例。我认为我没有安装到实例的EBS(弹性块存储),我不知道该怎么做。但是如何将XAMPP安装文件从我的桌面复制到服务器实例?请给我一步一步的指示
2 个解决方案
#1
0
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
我设法解决我自己的问题。我正在使用scp协议来传输XAMPP安装文件。有关此链接的更多信息:安全远程登录和文件复制。这是我第一次使用它,但你只需输入命令:scp -i ***。pem ec2-user @ some_public_DNS / / file / on / your / desktop。然后,该文件将以安全的方式传输到远程服务器
#2
0
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.
我很好奇你为什么要尝试将XAMPP放在EC2实例上,而不是简单地使用系统的包管理系统(例如,yum,apt-get)来安装你需要的东西。这似乎是试图用螺丝刀背面锤钉。
#1
0
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
我设法解决我自己的问题。我正在使用scp协议来传输XAMPP安装文件。有关此链接的更多信息:安全远程登录和文件复制。这是我第一次使用它,但你只需输入命令:scp -i ***。pem ec2-user @ some_public_DNS / / file / on / your / desktop。然后,该文件将以安全的方式传输到远程服务器
#2
0
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.
我很好奇你为什么要尝试将XAMPP放在EC2实例上,而不是简单地使用系统的包管理系统(例如,yum,apt-get)来安装你需要的东西。这似乎是试图用螺丝刀背面锤钉。