我的本地 PC 中有一个 KVM 虚拟机,我想将其复制到 Proxmox 服务器。根据文档,我只需要在 Proxmox 上创建一个新的 VM 并将现有的磁盘映像添加到其中,但是如何将映像上传到服务器?在管理面板中,如果我单击 MyStorage -> 内容 -> 上传,它只会为我提供上传 ISO、VZDump 备份文件或 OpenVZ 模板的选项。使用副本就足够了scp
吗?在那种情况下,在哪个文件夹中?
我正在安装 SSL 证书来为 HTTPS 提供服务。我使用Apache 2.4
的Amazon Linux
,并获得在证书startssl如果。我的 Vhost 配置如下:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@myweb.com
ServerName myweb.com
DocumentRoot /var/www/html/myapp
<Directory /var/www/htmlmyapp>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/error_log
LogLevel warn
CustomLog /var/log/httpd/ssl_access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/mycert.crt
SSLCertificateKeyFile /etc/ssl/private/mycert.key
SSLCertificateFile /etc/ssl/certs/sub.class1.server.ca.pem
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Run Code Online (Sandbox Code Playgroud)
当我重新启动 Apache 时,我得到以下输出:
Stopping httpd: [ OK ]
Starting httpd: Apache/2.4.12 …
Run Code Online (Sandbox Code Playgroud)