Installation Tutorial for Newbie

  • i-MSCP Version 1.0.3.0 (STABLE Last Update 23.03.2012] to Debian Squeeze


    Configure your server:
    (login in root via SSH with PUTTY)
    Check your network.
    [if you want to configure network:root@server1: # nano /etc/network/interfaces (ctr^X and y or n ) ]
    Example:
    ***********************************************************
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).


    # The loopback network interface
    auto lo
    iface lo inet loopback


    # The primary network interface
    #allow-hotplug eth0
    #iface eth0 inet dhcp
    auto eth0
    iface eth0 inet static
    address 95.211.01.09
    netmask 255.255.255.000
    network 95.211.02.02
    broadcast 95.211.21.001
    gateway 95.211.03.03
    dns-nameservers 85.17.00.01 85.17.00.02 85.17.00.03
    dns-search yourserverhost.com
    ***********************************************************
    if you modify ,then restart :
    root@server1: # /etc/init.d/networking restart
    Edit /etc/hosts.
    root@server1: # nano /etc/hosts (ctr^X and y or n )
    Make it look like this:


    ***********************************************************
    127.0.0.1 localhost.localdomain localhost
    95.211.01.09 server1.yournewhost server1


    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ***********************************************************
    Now run


    root@server1:# echo server1.yournewhost > /etc/hostname
    root@server1:# /etc/init.d/hostname.sh start
    Afterwards, run
    root@server1:# hostname
    root@server1:# hostname -f
    It is important that both show : server1.yournewhost !
    Install packages:
    root@server1:# apt-get update
    root@server1:# apt-get upgrade --show-upgraded
    root@server1:# apt-get install apache2 apache2-doc apache2-utils
    root@server1:# apt-get install libapache2-mod-perl2
    root@server1:# apt-get install libapache2-mod-python
    root@server1:# apt-get install python-mysqldb
    root@server1:# apt-get install libapache2-mod-php5 php5 php-pear php5-xcache
    root@server1:# apt-get install php5-suhosin
    root@server1:# apt-get install mysql-server


    Set MySQL Passwords


    Create MySQL root password, remove anonymous users, disallow root login remotely, remove test database (and access to it), reload privilege tables.


    root@server1: # mysql_secure_installation
    ####################################################

    NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
    SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!



    In order to log into MySQL to secure it, we'll need the current
    password for the root user. If you've just installed MySQL, and
    you haven't set the root password yet, the password will be blank,
    so you should just press enter here.


    Enter current password for root (enter for none): ENTER
    OK, successfully used password, moving on...


    Setting the root password ensures that nobody can log into the MySQL
    root user without the proper authorisation.


    Set root password? [Y/n] ENTER
    New password: enter your new password
    Re-enter new password: enter your new password
    Password updated successfully!
    Reloading privilege tables..
    ... Success!


    By default, a MySQL installation has an anonymous user, allowing anyone
    to log into MySQL without having to have a user account created for
    them. This is intended only for testing, and to make the installation
    go a bit smoother. You should remove them before moving into a
    production environment.


    Remove anonymous users? [Y/n] ENTER
    ... Success!


    Normally, root should only be allowed to connect from 'localhost'. This
    ensures that someone cannot guess at the root password from the network.


    Disallow root login remotely? [Y/n] ENTER
    ... Success!


    By default, MySQL comes with a database named 'test' that anyone can
    access. This is also intended only for testing, and should be removed
    before moving into a production environment.


    Remove test database and access to it? [Y/n] ENTER
    - Dropping test database...
    ... Success!
    - Removing privileges on test database...
    ... Success!


    Reloading the privilege tables will ensure that all changes made so far
    will take effect immediately.


    Reload privilege tables now? [Y/n] ENTER
    ... Success!


    Cleaning up...
    All done! If you've completed all of the above steps, your MySQL
    installation should now be secure.
    Thanks for using MySQL!


    ####################################################


    Install I-MSCP


    download i-mscp-1.0.3.0.tar.bz2 and upload with your FTP client ( binnary mode) to your server in: cd /usr/local/src


    root@server1:# cd /usr/local/src
    root@server1:# aptitude install bzip2
    root@server1:# tar xjvf i-mscp-1.0.3.0.tar.bz2
    root@server1:# cd ./imscp


    Install by running the imscp-autoinstall script
    root@server1:# perl ./imscp-autoinstall


    Then go to your panel http://95.211.01.09
    Username:admin
    Password:admin


    for unninstall:
    root@server1:# cd /usr/local/src
    root@server1:# cd ./imscp
    root@server1:# perl imscp-uninstall


    GOOD LUCK!

    Edited once, last by agelu ().