.
...
:
1- ...
2- ...
3- ...
4- ...
5- ...
6- CPanel ...
7- ...
8- ...
9- ...
10- ...
11- ...
...
http://www.best-sec.net/t97.html
.
...
:
1- ...
2- ...
3- ...
4- ...
5- ...
6- CPanel ...
7- ...
8- ...
9- ...
10- ...
11- ...
...
http://www.best-sec.net/t97.html
:
.
:
: IP .
.
:
( ) ( )
.
:
Forums PHP
aspx Windows .
80 1 .
cpu .
.
VPS :
: VPS
: VPS
virtual private server .
:
1- VPS : 90 % .
2.4 2 250 1.1 1 40 .
: VPS
: :
http://www.parallels.com/en/products/virtuozzo
, openvz www.openvz.org
2- VPS : ( ) . .
: Microsoft Virtual Server .
.
:
.
.
:
: .
:
. .
. VPS . { ...
VPS . .
( ) :
.
.
10 30 load . .
[ ] !
(Open Source) Multi-user Multitask Virtual Memory Shared libraries TCP/IP.
. " " 1990 UNIX minix. 1991 "" newsgroups . .
Linux ( "" ) General Public Licensee (GPL) . GPL . C/C++ . .
UNIX . .
. x86 I64 SPARC Sun DEC Alpha, Motorola, PowerPC, RISC, SGI, StrongARM, MIPS . .
NT Win2000 Solaris OS/2 Mac HP-UNIX UNIX. .
UNIX GNU . WINE Windows . DOS . Virtual Machine .
ȡ Hardware FM PCMCIA USB Scanner .
. . () . . MP3 Player . . .
. GNOME KDE. customization . .
. IBM Via Voice . Corel Corel Linux Corel Draw 8 Word Perfect . Sun JAVA Star Office (Office Suits) . Quake 3 Civilization Tycoon .
. . ɡ . .
... ! . . McAfee 58000 80 . VBScript . . . I LOVE YOU VBScript ! .
. This program has performed an Illegal Operation and it will Shut Down General Fault Error ̡ ! . . . restarting . 20% 20% . !
. . ϡ .
. . 30% Web Servers Apache Server . 30 .
CentOS 5
http://mirror.centos.org/centos/5/isos/
Enter
skip
forward
edit
forward
Customize now
Next
Desktop Environ ments Gnome KDE
servers
FTP Server, Mail Server, MySQL Database,web server
FTP server ftp
mail server
MYSQL SERVER mysql
web server
(lanuages)
arabic support
NEXT
NEXT
Contenu
?
30
Reboot
1-firewall disabled
Selinux-2 disabled
3-
4-
5-
6- fnish
7- OK
PHP:
yum install php-mysql
PHP:
y
PHP:
y
PHP:
rm /etc/httpd/conf.d/welcome.conf
PHP:
service httpd start
service mysqld start
service vsftpdd start
PHP:
ntsysv
httpd , mysqld , vsftpd
OK ok
phpmyadmin
PHP:
cd /var/www
PHP:
chown -R root:root /var/www
PHP:
cd html
PHP:
wget http://mesh.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.10.1-all-languages.tar.gz
PHP:
tar zxvf phpMyAdmin-2.10.1-all-languages.tar.gz
PHP:
mv phpMyAdmin-2.10.1-all-languages phpmyadmin
PHP:
chown -R root phpmyadmin/
PHP:
chown -R root:root phpmyadmin/
PHP:
cd phpmyadmin
PHP:
mv config.sample.inc.php config.inc.php
PHP:
nano config.inc.php
auth_type
****ie http
PHP:
ctrl + x
PHP:
enter
http://localhost/phpmyadmin
phpmyadmin
PHP:
rm phpMyAdmin-2.10.1-all-languages.tar.gz
PHP:
y
phpmyadmin
Privieges
password
Go
Privileges
:root
webmin
PHP:
cd /usr/local
webmin
PHP:
wget http://puzzle.dl.sourceforge.net/sourceforge/webadmin/webmin-1.350.tar.gz
PHP:
tar zxvf webmin-1.350.tar.gz
PHP:
cd webmin-1.350
PHP:
./setup.sh
Config file directory [/etc/webmin]:
enter
Log file directory [/var/webmin]
enter
Full path to perl (default /usr/bin/perl):
enter
Web server port (default 10000):
enter 10000
Login name (default admin):
admin
admin enter
enter
PHP:
Login password
:
PHP:
enter
PHP:
Password again:
enter
Use SSL (y/n):
PHP:
y enter
PHP:
Start Webmin at boot time (y/n):
PHP:
y enter
:
https://root.smartman:10000/
smartman
http://root.computername:10000
computername
https://10.0.0.1:10000
10.0.0.1
(vitrual private server)
vitrual private server . ...
:
PowerEdgeTM SC440.
\
.
/
PowerEdge TM SC1430
.
10 20 .
/
PowerEdge TM 840
PowerEdge TM 1900
/
PowerEdgeTM 2900ʡ ʡ ʡ / ɡ ʡ
PowerEdge TM 6800Unix
.
Usage
----------------------------------------------------------------------------------
(doublecated)SAN HPCC
--------------------------------------------------------------------------------------------------
(dedacted )
80% ....
... ...
- 1U
- 1U
- 1U
- 2U
- 4 U
PowerEdgeTM SC1435
1U
64-bit AMD Opteron L2 1 2.80
1Uɡ
Intel Xeon 3200 1.86 Intel Xeon 3000 2.66 Intel Pentium D 2.80 Intel Celeron D 2.80
PowerEdgeTM 1950ʡ ȡ SAN HPCC ʡ
1U
Specifications -
Intel Xeon 64 L2 24 2.66
PowerEdgeTM 2950
2U
/
Intel Xeon 64 L2 24 2.66
PowerEdgeTM 2900
Intel Xeon 5300 64 2.66
PowerEdgeTM 2970/ . .
Usage
AMD OpteronTM 64 2200 L2 3.0
PowerEdge TM 6850Unix
64- Intel Xeon 7100 MP L3 16 3.40
PowerEdge TM 6950Unix
4 U
Usage AMD OpteronTM 8200 2.8 ( )
Specifications -
( )
cPanel
http://cpanel.net/index.html
cPanel
cPanel
:
- 3 500
- 10
- 256 .
:
0.1 /
50 /boot
0.1 tmp
0.1 /usr
0.1 /var
home
:
1) SSH root
2) :
Code:
mkdir /home/cpins
3) :
Code:
cd /home/cpins
4) :
Code:
wget http://layer1.cpanel.net/latest
5) :
Code:
sh latest
30 45 ... ...
(( 2.8 33 ))
DONE .
ctrl c .
SSH Linux
pwd :
Code:
pwd
ls :
Code:
ls
Code:
ls -al
Code:
ls alR
.html
Code:
ls *.html
cd /foldername
Code:
cd /home
cd ..
:
Code:
cd /home/best-sec
best-sec home
Code:
cd ..
Code:
clear
:
: Read Write execute : Owner Group everyone .
chmod Owner Group Everyone .. :
PHP:
0 = --- No permission
1 = --X Execute only
2 = -W- Write only
3 = -WX Write and execute
4 = R-- Read only
5 = R-X Read and execute
6 = RW- Read and write
7 = RWX Read, write and execute
(0) Group Telnet FTP
:
PHP:
chmod 655 [filename] :
chmod 604 [filename] : Html
chmod 705 [directory name] :
chmod 755 [filename] :
chmod 606 [filename] :
chmod 703 [directory name] : Public FTP
.zip File.zip :
Code:
unzip file.zip
.tar file.tar :
Code:
tar -xvf file.tar
.gz file.gz :
Code:
gzip -d file.gz
.tar.gz file.tar.gz :
Code:
gzip -d file.tar.gz
:
Code:
tar -xvf file.tar
pico : Index .
Code:
pico /home/best-sec/public_html/index.html
.
Code:
rm
rm filename.txt : Confirmation
rm -f filename.txt : .
.
Code:
last
.
Code:
w
.
Code:
netstat
IP Port .
Code:
netstat -an
live system processes Uptime
Code:
top
top Shift + M
CPU top Shift + P
Disk usage.
Code:
du
.
Code:
du -sh
cp :
Code:
cp filename filename.backup
filename.backup
Code:
exit
...
:
Code:
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n