Quantcast
Channel: Tutorials — LowEndTalk
Viewing all articles
Browse latest Browse all 1034

Basic setup of a VPS with Debian 8 Jessie

$
0
0

Hi guys,

I bring you a small tutorial so you can perform a setup on your vps with OS Debian 8 Jessie.

**Step 1 **

Uninstall Apache2

`service apache2 stop

dpkg -l | grep apache2

apt-get purge apache2 apache2-bin apache2-data apache2-doc apache2-mpm-prefork apache2-utils

apt-get autoremove

whereis apache2

rm -rf /usr/sbin/apache2 /usr/lib/apache2 /etc/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz `

**Step 2 **

Uninstall Postfix

`service postfix stop

dpkg -l | grep postfix

apt-get purge postfix`

**Step 3 **

Create user

`adduser username

adduser username sudo

chmod -R 700 /home/username`

**Step 4 ** dpkg-reconfigure locales

**Paso 5 **

Set the time

`date

sudo apt-get install ntp

dpkg-reconfigure tzdata

sudo service ntp restart `

**Step 6 **

Update OS

`sudo apt-get install aptitude

sudo aptitude uptade && sudo dist-upgrade`

Regards,


Viewing all articles
Browse latest Browse all 1034

Trending Articles