Skip to main content

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. Notice that Stackoverflow is for programming questions only, and configuration questions for these servers are typically off-topic.

Filter by
Sorted by
Tagged with
478 votes
5 answers
204k views

What is difference between Lightsail and EC2? [closed]

Recently Amazon launched Lightsail. Is there any difference between them? If yes, then what's the difference? Are Lightsail instances more powerful than EC2?
mohitmun's user avatar
  • 5,399
74 votes
5 answers
100k views

Should I choose KVM or OpenVZ for my VPS? [closed]

My VPS provider gives me the choice between KVM and OpenVZ. What is the best choice for a VPS with 128MB or 256MB RAM?
user avatar
66 votes
3 answers
78k views

Hosting two domains using only one VPS? [closed]

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?
Artemix's user avatar
  • 8,605
58 votes
11 answers
201k views

Could not create work tree dir 'example.com'.: Permission denied

I have got a virtual private server with nginx Virtual Hosts setup (Server Blocks). I've installed Git and got my ssh keys authenticated with GitHub. I have my website running in ~/var/www/example....
David Ingledow's user avatar
54 votes
9 answers
29k views

What's best Drupal deployment strategy? [closed]

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 ...
ohho's user avatar
  • 51.6k
42 votes
3 answers
70k views

AllowZoneDrifting - Firewalld: What is it and should I disable it?

I am new here, so please forgive me if I am asking something silly. I have created a DO droplet on CentOS 8. After installing firewalld, I checked its status and it gives a warning. Apr 24 05:56:...
Manohar Bhatia's user avatar
39 votes
2 answers
74k views

Warning: Stopping docker.service, but it can still be activated by: docker.socket

I've reinstalled Docker. When I'm trying to start Docker, everything is fine: # /etc/init.d/docker start [ ok ] Starting docker (via systemctl): docker.service. until I want to stop Docker service ...
user avatar
38 votes
3 answers
34k views

Using BitBucket Pipelines to Deploy onto VPS via SSH Access

I have been trying to wrap my head around how to utilise BitBucket's Pipelines to auto-deploy my (Laravel) application onto a Vultr Server instance. I have the following steps I do manually, which I ...
Stefan Dunn's user avatar
  • 5,463
37 votes
3 answers
132k views

Where can I get a virtual machine online? [closed]

I am looking for some VPS/ Virtual machine which should be available all the time and I must be able to access it from any computer having internet. I know a few paid services but just wondering If I ...
conetfun's user avatar
  • 1,615
32 votes
2 answers
42k views

PM2 process disappears after reboot

I am using PM2 to run my node app as a service. My Node app is RAM Hungry so it consumes around 300 to 800mb of ram depending on traffic. My DigitalOcean droplet has 1GB RAM. Sometimes out of the ...
Usman Tahir's user avatar
  • 2,633
31 votes
12 answers
105k views

ssh in vscode error: Permission denied (publickey,password)

So I'm using the "Remote - SSH" plugin in VSCode to connect to my VPS and edit my code. I lost the connection, then had to hard-reset it after 30+ min. Now I can't access it with VSCode anymore [putty ...
Naxey's user avatar
  • 476
28 votes
4 answers
33k views

puppeteer not working on vps but running locally

I wrote a little puppeteer program that let me log into twitter and check a few things. Locally on mac OS Catalina, it is working but on VPS ubuntu 18.04 lts not working. And shows me a log at the ...
programmer's user avatar
26 votes
6 answers
23k views

Need some help choosing between Amazon EC2 and VPS [closed]

At my company we are looking at hosting a blog and a CMS . We are still in the process of building the product and havent made it live yet. We are looking at some hosting options. We need to have ...
Michael's user avatar
  • 269
25 votes
5 answers
39k views

Can the GUI of an RDP session remain active after disconnect

I'm running automated testing procedures that emulates keystrokes and mouseclicks 24/7. Although it runs fine locally, on an RDP session it stops running once minimized or disconnected. Apparently, ...
user2029890's user avatar
  • 2,613
24 votes
4 answers
62k views

How to install sqlite on Debian

I need to install SQLite on my Debian VPS server. Can someone help me out? Kindly give me steps because I'm a newbie here and have no idea. Thank you
user1521233's user avatar
24 votes
3 answers
11k views

NodeJS Managed Hostings vs VPS [closed]

There are a bunch of managed cloud based hosting services for nodejs out there which seem relatively new and some still in Beta. Yet another path to host a nodejs app is setting up a stack on a VPS ...
Yousef Salimpour's user avatar
22 votes
4 answers
19k views

How do I know which linux user Wordpress uses for plugin installation

I'm trying to setup Wordpress to be able to install plugins via SFTP (SSH) on a Centos 6 VPS. I've been able to modify wp-config so it uses the right credentials with user as my SFTP user. Now I ...
Geoffrey H's user avatar
  • 1,278
21 votes
3 answers
15k views

Capistrano mkdir permission denied

When I run cap production deploy I get cannot create directory ‘/var/www/application/repo’: Permission denied. So far I've created deploy user like: adduser deploy adduser deploy sudo and I use ...
Kamil Lelonek's user avatar
20 votes
13 answers
66k views

laravel5: chdir(): No such file or directory (errno 2)

I have a problem when deploy website build on laravel 5 into VPS server, but on local machine it work fine. My page is http://easyway.vn/ current page display blank with error Failed to load ...
Terry To's user avatar
  • 301
19 votes
6 answers
40k views

Call to undefined function Symfony\Polyfill\Mbstring\iconv_strlen()

My project works fine on localhost but not working online and this is the error: Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strlen() in /home/stram/public_html/vendor/...
SlimenTN's user avatar
  • 3,513
19 votes
12 answers
45k views

Finding the right VPS [closed]

The market is flooded with VPS (virtual private server) hosting options. It seems everyone and their mother has a overloaded server in his/her closet. Enterprise options always seem priced insanely ...
ethyreal's user avatar
  • 3,669
18 votes
8 answers
14k views

Unable to resolve Ruby error (missing psych)

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 ...
user avatar
18 votes
4 answers
53k views

Set default version of Php in CentOS 7

I have two versions of PHP in opt/remi folder php56 and php72 but when I php -v on cmd it shows: Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies ...
ata's user avatar
  • 1,324
16 votes
9 answers
50k views

Extract text from doc and docx

I would like to know how can I read the contents of a doc or docx. I'm using a Linux VPS and PHP, but if there is a simpler solution using other language, please let me know, as long as it works under ...
Alexandre Mota's user avatar
16 votes
6 answers
13k views

Open local text application to edit remote text file using ssh?

So i am in a VPS terminal using ssh. In normal case I could just run locally mate <file> and it fires up TextMate with that file. Is it possible to use the same command and somehow open the ...
never_had_a_name's user avatar
15 votes
2 answers
11k views

linode vs amazon ec2 vs heroku for project with amazon s3

I have a project in ruby on rails 3.1 like flickr, tumblr, pinterest...etc with a lot of pictures for maintenance. My project have database Mongodb. I'm using amazon s3 for host pictures. I want to ...
hyperrjas's user avatar
  • 10.7k
15 votes
1 answer
4k views

Are Amazon Lightsail instances managed / automatically updated?

I have been looking into Amazon Lightsail, but there is one thing that I haven't been able to find any information on. Are instances managed and updated automatically? In particular, I thinking of OS ...
zelanix's user avatar
  • 3,472
14 votes
1 answer
14k views

How to start Sidekiq worker on Ubuntu VPS (Digitalocean)

I already setup Redis, Sidekiq and Rails app, I can access it form //url/sidekiq, but how do I start the Sidekiq worker on a VPS? On my local I do: bundle exec sidekiq -q carrierwave,5 default What ...
user1883793's user avatar
  • 4,149
14 votes
1 answer
75k views

unable to connect to system bus: failed to connect to socket /var/run/dbus/system_bus_socket [closed]

I started to use a new VPS system with ubuntu 12.04 After following the commands here I installed php, mysql, apache2 PHP and apache are working great but when I run : service mysql start I get ...
mt0s's user avatar
  • 5,801
14 votes
6 answers
18k views

Which Apache2 modules can I safely disable?

These are my enabled mods: alias auth_basic authz_default authz_groupfile authz_host authz_user autoindex deflate dir env mime negotiation php5 reqtimeout rewrite setenvif status I'm attempting to ...
gregghz's user avatar
  • 3,965
14 votes
3 answers
25k views

Deploy nodejs app to bluehost

I have a VPS in bluehost, I installed node and npm through SSH and I've managed to run a node app in www.mywebsite.com:3000, so I have two questions: 1) How do I run the app.js so when it 'listens' ...
LuisEgan's user avatar
  • 1,004
13 votes
2 answers
25k views

SMTP AUTH extension not supported by server in python 2.4

This is my normal code in my VPS hosting which provide python 2.4 def mail(receiver,Message): import smtplib try: s=smtplib.SMTP() s.connect("smtp.gmail.com",465) s....
Hamoudaq's user avatar
  • 1,498
12 votes
3 answers
34k views

Java seems to ignore -Xms and -Xmx options

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 -...
Itako's user avatar
  • 2,049
12 votes
6 answers
6k views

Django: vps or shared hosting? [closed]

I am new to web development and everything involved with it. Im finishing my website in django and i will soon have to find a hosting and deploy it. I heard there are vps or shared hosting types. So ...
barin's user avatar
  • 4,601
12 votes
2 answers
7k views

Custom 404 shows "File not found" for php files instead of redirecting

I'm trying to create a custom 404 error page. What I have so far works very well with all unexisting documents, folders, images, htmls, etc. - opens my custom 404 page (with output Custom 404!) ...
Biker John's user avatar
  • 2,691
12 votes
6 answers
15k views

Remote Postgresql - extremely slow

I have setup PostgreSQL on a VPS I own - the software that accesses the database is a program called PokerTracker. PokerTracker logs all your hands and statistics whilst playing online poker. I ...
Ricky's user avatar
  • 7,869
11 votes
2 answers
10k views

Lowest Spec VPS to run Ruby on Rails [closed]

I want to get started with my first Ruby on Rails application. It will pull an image, and some text about the image display both, and have a small box to write some text about the image, which will ...
Joseph's user avatar
  • 914
11 votes
9 answers
688 views

Running my own server with a "developers background"? [closed]

I have a couple of different projects running for the moment - some PHP apps and a few WordPress instances, which all currently are kept at a web hosting company. The contract period time is about to ...
Industrial's user avatar
  • 42.4k
11 votes
1 answer
3k views

Are there any "gotchas" in deploying a Cassandra cluster to a set of Linode VPS instances?

I am learning about the Apache Cassandra database [sic]. Does anyone have any good/bad experiences with deploying Cassandra to less than dedicated hardware like the offerings of Linode or Slicehost? ...
z8000's user avatar
  • 3,655
10 votes
9 answers
37k views

Oracle XE Database Configuration failed

I am trying to create an oracle xe database in my vps. VPS OS : Cent OS. When try to run /etc/init.d/oracle-xe configure it throws an error Database confiration failed and to check the logs but ...
anandaravindan's user avatar
10 votes
5 answers
28k views

Wordpress issue: after migration only homepage works

A few days ago I tried transferring my wordpress website from shared hosting to vps but I've run into a problem. After following many guides/tutorials and googling myself I can't figure out why it's ...
Forrestgump360's user avatar
10 votes
2 answers
8k views

Multiple Domains on a VPS with Apache

I am planning on getting a VPS soon and have two sites I want to host. I have my local vhosts setup for my development environment using host file to port it correctly. My question is hopefully ...
Jim's user avatar
  • 18.8k
10 votes
3 answers
120k views

a2enmod command not found in apache server using cpanel in linux vps

after going to /etc/httpd/conf/httpd.conf and even after changing Allow override none -> Allow override All , and then restarting the server using service httpd restart and then i type the ...
roh_dev's user avatar
  • 295
10 votes
1 answer
12k views

How to LogIn as root in Google Cloud Compute Engine?

I don't know why Internet giant Google has no instant chat support or ticketing support system for their services. I have created a new instance under Google cloud compute engine with linux centos-6. ...
Neeraj Kumar's user avatar
10 votes
4 answers
58k views

Using wget to download a ZIP file

I'm having trouble using wget for my Debian 7.0 VPS server hosted by OVH. I'm trying to download a ZIP file from MediaFire, and when I connected via SSH I typed, wget http://download1472.mediafire....
Logan Butler's user avatar
10 votes
1 answer
12k views

Laravel 5 not getting any error logs

I installed Laravel 5 on a new VPS, I was running everything fine but I noticed I wasn't getting any Laravel errors the system would only fire a server 500 error at me which is no help when debugging ...
archvist's user avatar
  • 712
10 votes
3 answers
2k views

nginx/apache redirection for output port on docker container on vps

I'm a linux noob in admin of docker container using apache or nginx on VPS. I use an OVH classic Vps (4go ram, 25Go SSD) with already installed image of ubuntu 15.04 + docker. Install of docker ...
reyman64's user avatar
  • 543
10 votes
2 answers
19k views

pip install require tls/ssl

I have got a problem with install python on my OVH vps server kubuntu 14.04 desktop. What i need to do ? :~/Desktop# python get-pip.py pip is configured with locations that require TLS/SSL, ...
Piotr's user avatar
  • 175
9 votes
2 answers
7k views

How do I block someone else's domain pointing to my Apache hosted website?

Hi I am running my website in Linux VPS with dedicated IP few weeks ago I found someone else domain is pointing to my website Ex :: mydomain.com === server my site content otherdomain....
user3928459's user avatar
9 votes
2 answers
8k views

MySQL slots under PHP / PDO

I'm evaluating a migration to pdo on some hosts (VPS) but it seems to come at a price of more memory required. Q: in php.ini, there's a setting: pdo_mysql.cache_size = 2000 I can't find much ...
Teson's user avatar
  • 6,716

1
2 3 4 5
47