Questions tagged [vps]

VPS stands for Virtual Private Server and usually refers to a single instance of a virtual machine leased for private running on a shared physical machine.

VPS stands for Virtual Private Server and usually refers to a one instance of a virtual operating system leased for private use on a shared physical machine. The physical machine typically runs a hypervisor which allows multiple of these ("virtual" or "guest") operating systems to share the same physical server.

A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system instance, so they can install almost any software that runs on that OS. For many purposes they are functionally equivalent to a dedicated physical server, and being software-defined, are able to be much more easily created and configured. They are priced much lower than an equivalent physical server, but as they share the underlying physical hardware with other VPSs, performance may be lower, and may depend on the workload of other instances on the same hardware node.

2257 questions
5
votes
1 answer

.htaccess redirect main domain but not sub subfolder

I was wondering how to exclude a subfolder from .htaccess redirect. I have an .htaccess file in the root of my old domain and I have the following in it: Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]…
user546585
  • 129
  • 4
  • 9
4
votes
1 answer

What would be the minimum specifications needed for a Java Web server?

I rented a cheap linux VPS to try and learn how to build a java web application and ran into the problem of not enough memory to run the Java virtual machine let alone Tomcat. This system is running Red Hat linux with something like 175 megs of ram…
Aro
  • 494
  • 5
  • 20
4
votes
3 answers

is PHP's file_get_contents memory and data efficient?

I'm making a push notification server that gathers specific data from an external (third-party) html page, if I know the information I need is within the first e.g. 5000 characters, will PHP actually use less memory if I state a MAX_LENGTH? Or is…
N S
  • 2,524
  • 6
  • 32
  • 42
4
votes
1 answer

How to execute a script on a server from a webpage?

I want to run a shell script off my VPS through a website to start and stop a service. I have a script i currently execute by puttying in and typing ctf.sh. I had a look at using CGI and stuff, however this has left me thoroughly confused. On my VPS…
cheese510
  • 81
  • 1
  • 3
4
votes
0 answers

curl: (56) Recv failure: Connection reset by peer when podman is running

I have a problem with my podman on centOS 8. my Dockerfile: FROM node:14 WORKDIR /home/seadog/html/webiapp COPY package*.json ./ RUN npm install COPY . . EXPOSE 3050 CMD ["node"] I'm running selected image podman run -dt -p 3050:3050…
SeaDog
  • 645
  • 1
  • 9
  • 32
4
votes
3 answers

Apache2: Failed to set up mount namespacing: Permission denied

I have VPS server with Debian 10. I want to start Apache2 with option PrivateTmp=true. But on start it failed with error: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apachectl: Permission denied. ● apache2.service - The Apache…
martin
  • 101
  • 2
  • 8
4
votes
1 answer

Unable to add Let's encrypt ssl certificate to domains using nginx (certbot)

I have an issue with applying Let's Encrypt SSL certificates to my domains using nginx and certbot. My (Nuxtjs) website is running on a VPS with Ubuntu 18.04. I want to add the certificates to mydomain.nl and staging.mydomain.nl but am unable. I am…
Kim Boender
  • 356
  • 4
  • 14
4
votes
1 answer

Jenkins - Unable to create new native thread

I do a clean install on my Debian 9 VPS Server with 4GB RAM and 2 CPUs. The installation is sucessfull but when I configure any MAVEN project, (On Java 8) I get the following error: Exception in thread "main"…
4
votes
1 answer

How to deploy docker-compose solution automatically from github to vps over ssh?

What I want to do: Deploy docker-compose solution from Github to my virtual private server which has docker and docker-compose installed. I saw that there are Github Actions that allow me to copy files over SSH after push to master, but I don't know…
Tomasz Sikora
  • 1,649
  • 3
  • 19
  • 30
4
votes
2 answers

Upload with paperclip very slow (unicorn)

Sitting here with a simple rails 3 app in which I have a simple Gallery model and each gallery has many images. The image model is extended with paperclip and with the following options has_attached_file :local, :styles => { :large =>…
4
votes
1 answer

Puppeteer doesn't work at VPS (DigitalOcean)

I'm in a droplet at DigitalOcean and i'm getting this error. (node:5549) UnhandledPromiseRejectionWarning: TimeoutError: Navigation Timeout Exceeded: 300000ms exceeded at Promise.then…
The Cezare
  • 41
  • 1
  • 6
4
votes
1 answer

Start multiple rq worker processes easily ― Horizontal scaling

How can I create a large number of rq worker processes in a VPS easily? Right now I'm manually opening a terminal and running python3 worker.py in it, and then repeating this until I get a satisfying number of worker instances running. I know this…
Sumit Ghosh
  • 1,033
  • 10
  • 29
4
votes
3 answers

Should I ask my web host to use PHP Version 5.3.5 on my VPS

Situation:: My current web host has given me a brand new VPS today with PHP 5.2.9 (released: Feb 2009). What I did: I asked my web host to upgrade it to latest PHP 5.3.5 so I can get all security vulnerabilities fixed. What web host replied: No, you…
WhatIsOpenID
  • 1,071
  • 4
  • 12
  • 20
4
votes
1 answer

Amazon EC or 'standard' VPS for web hosting?

I'm looking at the Amazon EC for a small Linux hosting setup of up to a dozen site that I want decent performance for standard PHP/MySQL sites. I would like opinions about the value-for-money of Amazon's service when considering: speed of…
Owen
  • 7,347
  • 12
  • 54
  • 73
4
votes
1 answer

Vapor: Handle HTTPS requests?

I have a VPS (Ubuntu 14.04) with Apache2, Swift 3.1.1 and Vapor installed. I want to receive client side requests to my Vapor-Built-Service via HTTPS protocol (on port 8443 for example). I didn't find any newbie helper document to do this, so please…
manili
  • 620
  • 1
  • 5
  • 17