vps

disk space is full by `vda` files, how to clear them?

时光总嘲笑我的痴心妄想 提交于 2019-11-28 12:01:38
问题 So I have a VPS and it has whm / cpanel installed. For some reason its giving an error when ever I login to cpanel or visit a site on my server which says the disk space is full. When i check the desk space in WHM it says /dev/vda3 is 100% full. I don't know how to track that folder or what files i need to delete. Also on SSH it says root@server [~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 48G 47G 0 100% / tmpfs 939M 0 939M 0% /dev/shm /dev/vda1 485M 112M 348M 25% /boot

登陆远程vps后发现无法复制解决方法记录

天大地大妈咪最大 提交于 2019-11-28 10:15:39
今天使用远程桌面连接登陆服务器,发现不能在本地电脑和远程服务器之间复制粘贴文件了,复制粘贴文本也不行。   网上搜了一下,主要有两种情况:   1、复制粘贴功能原本可以用,突然失灵了   2、从头到尾都无法使用这个复制粘贴功能   针对第一种情况,只需重启一下rdpclip.exe就可以了。 办法一:   使用 iis7服务器监控工具 修复      勾选之后点击“执行”即可。 办法二:   1、打开任务管理器,查看进程,如果有 rdpclip.exe 进程,先关闭该进程   2、开始->运行->rdpclip.exe,重新运行此程序,恢复正常   如果是第二种情况,打开本机的远程桌面连接,按照下图所示,勾选以下项目 最后介绍一下rdpclip.exe   rdpclip.exe是 Windows Server 资源工具包中提供的 Rdpclip 实用程序,它的功能就是在“终端服务”客户端(本机)和“终端”服务器(远程服务器)之间复制和粘贴文件,也包括粘贴文本。这个程序的文件路径是 c:\windows\system32\rdpclip.exe 来源: https://www.cnblogs.com/09Internet/p/11404475.html

Why we need CURLOPT_SSL_VERIFYPEER in windows

ぐ巨炮叔叔 提交于 2019-11-28 08:48:48
问题 I'm going to explain a little bit about my script so you can understand my question. Basically i did a script that checks the SOCKS5 if it is live or dead . When i tested my script on Linux VPS and iMac it was working perfectly, however when i tested it on Windows with wampserver it did not work until i added this line to cURL : curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); Can anyone explain to me why do i need this line in Windows and i don't need it on the Linux server? 回答1: This cURL

VPS服务器与物理服务器的区分

左心房为你撑大大i 提交于 2019-11-28 07:16:16
一、概念区分 VPS 服务器是运用虚拟技术将物理服务器划分为若干个独立空间,其中每一个空间都是虚拟服务器,也就是 VPS 服务器,英文是 Virtual Private Server 。租用 VPS 服务器的用户不会有整台服务器的全部使用权,只有自己租用 VPS 服务器那部分权限,但也具有独立的 IP 和操作系统,可以实行重启、开机等。 物理服务器则是具有高计算能力、高性能的计算机设备。有硬盘、主板、 CPU ,类似于日常的 PC 电脑。但是物理服务器是应用于企业处理数据和存储数据的设备,其比 PC 电脑的性能更高,计算能力更强,扩展性也更高。 二、价格对比 常规情况下, VPS 服务器的价格比物理服务器要低得多,低配的 VPS 服务器价格甚至可以低至几十元,而物理服务器则根据不同配置,价格几百至几千不等。 三、软硬件对比 VPS 服务器和其他用户共享存储空间和硬件,只能使用一定比率的内存空间,而物理服务器则是独享整台服务器完整的内存和硬盘空间。 VPS 服务器只能在设备管理器界面看到极少的参数,而物理服务器则可以查看硬盘、键盘、光驱等信息。 VPS 服务器的 CPU 通常都比较高端但内存和硬盘空间较小,而物理服务器内存 1T 都很常见。 四、性能对比 VPS 服务器由于是在物理服务器上分割出来的,虽然使用起来和物理服务器并无差异,但是没有物理服务器稳定,且运算速度要慢于物理服务器

在vps上安装 kali linux

梦想与她 提交于 2019-11-28 06:02:05
在渗透测试过程中,很多时候我们需要反弹一个shell回来。使用empire也好,MSF也好,其他工具也好,都避不开公网IP的问题。这时候我们就需要一个VPS来进一步进行渗透测试。 建立通道连接的方式有很多种,比如NAT映射、ssh隧道等各种方式,这里我们就不探讨了。 建立通道的不稳定性很高,容易断开,对网络安全爱好者来说是一种莫大的折磨。而且可能由于种种原因,购买不到KVM架构的VPS,无法直接在VPS上安装kali linux等渗透测试系统。下面介绍了几种在debian系统下安装kali linux的方法。配合使用screen,或者tmux等工具非常好用 首先我们为我们的VPS安装Debian 8 几乎万能的方法—docker Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口。 由于docker的运行环境中需要3.8+的内核,此方法不是特别适用,可使用uname -a来检查VPS的内核版本。比如小编的VPS厂商给出的镜像,内核版本只有2.6+。如果你的内核版本低于3.8,请略过该方法,往下看。 安装docker 在debian 8 下安装docker http://www.docker.org.cn/book/install

VPS服务器与物理服务器的区分

我的梦境 提交于 2019-11-28 05:29:16
一、概念区分 VPS服务器是运用虚拟技术将物理服务器划分为若干个独立空间,其中每一个空间都是虚拟服务器,也就是VPS服务器,英文是Virtual Private Server。租用VPS服务器的用户不会有整台服务器的全部使用权,只有自己租用VPS服务器那部分权限,但也具有独立的IP和操作系统,可以实行重启、开机等。 物理服务器则是具有高计算能力、高性能的计算机设备。有硬盘、主板、CPU,类似于日常的PC电脑。但是物理服务器是应用于企业处理数据和存储数据的设备,其比PC电脑的性能更高,计算能力更强,扩展性也更高。 二、价格对比 常规情况下,VPS服务器的价格比物理服务器要低得多,低配的VPS服务器价格甚至可以低至几十元,而物理服务器则根据不同配置,价格几百至几千不等。 三、软硬件对比 VPS服务器和其他用户共享存储空间和硬件,只能使用一定比率的内存空间,而物理服务器则是独享整台服务器完整的内存和硬盘空间。VPS服务器只能在设备管理器界面看到极少的参数,而物理服务器则可以查看硬盘、键盘、光驱等信息。VPS服务器的CPU通常都比较高端但内存和硬盘空间较小,而物理服务器内存1T都很常见。 四、性能对比 VPS服务器由于是在物理服务器上分割出来的,虽然使用起来和物理服务器并无差异,但是没有物理服务器稳定,且运算速度要慢于物理服务器,性能较低,适合于对配置要求不高的客户。而物理服务器稳定性更高

What's best Drupal deployment strategy? [closed]

99封情书 提交于 2019-11-27 19:43:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am working on my first Drupal project on XAMPP in my MacBook. It's a prototype and receives positive feedback from my client. I am going to deploy the project on a Linux VPS two weeks later. Is there a better way than 're-do'ing everything on the server from scratch? install Drupal download modules (CCK, Views

Unable to resolve Ruby error (missing psych)

此生再无相见时 提交于 2019-11-27 17:47:11
问题 Whenever I run something with Ruby on my server, I get the following error: /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>': It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. I installed Ruby using RVM onto my VPS. I’ve tried installing the package libyaml as per instructed in other issues on Stack Overflow, to no avail. I’m not sure what type of system my VPS is

Hosting two domains using only one VPS?

天大地大妈咪最大 提交于 2019-11-27 16:48:05
Is it possible? Someone told me it is but I'm not sure. If its possible, how should I do it? I have one /www folder where my website lies. How can I configure 2 different sites? The procedure is: Point both domains to the ip of the VPS. Configure the webserver you have installed on your VPS to answer to those two domains. In the case of Nginx with Passenger, it is a matter of adding entries to you nginx.conf file. Like this: server { listen 80; server_name domain1; root /path/to/your/project; passenger_enabled on; } server { listen 80; server_name domain2; root /path/to/your/project; passenger

Java seems to ignore -Xms and -Xmx options

我们两清 提交于 2019-11-27 15:36:29
I'd like to run a very simple bot written in java on my VPS. I want to limit jvm memory to let's say 10MB (I doubt it would need any more). I'm running the bot with the following command: java -Xms5M -Xmx10M -server -jar IrcBot.jar "/home/jbot" But top shows that actual memory reserved for java is 144m (or am I interpreting things wrong here?). 13614 jbot 17 0 144m 16m 6740 S 0.0 3.2 0:00.20 java Any ideas what can be wrong here? Java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode) BTW. I'm running CentOS - if it