1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

server configuration for XenForo

Discussion in 'Server Configuration and Hosting' started by 14DH01, May 11, 2013.

  1. 14DH01

    14DH01 Active Member

    hello,
    I own a the "mKS 2G" dedicated server. I search the best compromise in order to have the optimun configuration (performence and security).

    Debian 6.0 Stable, Debian 7.0, Ubuntu Server 10.04, Ubuntu Server 12.04, Ubuntu Server 12.10,
    Ubuntu Server 13.04 (BETA),Red Hat Ent. Linux 5, Red Hat Ent. Linux 6, CentOS 5, CentOS 6,
    Gentoo 2013, Slackware 14, ArchLinux 2013,OpenSUSE 12.3, Fedora 17, FreeBSD 8.3, FreeBSD 9.1

    :rolleyes: what is the best OS before starting.
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    I started on Debian 6 and upgraded to Debian 7. I like the .deb package management system since I was used to it with Ubuntu for my desktop (one of 4 Linux boxes I have at the house).
    CentOS for stability is usually recommended, but when I played with it I didn't personally like it that well since it was RPM based. Debian was very easy to set up and is a good cross between stability and some of the latest features. CentOS (from my understanding) is more conservative.
    Fail2ban is one important package to install if you go with Debian.
    Code:
    2013-05-06 19:00:52,170 fail2ban.actions: WARNING [ssh] Ban 222.186.57.33
    2013-05-06 19:10:53,079 fail2ban.actions: WARNING [ssh] Unban 222.186.57.33
    2013-05-07 08:42:46,577 fail2ban.actions: WARNING [ssh] Ban 199.71.233.98
    2013-05-07 08:52:47,288 fail2ban.actions: WARNING [ssh] Unban 199.71.233.98
    2013-05-08 12:15:26,575 fail2ban.actions: WARNING [ssh] Ban 114.251.172.67
    2013-05-08 12:25:27,302 fail2ban.actions: WARNING [ssh] Unban 114.251.172.67
    2013-05-09 05:08:19,800 fail2ban.actions: WARNING [ssh] Ban 121.196.43.157
    2013-05-09 05:18:20,505 fail2ban.actions: WARNING [ssh] Unban 121.196.43.157
    2013-05-09 10:12:07,030 fail2ban.actions: WARNING [ssh] Ban 192.30.85.135
    2013-05-09 10:22:07,730 fail2ban.actions: WARNING [ssh] Unban 192.30.85.135
    2013-05-10 10:11:35,837 fail2ban.actions: WARNING [ssh] Ban 198.23.74.170
    2013-05-10 10:21:36,573 fail2ban.actions: WARNING [ssh] Unban 198.23.74.170
     
    Adam Howard and 14DH01 like this.
  3. Biker

    Biker Well-Known Member

    Please tell me this is managed hosting and you aren't undertaking this on your own.
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

    If someone is technically competent, managed is not really needed. My VPS is unmanaged (except by me) and I had never set one up before. I HAVE ran numerous flavors of Linux on systems at my house (most of which I did have set up on the 'net with domain names and my router doing forwarding). Never had a problem. If someone is NOT familiar with Linux, iptables, and all the other little necessities, then I agree - a managed solution is preferred if you don't want to get "infested". :D
     
    Adam Howard likes this.
  5. 14DH01

    14DH01 Active Member

    Tracy Perry,​
    yes I noticed that a lot of people here recommend it.​
    Currently I am running centos with webmin (test) ;)
    Biker,​
    Not my board is currently in accomodation for partage.il is not yet move to the dedicated ;)
    I also read that "Percona" was good for the database( xenforo). Is it easy to install on a "debian"?​
    config :​
    • Processor Intel Core 2 Duo E6550 2x 2.33 GHz (4 MB of cache)
    • Architecture 64 bits
    • NIC FastEthernet
    • Memory 2 GB
    • Disks 2x500 GB RAID-1 soft
     
  6. Tracy Perry

    Tracy Perry Well-Known Member

    Direct replacement for the default mysql that ships. Simple as added the repository, pinning it and installing. Instructions are posted on the Percona web site.
     
    14DH01 likes this.
  7. 14DH01

    14DH01 Active Member

    :)
    My forum is "mysql". transfer will take place without pain for "Percona sql"?
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    If you currently use mySQL, the my.cnf that it uses is exactly the same. Main difference is Percona has some INNODB enhancements - which is the DB format that xF uses. Took me all of 2 minutes to convert over.
    On my VPS I'm running
    Debian 7.0
    Percona
    Nginx
    PHP 5.4.4-14 (if I remember correctly)
     
    14DH01 likes this.
  9. 14DH01

    14DH01 Active Member

    :sneaky:
    In this case I'm going to change my kernel serveur dedié. I'll install everything you advise me.​
    I'll probably ask for the installation of the package and put in place for safety.​
    I'll let you know in case of trouble ;)
    thanks​
     
  10. Tracy Perry

    Tracy Perry Well-Known Member

    Adam Howard has a good resource available that will be of great assistance.
    http://xenforo.com/community/resources/debian-server-setup.952/
     
    Adam Howard likes this.
  11. 14DH01

    14DH01 Active Member

  12. 14DH01

    14DH01 Active Member

    Distribution : Debian 7.0​
    Kernel : 3.2.0-4-amd64
    [ last Version 3.2.13 ]
    Date : #1 SMP Debian 3.2.41-2​
    I see that my kermel is not a day​
    I did "apt-get cache search linux image" but no version 3.2.13​
    my dépot​
    /etc/apt/sources.list​

    Code:
    deb http://debian.mirrors.ovh.net/debian/ wheezy main
    deb-src http://debian.mirrors.ovh.net/debian/ wheezy main
     
    deb http://security.debian.org/ wheezy/updates main
    deb-src http://security.debian.org/ wheezy/updates main
    change
    Code:
    # Debain Main Update
    deb http://ftp.de.debian.org/debian stable main contrib non-free
    deb-src http://ftp.de.debian.org/debian stable main contrib non-free
     
    deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
    deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
     
    deb http://security.debian.org/ wheezy/updates main contrib non-free
    deb-src http://security.debian.org/ wheezy/updates main contrib non-free
    =
    :rolleyes: I change the deposits I do not see the last Kermel (3.2.13)
     
  13. Tracy Perry

    Tracy Perry Well-Known Member

    oscar@twowheeldemon:/home/oscar# uname -r
    3.2.0-4-686-pae

    That is the version on my system.
     
    14DH01 likes this.
  14. 14DH01

    14DH01 Active Member

    I'll leave my version.
    The next step => "Percona" ;)
     
  15. 14DH01

    14DH01 Active Member

  16. Slavik

    Slavik XenForo Moderator Staff Member

    Centos, the way forward ;)
     
    14DH01 likes this.
  17. Tracy Perry

    Tracy Perry Well-Known Member

    14DH01 likes this.
  18. 14DH01

    14DH01 Active Member



    I think "Percona" does not work with debian 7​
    I'm not familiar with the command "Yum"
    by cons with webmin it will have to go ? but by default it is already working with mysql.

    it starts to be complicated for me :oops:
     
  19. Slavik

    Slavik XenForo Moderator Staff Member

    14DH01 likes this.
  20. Tracy Perry

    Tracy Perry Well-Known Member

    Since he's on Debian, the RPM will not "play nice".
    Also, remember... Percona is not the same as percona.
    Case DOES make a difference in Linux - unlike Winblows.
     
    14DH01 likes this.

Share This Page