ÖNCELİKLE..
the Ubuntu 8.10 server CD, available here:
[Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] (i386)
or
[Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız] (x86_64)
CD MİZİ YERLEŞTİRİP CD DEN BOOT EDİYORUZ
ARDINDAN INSTALL UBUNTU SERVER SEÇİYORUZ
DİL SEÇİYORUZ
BÖLGEMİZİ SEÇİYORUZ
KEYBOARD AYARLARI İÇİN YES SEÇİYORUZ..
BİR HOSTNAME İSMİ GİRİYORUZ MESELA SERVER 1
Guided - use entire disk SEÇİYORUZ
ARDINDAN YES E TIKLIYORUZ
FORMATLAMA BAŞLIYOR
BİR USER İSMİ GİRİYORUZ Administrator GİBİ
TEKRAR Administrator YAZIYORUZ
VE BİR ŞİFRE GİRİYORUZ
ŞİFREYİ TEKRAR GİRİYORUZ
NO SEÇİYORUZ
BOŞ BIRAKIP DEVAM EDİYORUZ
OTOMATİK UPDATE LERİ KAPALI YADA AÇIK YAPABİLİRSİNİZ
OPEN SSH SERVER SPACE BAR İLE SEÇİLİ YAPIP TAB İLE CONTINUE SEÇİYORUZ
İŞLEM BİTİNCE CONTINUE SEÇİP ENTER LIYORUZ CD MİZİ ÇIKARIP REBOOT ETMESİNİ BEKLİYORUZ..
REBOOT SONRASI
Kod:
apt-get install ssh openssh-server
Kod:
apt-get install vim-nox
Kod:
vi /etc/network/interfaces
BURDA GEREKLİ AĞ AYARLARIMIZ YAPIYORUZ
Kod:
# 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
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
ARDINDAN NETWORK U YENİDEN BAŞLATIYORUZ
Kod:
/etc/init.d/networking restart
HOST YARATMAK GEREKİRSE ÖRNEK OLARAK ŞU ŞEKİLDE YARATIYORUZ
Kod:
127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Kod:
echo server1.example.com > /etc/hostname
/etc/init.d/hostname.sh start
Kod:
hostname
hostname -f
APT-GET SOURCES LIST UPDATE İÇİN
Kod:
vi /etc/apt/sources.list
Kod:
#
# deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release i386 (20081028.1)]/ intrepid main restricted
#deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release i386 (20081028.1)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ intrepid universe
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://de.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://de.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://de.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu intrepid partner
# deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
ARDINDAN
VE DEFAULT SHELL DEĞİŞTİRİYORUZ
Kod:
ln -sf /bin/bash /bin/sh
APPARMORR U DİSABLE EDİYORUZ (FİREWALL KAPATIYORUZ)
Kod:
/etc/init.d/apparmor stop
update-rc.d -f apparmor remove
apt-get remove apparmor apparmor-utils
GEREKLİ BAZI SOWFTWARE LERİ KURALIM
Kod:
apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential
APACHE KURABİLİRİZ
Kod:
apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert
Kod:
apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
DIRECTORY INDEXLINE DEĞİŞTRELİM
Kod:
vi /etc/apache2/mods-available/dir.conf
Kod:
<IfModule mod_dir.c>
#DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
</IfModule>
APACHE MODEULELERI AKTİF EDELİM
Kod:
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
VE APACHE YENİDEN BAŞLATIYORUZ
Kod:
/etc/init.d/apache2 restart
Kod:
[...]
#application/x-ruby rb
[...]
Kod:
/etc/init.d/apache2 restart
İŞLEM TAMAMDIR
GÜLE GÜLE KULLANIN
[Değerli Ziyaretci, linki görmeniz icin bu mesaja cevap yazmanız gerekiyorÜye olmak icin burayı tıklayınız]
ALINTI YAPACAK ARKADAŞLAR TURK-DREAMWORLD VE MISTERROBOTTO ADLARINI KULLANIRLARSA ALINTILARINDA SEVİNİRİM...
HERKESE HÜRMETLER.......
Paylaş