Need be Validate - Extras for Perfect Server Debian / Ubuntu Users

Discussion in 'Installation/Configuration' started by Wisdown, Sep 1, 2012.

  1. Wisdown

    Wisdown Member

    Finally!!!!

    This gonna be a long post and my english isnt so good, so i hope you guys can understand me...
    I need say too i`m totally noob on linux world, so if you see something wrong / dangerous on my post, please correct me...
    I did this on an new single fresh server runing Debian 6 x64.

    Yeah, finally i finish my long journey testing many stuff as enduser!! (more then 20 days working on those tests, researching on google about right packages, security, etc...)
    Why?
    Because i wanna start sell host services for some friends, and if my pc handle, for more people too ;)

    Then i was thinking with myself:
    If i try sell host services i will need provide some kind of support, and since i`m noob, this could be an problem... This would make me spend many days searching the solutions and sometimes without can test in the real server (there real clients).

    So before start sell something i tried test as enduser, i have installed all php stuff from those lists:

    http://en.wikipedia.org/wiki/List_of_content_management_systems
    http://en.wikipedia.org/wiki/Comparison_of_e-mail_clients
    http://en.wikipedia.org/wiki/Photo_gallery_comparison
    http://en.wikipedia.org/wiki/List_of_collaborative_software
    http://en.wikipedia.org/wiki/Comparison_of_project_management_software
    http://en.wikipedia.org/wiki/List_of_wiki_software
    http://en.wikipedia.org/wiki/List_of_Open_Source_eCommerce_Software
    http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems
    http://en.wikipedia.org/wiki/Comparison_of_help_desk_issue_tracking_software
    http://en.wikipedia.org/wiki/Comparison_of_Internet_forum_software_(PHP)


    But, only for see the web behavior, i need learn how e-mails work for get the right paramenters on my tests (dindt setup any program to send / receive e-mail), but one thing per time...

    So while i was installing the stuff, i see lot of warnings about extensions not avaliable, about configs on php variables, permissions, etc...

    I changed some of those settings after research on google, my researchs probaly arent good since i`m noob on linux, so, be free to point any error on the stuff i did.
    There some situations where one software requires one thing enable, and other requires samething disable, on this scenario i keep disabled if my researchs point to me it would be hacked if i turn on, in other side, if is safe keep on or off, i wrote how many softwares requires the stuff on and off, then i seted for more compatibility, i mean for get more softwares up.

    [Security]
    Moslty of the listed packages are default from debian repository, i think the reason for debian have so many software outdate is be sure the stuff is safe, so thinking this way, i dont see any problem on install all defaults packages i will list.
    Maybe except for the stuff requerid for Horde Groupware for example, or in other words, the stuff using pear / pecl comand, you guys will noticed many of those stuff arent stable, intead this are release candidate version or beta, if you use horde you have all this stuff already installed...

    [Server Performance]
    Install all the listed packages will let your clients use photologs for example, and this can use may resources from your server, so, if you dont wanna enable the options for all your users have everything already enable, ignore this post.

    By the way, if you think like me, enable all this stuff would save a lot of time from support requests to enable this stuff by all client requests, this post is for you (once more time, do an research for see if safe)
    I need ask for apoligies for dont list in an step-by-step with details (for what software the package is being installed, for what software the .ini are be made, etc...), but i wrote the stuff in an paper while i was testing ISPConfig using VMWare, doing snapshots and restoring in last 2 months, so i can write here some packages names wrong also, if u see something like this please, say the correct name.

    Before continue, i would love know if would be better install all this stuff before run ISPConfig install script, or after, or doesnt matter.

    The list:

    Jailkit error (i hate warns on log then i try set all)

    Remove some # from the example and set like this:

    PHPMyAdmin Warn

    Add in the end this:

    Now Suhosin Settings

    Uncomment lines and Set this values:

    Note: If i remember right, suhosin settings listed are for phpmyadmin and roundcube mail... The phpmyadmin manuals have lot of stuff explaining how to increase the server security, worth read and do the settings...

    Now the long list of install:

    Note: I dindt installed all in one time, installed one pack, setted stuff, then did lot of tests, installed other pack and repeat...
    I`m wroting all list in one comand for easy ctrl-c ctrl-v, but if you get any problem with conflicts, please let me know.
    Many packages from this step are dependencies for other step, or setup, if you skip something, gonna get errors...
    Answer NO to JACK02 Question.

    Those 2 are special:
    (For non-brazilian you can ignore the second aspell, in fact dunno why there an -br and pt-br)

    Exchange -br for your country, i have used aspell-br and fortunes-br because i`m Brazilian...

    Now the pear / pecl installs

    Note: If i remember right those are for groupoffice and horde.

    On those i just hit enter for default values

    Note: There an bug with lzf so we gonna fix it:

    Setting php.ini on /etc/php5/apache2 /etc/php5/cgi /etc/php5/cli

    Next two, you need set for you country, the example is for my country Brazil:

    This value is special, you ONLY can set it on /etc/php5/apache2/php.ini and /etc/php5/cgi/php.ini.
    Be sure /etc/php5/cli/php.ini have the value -1, or you gonna bug your pear / pecl commands...

    This big line you need enter in ISPConfig Control pannel
    Click System
    Click Server Configuration
    Click on your server
    Click on Web
    On Websites symlinks add this:


    Install Zend Framework and Ioncube also
    And dont forget set APC or all your runings domains will become VERY SLOW (default is 32M of cache shared for all domains) , check php site for the paramenters...

    This is all i can find on my notes.
    I hope this in somehow would help people save they time, i spend more then 20 days testing all stuff, researching dependencies, learning how to configure, etc...
    But i`m just beginner, now i gonna focus on other things to get my server up and working nice

    Once more time, i`m noob, probaly something here would compromisse your server, i`m testing this in an new fresh install, this cant work for your runing server...
    And I`m using Debian 6 x64

    Some wierd behaviors:

    Typo3 you need edit the /tlib/config_default.php and set im_combine_filname => 'composite'
    phpbb is the only one which cant detect imagemagick on this setup (my guess is wrong name for composite like typo3 above, but i dindt found where to edit)... All others detected and worked fine... If you know why please tell us...
    Resource Space dindt work, i set 12 GB RAM for the VPS and Resource Space still not loading, in my oppinion the software is made for be so heavy for noone try host and pay for then...

    My next tests gonna be get the mail system working without any error / warn and try understand how webdav works

    Regards
     
    Last edited: Sep 2, 2012

Share This Page