| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
Lives in up north
Hosted on pass61
20 posts
Gave thanks: 0
Thanked 0 times
|
I decided last night to upgrade to VPS 2, but I first checked out a few other hosts, not because I was planning on leaving surpass, its been a great ride so far, Its more that I am cheap and was looking for the best bang for the buck sort of a deal, but everywhere I looked, and I checked out tons of em, nothing could even come close to space, bandwidth, and features that surpass offers. I had a vps and a server before, several years ago, but where I had my vps the unnamed host had worse uptime than my grandmothers modem, which was another reason I was worried about moving.
Anyway so after circling the signup form about 5 different times I finally talked myself into doing it, I put the order in last night so now its just waiting for the setup and the welcome email, it will probably be awhile but I dont think I have refreshed my yahoo inbox so many times in my life. Oh and if anyone knows, is the firewall initially setup or do I need to request it? and can you use just one of the IP's for the nameservers? I guess I will have to get familiar with red hat again. Which is cool, anyone know a good tutorial site or primer for red hat/centos? I run suse at home. thanks... |
|
|
|
|
|
#2 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
I can't really answer the questions there still in the learning mode with my VPS. Taking my time so I can enjoy the Summer too
![]() But congrats on the VPS. Hope it is a great adventure for you. ![]()
__________________
![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
Lives in up north
Hosted on pass61
20 posts
Gave thanks: 0
Thanked 0 times
|
Thanks Skipdawg
I'm still waiting on the welcome email, but from the looks of it, it will probably be some time tommorow, I hope... Anyway, thanks again... |
|
|
|
|
|
#4 (permalink) | ||
|
Registered User
Seasoned Poster
Joined in Aug 2005
40 posts
Gave thanks: 0
Thanked 0 times
|
Quote:
The firewall is enabled by default but the ruleset is wide open (no restrictions). I highly suggest that you lock down services that you don't need open to the public and put restrictions in place with tcpwrappers (via hosts.allow and hosts.deny). As an example, aside from my IP address I only allow these three IP addresses full access (for the surpass/dimenoc folks): Quote:
Another thing it to change PermitRootLogin yes to PermitRootLogin no in your /etc/ssh/sshd_config file when it isn't needed. You probably know most of this, but thought I'd throw it out there in case someone else wondered about it. |
||
|
|
|
|
|
#5 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jun 2006
Lives in up north
Hosted on pass61
20 posts
Gave thanks: 0
Thanked 0 times
|
Thanks state,
I still dont understand why most linux distros install out of the box with permiting root log in's on ssh, kinda insane, I heard most all of em do, or used too, I forgot all about it. Thanks on the SSHBLACK script too. Oh, I recently found a really good tutorial on how to secure and optimize a vps at webhostingtalk lots of really good tips and info on vps specific issues. they have some other vps tutorials there too. I have been watching this other thread and I hope they can resolve the issues on your guys servers, its maken me a little nervous just jumping in but I am keeping my fingers crossed. all the best... |
|
|
|
|
|
#6 (permalink) |
|
Insanely
Super #1
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
|
Well that mystery resource issue is an annoyance but just that so far. I have not kept an exact record but even with that since May of this year of having my VPS I'd say I've have a good steady 99% good experience. It just pops up now and then. Usually when I am busy doing something.
But over all happy with my VPS. Upgraded from the shared OC5 plan and like the VPS 10 times better easy. ![]()
__________________
![]() |
|
|
|
|
|
#7 (permalink) | |
|
Surpass Fan
On a golden path...
Joined in Feb 2006
Lives in Arizona
340 posts
Gave thanks: 3
Thanked 16 times
|
Quote:
__________________
"Argue for your limitations, and sure enough, they are yours" |
|
|
|
|
|
|
#9 (permalink) | |
|
Registered User
Comfy Contributor
Joined in Apr 2006
Lives in New York
Hosted on VPS-5
170 posts
Gave thanks: 8
Thanked 8 times
|
Quote:
The my.cnf file in the vps looks like so Code:
[mysqld] set-variable = max_connections=500 set-variable = max_user_connections=35 set-variable = interactive_timeout=100 set-variable = wait_timeout=15 set-variable = connect_timeout=10 safe-show-database Someone posted even 400 is a bit high but my 256mb VPS1 seems to have a connection of 500. Would it be safe just to copy+paste the following? Code:
VPSes are really hard to use with the memory restrictions and CPU limitations...but with some optimization they can definitely serve your websites fast! MySQL Optimization Here are my suggested settings for the my.cnf file. This should work well for a VPS with 256-512MB RAM. [mysqld] max_connections = 400 key_buffer = 16M myisam_sort_buffer_size = 32M join_buffer_size = 1M read_buffer_size = 1M sort_buffer_size = 2M table_cache = 1024 thread_cache_size = 286 interactive_timeout = 25 wait_timeout = 1000 connect_timeout = 10 max_allowed_packet = 16M max_connect_errors = 10 query_cache_limit = 1M query_cache_size = 16M query_cache_type = 1 tmp_table_size = 16M skip-innodb [mysqld_safe] open_files_limit = 8192 [mysqldump] quick max_allowed_packet = 16M [myisamchk] key_buffer = 32M sort_buffer = 32M read_buffer = 16M write_buffer = 16M |
|
|
|
|