Skip to content

Instantly share code, notes, and snippets.

@AlexSysadmin
Created August 9, 2014 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexSysadmin/e0ae04c1254084479542 to your computer and use it in GitHub Desktop.
Save AlexSysadmin/e0ae04c1254084479542 to your computer and use it in GitHub Desktop.
#!/bin/sh
## bye Alex !!
yum update -y # for all puprposes:D
#install screen to do process in background
yum install -y screen
#First Install Iftop To manage and monitor BW + NEtwork Connections
### +++++[
#update yum packages
yum -y install libpcap libpcap-devel ncurses ncurses-devel
#download iftop source
wget http://src.gnuworld.ir/iftop-0.17.tar.gz
#untar pack
tar -zxvf iftop-0.17.tar.gz
#go to Dir
cd iftop-0.17
#configure
./configure
#make
make
#make and install :D
make install
##### by : ale@directweb.info
cd
#### ] update wont be neccesry but is doesnt Harm any way :D
yum -y install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd
## Download DA !!
wget http://www.directadmin.com/setup.sh
##
## chmod
chmod 755 setup.sh
## setup
screen ./setup.sh
service iptables stop
service iptables start
cd
## CSF install Section
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
#//
cd
echo " CSF NASB SHOD :) "
## install ioncube and zend optimiser FOr DA
cd /usr/local/directadmin/custombuild
./build set zend yes
./build zend
cd
echo"
===============================
Zend NAsb shod
===============================
"
cd /usr/local/directadmin/custombuild
./build set ioncube yes
./build ioncube
cd ~
echo"
===============================
Zend NAsb shod
===============================
"
###
echo"
===============================
Dar inja mitonid check konid ke Zend va IonCube Nasb shodand
===============================
"
php -v
## Turn Off Selinux for sure :D
setenforce 0
csf -e
csf -x
csf -e
csf -r
echo "
=======================================================
dar in marhale az nasb qalebe Capri Null baraye shoma nasb khahad shod
======================================================="
## Install Nulled Cpari Theme
wget http://easyinstall.googlecode.com/files/capri.sh
sh capri.sh
echo "
=============================================
dar in marhale bayad passworde delkhahe Admin Ro vared konid :
============================================="
passwd admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment