Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 07-05-2017, 04:25 PM   #1
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
How to manage a vps

As you can guess from the title, I'm thinking of taking an unmanaged VPS (eg. digitalocean), I have already tried in the past, with CentOS 6 and CWP (CentOS Web panel), I have not had very different results from a hosting, and then after a few months I closed it.

Now many of your tips to my posts lead me to a VPS, so I'm thinking of trying it again.

But I would like to start well, possibly avoiding as many errors as possible.

I need some advice, for example:
Use a software like cpanel or CWP (or other free) or do everything from command line? Or what else?
Using Apache or Litespeed?
Use tool like varnish reverse proxy?
What to do absolutely?
What to avoid absolutely?
What is needed to not consume too much resources?
etc, etc, etc...

I think I can do it all by myself (with the right guides), but please help me to take at least the correct initial direction.
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-05-2017, 05:14 PM   #2
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 175
I can strong recommend serverpilot i use with vultr, digitalocean and linode - paid and free option - I never get any problems. for me is a best option to manage vps.
magneto664 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-05-2017, 05:24 PM   #3
tomash999
Registered User
 
Industry Role:
Join Date: Sep 2015
Posts: 51
If you didn't saw a difference, there are many things to consider before making assumptions, like how the software was written.

If you have background processes, like a newsletter or video encoder, you should see a difference (even with your current setup though).

1. Open to the public only what you have to. Use the command line as it will use less resources. A reason to use CPanel is if there are other managers, or it is more productive.
2. Litespeed looks promising, but I never use it so I can't advise.
3. Yes, for caching.

Also read on these topics:
1. Security, specifically on SSH access and firewall.
2. Databases (access control, backups).
3. Caching (HTTP caching if you are hosting the media and not using a CDN).
4. Timezones

Lnode and Digital Ocean have some good tutorials. There are YouTube videos as well:
https://www.youtube.com/watch?v=oFduaKmAEbg
__________________
Bots, web crawlers and automation
tomash999 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-05-2017, 11:14 PM   #4
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 14,476
Not sure what you mean by "I have not had very different results from a hosting". What difference did you expect?

Hosting your money sites on unmanaged server and trying to manage it "with the right guides" isn't a good idea.

Looks like you need a fully managed solution or hire someone who knows what they are doing.
__________________
My TOP money making webcam program
(Earn up to $130 Per order / 35% revshare)

Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-05-2017, 11:31 PM   #5
3xmedia
Confirmed User
 
3xmedia's Avatar
 
Industry Role:
Join Date: Apr 2004
Posts: 4,223
seems like you are CLUELESS and have no idea how to properly manage a server so why not get a fully managed VPS? It costs a bit more but you can sleep better... or are you really that BROKE and can't afford to pay a few bucks more for a fully managed plan?
__________________
---
3xmedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2017, 12:03 AM   #6
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 14,476
Quote:
Originally Posted by magneto664 View Post
I can strong recommend serverpilot i use with vultr, digitalocean and linode - paid and free option - I never get any problems. for me is a best option to manage vps.
Looks good but it seems it's just some control panel. I guess you still need some knowledge about linux and server management?
__________________
My TOP money making webcam program
(Earn up to $130 Per order / 35% revshare)

Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2017, 03:55 AM   #7
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 175
Quote:
Originally Posted by Denny View Post
Looks good but it seems it's just some control panel. I guess you still need some knowledge about linux and server management?
Yes, some basic knowledge is necessary, After a long time using (2y) I never do any hard server management - all updates and security is a serverpilot job. I always use backups from vps hosting provider and work mostly on wordpress. Even a 10usd option per month give you amazing support. I don't even remember any issues.
magneto664 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-07-2017, 05:25 PM   #8
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
Wow thanks for the replies, I didn't expect so many. I try to answer everyone in one post.

I gave a look at serverpilot, but I do not understand what it does... I can't find screenshots, guides, anything...
Basically serverpilot installs in your place a server in digitalocean with serverpilot panel? It is not like Cpanel?
Preferably wordpress, and to you remains only to monitor the server?
In this case, I need more autonomy.

My sites for work requiring substantially only php, mysql and cronjob.

Quote:
Not sure what you mean by "I have not had very different results from a hosting". What difference did you expect?
I have only done a test, I took all the sites that I had in a hosting service, and I put them on digitalocean. Was hoping for a substantial performance and visits increase, but I did a test with a hosting that worked, was sufficient for the hosted sites, and then, not much has changed.

This time is different, I want to move to digitalocean my vps

Quote:
why not get a fully managed VPS?
For a lot of reasons, in all the vps that I have purchased from several vendors, I always had some problem, eg: database limitations, entry processes restrictions, cpu limitations, malfunctions, etc etc etc.

Lately this problem "Mysql-open-file-limit-100000" Mysql --open-file-limit-100000.

The last one I purchased on hawkhost every so often decides to do something that consumes all the cpu (normal operation of my sites consumes about 10% of the cpu) and restrict all of my sites and no one can explain why.

This creates a lot of problems to google

When for an period, my vps worked properly, my sites also arrived at the 20000, 30000, or 50000 visits a day, now 2000-3000, and when they start to increase something breaks...

and I'm pretty sure that is not a problem of my sites consumption of resources because in the last few years I have changed 4-5 vps from different providers and it is always some different bullshit that creates problems.

Quote:
you still need some knowledge about linux and server management?
I have some knowledge about linux and server management, use the linux desktop on all my pc's for years and I did some testing with digitalocean, I have not found big obstacles or problems.

I can install apache, php and mysql etc, the one that I don't know is for example if it is worthwhile to install varnish or not from the point of view of the server.

In the sense that it definitely brings benefits to the sites, but maybe, varnish use a lot of resources or consumes too much cpu...

I really need this type of advice to set up a server
.

I am afraid of some problems or particular errors that the server may have (ex: "Mysql-open-file-limit 100000"), but also with the managed vps they have never come to a solution.

I always open a ticket in support and:
The first responses to the ticket are always: buy more resources and give me more money.
The next are: will it be a problem of the code please contact your developer (me).
Then usually respond with some bullshit to take time.
Then comes an idiot who doesn't want to read all of the ticke and still responds to: buy new services, please contact the developer.
And usually at this point I send them to hell.

The assistance is only for simple things, for particular problems do not have the desire or ability to find a solution. Or at least, I never found one that was able to solve serious problems.
The only real solution is always to change vps, and hope that in the new vps, everything is working.

Often I even found myself the solution, but I have not been able to apply because I did not have the necessary access or permissions of the server, and also suggesting to support have done nothing.

Of this, what do you think CentOS Web Panel | Free Linux Web Hosting Control Panel Always thinking from the server side.

To me it looks not bad, I used it in my tests and in general I have not had any major problems.
But maybe it consumes too many resources, or some gap? Es. suPHP, is it good or not? I don't know ...

There is also a support, forum, tickets, etc., even if this tends to send often to the paid service. However, you can pay only when you need it.

Sorry if I have dwelt. Thanks for the replies.
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-08-2017, 02:12 AM   #9
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,132
I use serverpilot and I am very happy with that ! Plus I have some basic linux knowledges!
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-09-2017, 06:08 AM   #10
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 15,998
Buy a $5 mo instance in the Cloud VPS
Make a subdomain named dev.yourdomain.tld
point the 'A' in your current server's dns for that subdomain to the new server IP.
set the new server's dns to that subdomain and its 'A' IP

I would install Ubuntu 16.04 LTS others will argue their favorite os CentOS is another commonly used.

open a SSH session and change to root user
get to work

Digitalocean and Linode have tutorials search out what you need to do.
unix.stackexchange.com is a good source.
Google is your friend -- use it.

when dev.yourdomain.tld seems to be working to your satisfaction --
from that location -- I am assuming /path/yourdomain.tld/dev;

cd to [......]/dev
$ cp -R * ../
copy recursively the site files up a level to the main (parent) domain's directory
create a new server configuration for the parent domain on the new server
change your DNS 'A' for the parent domain on the old server
add the parent domain to the DNS new VPS server with the new server's 'A'.

Migration of the HTTP part and the MySQL is now complete?

Or, pay for a managed VPS server and and do the things that you are good at now.

Using a control panel on a VPS or dedicated server is like using a leaky condom IMHO -- You can't feel a thing and it leaks all over the place
__________________
Vive la résistance -- Carpe diem


Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2017, 02:13 AM   #11
bannel
Confirmed User
 
bannel's Avatar
 
Industry Role:
Join Date: Jan 2012
Posts: 610
See my sig. They provide full management at a cheap monthly price (transfer to the new location included).
__________________
email: bosper88 [at] yahoo dot com
icq: 622.577.957
The Next Generation Traffic Network
PLATINUM SERVER MANAGEMENT - 24x7x365 Server Management & Monitoring
bannel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2017, 04:38 PM   #12
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
So, these days I'm thinking about Digitalocean, maybe with panel, maybe not.

I would be interested in a panel especially to be able to monitor my sites.

Exist anything that allows you to do everything from command line but with statistics and graphs for monitoring?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2017, 05:26 PM   #13
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 15,998


open thumbnail link for larger image

DigitalOcean has a monitoring GUI you can set up.
There are probably web interfaces for LINUX console monitoring.
__________________
Vive la résistance -- Carpe diem


Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-14-2017, 03:56 AM   #14
magneto664
Confirmed User
 
Industry Role:
Join Date: Aug 2014
Location: Glasgow
Posts: 175
for vps monitoring I recommend https://nixstats.com
magneto664 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-19-2017, 10:16 AM   #15
floresmedia
Registered User
 
floresmedia's Avatar
 
Industry Role:
Join Date: May 2017
Location: California
Posts: 76
If you do not know how to manage a server then I would not recommend getting an unmanaged VPS.

If you want to learn how to manage a server then I would recommend installing a virtual machine and learning the ropes locally on your computer instead of learning on a live product.

Having an un managed VPS is a decent solution however it can be much cheaper and easier to scale an AWS EC2 Cloud Instance, which is very similar to having an un-managed vps but you have a lot more control and options.
floresmedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-20-2017, 12:20 PM   #16
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 15,998
Better yet, install LINUX on an old computer and start learning.
I would recommend Ubuntu as there is a large Internet knowledge base to learn from -- Debian commands work too.

If you decide later to use another LINUX operating system on a host server adapting most of the commands will be easy.

You can open a terminal and practice -- SSH is just a remote terminal program.
__________________
Vive la résistance -- Carpe diem


Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-21-2017, 02:28 AM   #17
reddygs
Registered User
 
Industry Role:
Join Date: Jul 2017
Posts: 31
I prefer to handover VPS Management company.To answer your question light speed would be better option but before that you need to check with mail platform and plugins used in it .
__________________
Regards
Reddy .Medha Hosting | Managed Dedicated Servers
reddygs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 03:26 PM   #18
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
Stupid question... better CentOS or Ubuntu server?
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Yesterday, 07:00 PM   #19
tomash999
Registered User
 
Industry Role:
Join Date: Sep 2015
Posts: 51
Take Ubuntu, it will make everything easier for you (although CentOS isn't a bad choice)
__________________
Bots, web crawlers and automation

Last edited by tomash999; Yesterday at 07:23 PM.. Reason: I wrote is instead of isn't
tomash999 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 12:14 AM   #20
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
But what is best for performance, speed, etc?

If it is difficult, I learn, I have already used CentOS even without too many problems
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 12:30 AM   #21
tomash999
Registered User
 
Industry Role:
Join Date: Sep 2015
Posts: 51
So stay with what you know, it doesn't matter for your use, and these are solid OS.

What is your stack right now?
__________________
Bots, web crawlers and automation
tomash999 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 07:31 AM   #22
Barry-xlovecam
It's 42
 
Barry-xlovecam's Avatar
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 15,998
I agree -- it's a matter of the devil you know best.
__________________
Vive la résistance -- Carpe diem


Sk.why.pe: barry_555_5 -- ICQ: three1896three617
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 02:41 PM   #23
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
Ok, I want to try ubuntu with sentora (ex zpanel), just to begin with, then in case we change
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old Today, 04:39 PM   #24
porn-update
Confirmed User
 
porn-update's Avatar
 
Industry Role:
Join Date: Apr 2014
Posts: 234
Aaaaand now that I created the droplet and I would be ready to install I have doubts about the panels...

I made a small list of what I use of cpanel and for what
Actually, of cpanel the only buttons I use are:
  • phpMyAdmin-> to manage MySQL databases
  • MySQL databases-> To create DATABASE and users
  • Addon domains-> To add/remove sites
  • Cron jobs-> To create Conjobs (one per site)
  • File Manager-> (almost never) 99% FileZilla
  • Privacy Directory-> I think you can use Httpassword
  • FTP Account-> only one, with one I manage everything
  • Optimize website-> One time on the first day (set compress all)
  • Select PHP Version-> add remove PHP modules (es cache)
  • Switch to PHP option-> I think it's all on php.ini
  • CPU and concurrent connection usage-> monitoring (nixstats)
  • Let's encrypt-> add HTTPS to sites
  • MoD security-> Usually less touch better is...

Everything else I've practically never even looked at.
On this server I think to put only 4-5 sites, very simple, need only PHP, MySQL, and cronjob to work

Then some caches, eg. Memcache, varnish, Opcache, acpu, etc.

I could use this https://www.digitalocean.com/communi...n-ubuntu-16-04 to put the server online

This https://nixstats.com to monitor it

PHP I think I use the 5.6, the subsequent I have always caused problems or loss of visits (but maybe it's my problem)

I need a quick way to turn on/off errors and set E_ALL &-E_NOTICE, but I think it's always php.ini
(Don't go very well with my URL rewriters, they create endless log files and they waste a lot of resources, so I turn it on and off every time I have to make some changes)

For varnish and other chache I hope there are guides around...

Mails don't need it

I miss HTTPS, some sites use it, I have used let's encrypt, but I think he needs a panel, I also saw Autossl, but I did not use it, I have no idea how it works, suggestions?

Surely, it seems little but it is very much, there will be many small things to configure install and manage, but I have taken a look at some guides and overall it does not seem impossible

At this point I think I still keep a bit the shared server and start moving just a couple of sites (the one with a few visits) in the new droplet Digitalocean and start to make everything work, then if everything works keep moving sites, otherwise I change the DNS and I return to the shared server... (Hopefully not)

Tips? Recommendations? Things I forgot? Problems that I will surely meet? Errors that everyone does at the beginning, to avoid?

Every help and advice is greatly appreciated... thanks
porn-update is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
vps, centos, cwp, thinking, line, free, command, software, advice, direction, cpanel, memcache, guides, correct, reverse, varnish, tool, litespeed, proxy, initial, acpu, opcache, apache, web, past
Thread Tools




©2000-, AVN Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.