Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Basic setup of a VPS with Debian 8 Jessie
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Basic setup of a VPS with Debian 8 Jessie

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,

Thanked by 1cdseoo

Comments

  • I just hope this will be use full to somebody and You are really serious about the tutorial

  • fvillalba89 said: perform a setup

    Of what ?

  • Debian,thx

    Thanked by 1lustix
  • @Miketomy said:

    fvillalba89 said: perform a setup

    Of what ?

    Hi,

    Im from Spain. Sorry my bad english.

    Regards,

  • @fvillalba89 said:

    @Miketomy said:

    fvillalba89 said: perform a setup

    Of what ?

    Hi,

    Im from Spain. Sorry my bad english.

    Regards,

    trabajar paella siesta mallorca

    debian, thnx

  • I have no idea why you'd want to kill Apache and Postfix as a first step, but whatever floats your boat. I also suggest openntpd over stock nntpd, personally. Before you do any of that, add your user, install sudo, add your user to sudo, and disable root ssh, but, again, that's just what floats my boat. :D

  • should this say Openvz template in the topic?

  • @JoeMerit said:
    should this say Openvz template in the topic?

    Sorry. Yes. I can use OpenVZ.

  • @WSS said:
    I have no idea why you'd want to kill Apache and Postfix as a first step, but whatever floats your boat. I also suggest openntpd over stock nntpd, personally. Before you do any of that, add your user, install sudo, add your user to sudo, and disable root ssh, but, again, that's just what floats my boat. :D

    Hi,

    In step 3 I create the user:

    adduser username
    adduser username sudo
    chmod -R 700 /home/username

    Delete Apache and Postfix because it is necessary to install a control panel. For example, to install DirectAdmin, you need a clean OS.

    Regards,

  • Ah. I don't tend to like the control panel rolled versions any more than that which come with the base OS.. in fact I tend to prefer them less. :)

Sign In or Register to comment.