You are on page 1of 27

:

) (

Cair3x

HUrr!c4nE :

: 1 Centos 6

: 2 Apache

: 3 PHP

: 4 MySQL

: 5 PhpMyadmin

: 6 LightHttpd

: 7 Cpanel

AjaxTm.com

Ajax Security Team

: 8 LiteSpeed
: 9 : CSF

AjaxTm.com

Ajax Security Team

: Centos 6

Centos 6 .
: 1 CentOs 6 .
: 2 Install Or Upgrade an Esisting
Sysyem

: 3 Cent OS
Skip .

AjaxTm.com

Ajax Security Team

Tab .
: 4 .

: 5 .

AjaxTm.com

Ajax Security Team

: 6 .

: 7
. Basic Storage Type .

AjaxTm.com

Ajax Security Team

: 8
. Re-initialize .

AjaxTm.com

Ajax Security Team


: 9 CentOs
.

: 10 .

AjaxTm.com

Ajax Security Team


: 11 .
Root .

: 12 .
Encrypt System . Review
And Modify Partitioning Layout .
.
.

CentOs
.

.

AjaxTm.com

Ajax Security Team


.
.

: 13
.

AjaxTm.com

Ajax Security Team


: 14 .

: 15 Write Changes To Disk .

AjaxTm.com

Ajax Security Team


: 16 .
.

: 17 CentOs .
Minimal .
.
.

AjaxTm.com

Ajax Security Team

: 18 CentOs .

: 19 CentOs .

AjaxTm.com

Ajax Security Team

: 20 .

: 21
.

AjaxTm.com

Ajax Security Team


:
Yum Update

: 22 .

AjaxTm.com

Ajax Security Team

Apache

PuTTY root
) ( .
yum update
: Apache
Apache :
yum install httpd
:

chkconfig httpd on
name-based 80 :
etc/httpd/conf/httpd.conf
Name VirtualHost : 80 ) # ( .
Apache
httpd :

AjaxTm.com

Ajax Security Team


service httpd restart
.

PHP

PHP :
Yum Install PHP
PHP .
PHP Php.ini :
Etc/php.ini
: :
Whereis php.ini
. PHP .
: memory_Limit : 1 PHP .

AjaxTm.com

Ajax Security Team


: Max_Execution_Time : 2 PHP
.
: Max_Upload_Size : 3 PHP .
: Safe_Mode :4 ) (
: Disable_Functions : 5 .
Symlink .
Service Httpd Restart
.
PHP Apache :
>? ;)(<?php phpinfo
. PHP .

MySQL

MySQl :
Yum Install Mysql-server mysql php-mysql

AjaxTm.com

Ajax Security Team



Chkconfig mysqld on
Mysql Service Mysqld Start .
: root mysql
.
Mysql u root Mysql .
Mysql :
;)'SET PASSWORD FOR 'root' @ 'localhost' = PASSWORD('Your Mysql Password
Your Mysql Password .


:
;'DROP USER '' @ 'localhost
MySQL PhpMyadmin
. PhpMyadmin .

AjaxTm.com

Ajax Security Team

PhpMyadmin

PhpMyadmin .
PhpMyadmin :
Rpm Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epelrelease-5-4.noarch.rpm
:
Yum Install phpmyadmin
Http://localhost/phpmyadmin
root .

AjaxTm.com

Ajax Security Team

LightHttpd

.
: 1 SSH .
: 2 )( :
Service httpd Stop
: 3 LightHttpd :
Yum install lighttpd

:
Service lighttpd start
: 4 fst-cgi :
yum install lighttpd-fastcgi php-cli
php.ini : 5
cgi.fix_pathinfo= 0 1 .
: 6 etc/lighttpd/ :
Cd /etc/lighttpd
wget http://redmine.lighttpd.net/attachments/1082/lighttpd.conf

AjaxTm.com

Ajax Security Team


lighttpd
Restart :
service lighttpd restart

Cpanel

Cpanel .
: 1 Selinux
: 2
: 3 Cpanel
Selinux :
nano /etc/selinux/config
Selinux = Enabled Disabled .
Ctrl + X Y Enter .
Package Cpanel
. :

AjaxTm.com

Ajax Security Team


"Yum groupremove "FTP Server" "Gnome Desktop Environment
""KDE (K Desktop Environment)" "Mail Server" "Mono" "Web Server
""X Window System
Home Wget Cpanel .

cd /home
wget -N http://httpupdate.cpanel.net/latest sh latest
Sh Install.sh .

LiteSpeed


.
.
.

AjaxTm.com

Ajax Security Team


SSH Root
.
Cd /root
Wget http://LinkFile.tar.gz
:
http://www.litespeedtech.com/litespeed-web-server-downloads.html
:
tar -zxf Filename.tar.gz
Filename.tar.gz .

.
cd lsws-4.0.10
wget linkdownload.com/trial.key
. .
1 .
.
http://litespeedtech.com/trial/license
:
./install.sh

AjaxTm.com

Ajax Security Team


: 1 ctrl + q Yes ...
: 2
: 3 .
: 4 .
PHP suEXEC : 5
: 6 .
WHM
Building PHP PHP .
: Building PHP PHP
MySQL .
.

AjaxTm.com

Ajax Security Team

CSF

CSF .
root SSH
.
Wget www.configserver.com/free/csf.tgz
.
Tar xzf csf.tgz
Cd /csf
sh install.sh .

.
1 .

.... .

-

AjaxTm.com

Ajax Security Team

AjaxTm.com

Ajax Security Team

You might also like