Activity Stream
48,167 MEMBERS
61086 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Member
    Website's:
    ttrtt.com

    Default [CentOS] LAMP & Suhosin & APC & IonCube Loader & Optimization

    Hi guys this my first tutorial Hope you like it
    In this tutorial we will have Fresh CentOS installed on VPS with RAM 512D/1024B .
    and this is exclusive installation of MySQL (5.1.47 MySQL Community Server (GPL) by Remi) and PHP 5.3.2 By Remi too with Suhosin Extension 0.9.31 & Ioncube Loader & APC for Caching and PHP Optimizing

    Note: this is what i have installed on my VPS for my site ttrtt.com and it's using 300MB RAM only

    Let's Start:
    First Login to your VPS Shell as root copy 'n past following :
    Code: 
    wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
    wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
    rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
    wget http://rpms.famillecollet.com/RPM-GPG-KEY-remi
    rpm --import RPM-GPG-KEY-remi
    rpm -q gpg-pubkey --qf "%{summary} ->%{version}-%{release}\n"
    OK now lets upgrade our system and install the required libraries copy 'n past following :
    Code: 
    yum update
    MySQL:
    OK after this lets install MySQL server and then upgrade it
    Code: 
    yum install mysql-server
    chkconfig --levels 235 mysqld on
    /etc/init.d/mysqld start
    then this :
    Code: 
    /usr/bin/mysql_secure_installation
    now he will ask you to set root password and disabling remote connection to mysql server just follow the instructions and everything will be fine....
    Upgrading :
    Code: 
    /etc/init.d/mysqld stop
    yum --enablerepo remi update mysql-server
    /etc/init.d/mysqld start
    Apache Server:
    Now we will install Apache Server just copy 'n past :
    Code: 
    yum install httpd
    chkconfig --levels 235 httpd on
    /etc/init.d/httpd start
    PHP:
    Now installing php and then upgrading it:
    Code: 
    yum install php php-bcmath php-cli php-gd php-mbstring php-mcrypt php-mysql
    /etc/init.d/httpd restart
    Upgrading :
    Let's upgrade PHP to 5.3.2 using remi repo
    Code: 
    yum --enablerepo remi update php
    /etc/init.d/httpd restart
    APC :
    Code: 
    yum --enablerepo remi install php-devel
    yum --enablerepo remi install php-pecl-apc
    /etc/init.d/httpd restart
    SuHosin :
    Let's install Suhosin it's so simple :
    Code: 
    yum install gcc
    yum install make (some VPS it's not installed by default)
    cd /opt
    wget http://download.suhosin.org/suhosin-0.9.31.tgz
    tar -xf suhosin-0.9.31.tgz
    cd suhosin-0.9.31
    phpize
    ./configure
    make
    make install
    echo 'extension=suhosin.so' > /etc/php.d/suhosin.ini
    /etc/init.d/httpd restart
    Now lets test suhosin if it's installed in shell type the following command :
    Code: 
    php -v
    IonCube Loader :
    1. Download ioncube loader with wget


    Code: 
    tar -xf ioncube_loaders_lin_*.tar.gz
    cd ioncube
    mv loader-wizard.php /var/www/html
    cd ..
    mv ioncube /usr/local/
    now go to http://your_vps_ip/loader-wizard.php
    and follow the instruction there i won't type it here coz it's so simple
    now to let your server work like a charm just do this command
    Code: 
    chown -hR apache:apache /var/www/html
    be careful do this command after uploading your all files in this /var/www/html
    ----------------->><<-----------------
    Optimizing MySQL with my.cnf file
    edit /etc/my.cnf with vi or nano command copy 'n past :
    Code: 
    [mysqld]
    max_connections = 100
    key_buffer = 32M
    myisam_sort_buffer_size = 32M
    join_buffer_size = 1M
    read_buffer_size = 1M
    sort_buffer_size = 2M
    table_cache = 4000
    thread_cache_size = 286
    interactive_timeout = 25
    wait_timeout = 7000
    connect_timeout = 10
    max_allowed_packet = 16M
    max_connect_errors = 10
    query_cache_limit = 2M
    query_cache_size = 12M
    query_cache_type = 1
    tmp_table_size = 16M
    skip-innodb
    [mysqld_safe]
    open_files_limit = 8192
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [myisamchk]
    key_buffer = 64M
    sort_buffer = 64M
    read_buffer = 16M
    write_buffer = 16M
    [mysqlhotcopy]
    interactive-timeout
    that's all
    if u need help post your probs here
    ?eXXed Reviewed by ?eXXed on . [CentOS] LAMP & Suhosin & APC & IonCube Loader & Optimization Hi guys this my first tutorial Hope you like it In this tutorial we will have Fresh CentOS installed on VPS with RAM 512D/1024B . and this is exclusive installation of MySQL (5.1.47 MySQL Community Server (GPL) by Remi) and PHP 5.3.2 By Remi too with Suhosin Extension 0.9.31 & Ioncube Loader & APC for Caching and PHP Optimizing Note: this is what i have installed on my VPS for my site ttrtt.com and it's using 300MB RAM only Let's Start: First Login to your VPS Shell as root copy 'n Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    cool.. thanks for this..

  4.     
    #3
    Member
    Thanks nice One


  5.     
    #4
    Member
    Website's:
    DDLValley.eu
    Nice Tut


  6.     
    #5
    Member
    Yeah Really NICE tutorial

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to install ionCube loader
    By Albert.Nawaro in forum Server Management
    Replies: 4
    Last Post: 8th Mar 2012, 08:20 AM
  2. How to install ionCube PHP Loader on Centos x64
    By cowboyup910 in forum Technical Help Desk Support
    Replies: 3
    Last Post: 20th Aug 2011, 04:50 AM
  3. How to solve 'ionCube PHP Loader ioncube_loader_lin_5.2.so' on VPS
    By desibreaker in forum Server Management
    Replies: 5
    Last Post: 11th May 2011, 04:34 PM
  4. How TO INSTALL Ioncube loader??
    By ipowerz in forum Server Management
    Replies: 7
    Last Post: 13th Dec 2010, 01:02 PM
  5. Ioncube Loader AutoInstaller
    By GoonzNetwork in forum Technical and Security Tutorials
    Replies: 6
    Last Post: 27th Apr 2010, 01:49 PM

Tags for this Thread

BE SOCIAL