icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » I did it

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old August 23rd, 2006, 4:28 PM   #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
Talking I did it

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...
javaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 23rd, 2006, 10:12 PM   #2 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
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.
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 23rd, 2006, 10:27 PM   #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...
javaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 23rd, 2006, 11:43 PM   #4 (permalink)
Registered User
Seasoned Poster
 
state's Avatar
 
Joined in Aug 2005
40 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by javaj View Post
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?
Your package should come with two IP addresses which are used for hosting. If you'd like to have reverse-name resolution changed then you can open a ticket and they'll do that for you. The package also comes with two nameserver IP addresses (shared) that you can point your domain at.

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:
/etc/hosts.allow
# orl.dimenoc.com
ALL: 72.156.240.249
# dc2.dimenoc.com
ALL: 72.29.76.254
# dimenoctechs
ALL: 72.29.72.130

/etc/hosts.deny
ALL: ALL
Another useful tool which I wouldn't consider running a server without is SSHBLACK (http://www.pettingers.org/code/sshblack.html). This daemon runs in the background and watches inbound SSH attempts. Once the threshold you set in the config for failed logins is reached it blocks all access with iptables for a time period of your choice.

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.
state is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 24th, 2006, 1:40 AM   #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...
javaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 24th, 2006, 3:00 AM   #6 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
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.
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 24th, 2006, 11:33 AM   #7 (permalink)
Surpass Fan
On a golden path...
 
pizzicar's Avatar
 
Joined in Feb 2006
Lives in Arizona
340 posts
Gave thanks: 3
Thanked 16 times
Quote:
Originally Posted by javaj View Post
Thanks state,
...snip...
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.
...snip...
all the best...
Thanks for the link - some good tips in there.
__________________
"Argue for your limitations, and sure enough, they are yours"
pizzicar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 24th, 2006, 8:12 PM   #8 (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 had a few other websites I had bookmarked a long time ago with vps stuff too, if I find em or run across them again Ill post em.
javaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 25th, 2006, 3:32 AM   #9 (permalink)
Registered User
Comfy Contributor
 
Tsikura's Avatar
 
Joined in Apr 2006
Lives in New York
Hosted on VPS-5
170 posts
Gave thanks: 8
Thanked 8 times
Quote:
Originally Posted by javaj View Post
Thanks state,


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 was loooking at the guide there and about my.cnf I have a question.

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
which looks completely different from that thread! :O
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
Tsikura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On