Your new VPS is provisioned, what is the first thing you do once you connect?

MannDude

Just a dude
vpsBoard Founder
Moderator
Curious to see how everyone responds.

For me, right after logging in via SSH for the first time I just immediately do:


apt-get update && apt-get upgrade -y
and then do whatever else I need to do for whatever I plan on using the VPS for.

What about you?
 
Last edited by a moderator:

kaniini

Beware the bunny-rabbit!
Verified Provider
I just install whatever I want because unless my VPSes are with an external provider, they are built from scratch each time with the latest updates. :p

Usually I start with build-essential or build-base package to bring in a C/C++ toolchain.
 
Last edited by a moderator:

D. Strout

Resident IPv6 Proponent
Either apt-get update/upgrade or put my public key on and disable password logins in SSH. One of the two, those always come first. Then installations of needed packages and putting data on.
 

nunim

VPS Junkie
I'm surprised that no one has mentioned this yet..


free -m  && ps -aux
apt-get remove apache* bind9* sasl* samba* sendmail* exim*
apt-get update && apt-get upgrade
reboot
...
free -m
I usually run my setup script though, just does most of that and a little more like changing SSH ports, then I figure out what I'm going to do with that VPS...
 
Last edited by a moderator:

Marc M.

Phoenix VPS
Verified Provider
dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync - will most likely be cached

dd bs=1M count=512 if=/dev/zero of=test conv=fdatasync - will most likely be cached

dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync - will possibly be cached

dd bs=1M count=2048 if=/dev/zero of=test conv=fdatasync - this is very unlikely to be cached entirely, run it 3 times and make sure you get consistent results.

Look for consistent results :D

All joking aside, change your root password first, do basic house keeping, adjust security settings, update.
 
Last edited by a moderator:

kaniini

Beware the bunny-rabbit!
Verified Provider
dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync - will most likely be cached

dd bs=1M count=512 if=/dev/zero of=test conv=fdatasync - will most likely be cached

dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasync - will possibly be cached

dd bs=1M count=2048 if=/dev/zero of=test conv=fdatasync - this is very unlikely to be cached entirely, run it 3 times and make sure you get consistent results.

Look for consistent results :D
dd tests are not a scientifically useful benchmark.  if you're going to benchmark, do ioping instead, at least then you can test the latency guarantees of the underlying host.
 

Tux

DigitialOcean? lel
Code:
apt-get update
apt-get dist-upgrade
wget https://github.com/Xeoncross/lowendscript/raw/master/setup-debian.sh
chmod +x setup-debian.sh
./setup-debian.sh system
apt-get install rsyslog
sed -i "s/PermitRootLogin yes/PermitRootLogin no/g" /etc/ssh/sshd_config
sed -i "s/\#PasswordAuthentication yes/PasswordAuthentication no/g" /etc/ssh/sshd_config
service ssh restart
 

MannDude

Just a dude
vpsBoard Founder
Moderator
dd tests are not a scientifically useful benchmark.  if you're going to benchmark, do ioping instead, at least then you can test the latency guarantees of the underlying host.
I think he was joking ;)
 

perennate

New Member
Verified Provider
passwd

apt-get update; apt-get upgrade

apt-get install libboost-all-dev zip unzip build-essential libgmp3-dev libmysql++-dev screen emacs23-nox nmap mysql-client subversion libbz2-dev htop iftop fail2ban git php5-mcrypt language-pack-en tasksel php-pear
tasksel install lamp-server
pear install Net_SMTP Mail
 

mikho

Not to be taken seriously, ever!
Aside from Apache (which I usually use), what does minstall (or a minimal template) remove?
If you run the "clean-packages" this is what you will end up with: https://github.com/KnightSwarm/Minstall/blob/2.5.7/modules/clean-packages/debian/base


You can add/remove packages as you see fit from the custom file and it will be included.


So basicly you can save your own settings and have the same settings on every VPS that you like.


My first steps are minstall, change root password ... Then it depends on what I will use the VPS for.
 

Magiobiwan

Insert Witty Statement Here
Verified Provider
My first steps are usually package updates, then change root pass, then add my SSH keys. Then I run a setup script I've put together (as of recently) to install/uninstall things that I either need or don't need.
 

johnlth93

New Member
mine would be echo 'my prepared source list' > /etc/apt/source.list then only apt-get update upgrade and stuffs
 
Top