我在vps上构建apache2,启动它,然后将test.mp4上传到/var/www/html。
ffplay http://vps_ip/test.mp4
我可以看test.mp4,也许还有另一种播放方式。
1.ssh root@vps_ip
2.mv /var/www/html/test.mp4 /tmp/test.mp4
3.ffplay /tmp/test.mp4
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)
libsdl2-dev和sdl都安装
我很难在虚拟env中执行gunicorn,下面是我的设置,因为我正在获得文件夹的Linux访问错误。我是Linux新手,所以请给我建议。错误可以在以下设置中看到:
#!/bin/bash
NAME="myproject" # Name of the application
DJANGODIR=/django/myproject # Django project directory
SOCKFILE=/dj
这些天当我收到电子邮件时,我经常看到像这样的电子邮件标题:
Received: by FQDN (Postfix, from userid $USERID)
那么,这是否意味着人们在VPS中使用SSH并从那里发送电子邮件,还是有一种通过VPS从本地计算机转发电子邮件的方法?
基本上,当我通过SMTP发送电子邮件时,我想做同样的事情来隐藏我的IP地址,并且希望使用VPS地址代替。