LowEndScript Ile GNU/Debian ve Ubuntu Sunucu Konfigürasyonu

Bu yazımızda sizlere GNU/Debian ve Ubuntu tabanlı sunucularınız için, ilk sistem kurulumundan sonra sizin yerinize gerekli ayarlamarı yapan LowEndScript programını tanıtacağım.LowEndScript sizin yerinize gerekli ayarlamarı yapan ufak bir bash scripttir.

Script özelliklerinden bahsetmemiz gerekirse eğer;

  • dropbear (SSH)
  • iptables (firewall)
  • dash (replaces bash)
  • syslogd
  • vim, nano, mc, htop, iftop & iotop

programlarını sizin yerinize yükler ve gereksiz servisleri sizi hiç zahmete sokmadan otomatik olarak kaldırır.

Gelin script kurulumuna hep birlikte geçelim.

Öncelikle sunucumuza root olarak giriş yapalım ve aşağıdaki komut ile dosyayı sunucumuza indirelim.

 wget --no-check-certificate https://raw.github.com/Xeoncross/lowendscript/master/setup-debian.sh
root@test:~# wget --no-check-certificate https://raw.github.com/Xeoncross/lowendscript/master/setup-debian.sh
--2016-01-14 19:01:17--  https://raw.github.com/Xeoncross/lowendscript/master/setup-debian.sh
Resolving raw.github.com (raw.github.com)... 185.31.17.133
Connecting to raw.github.com (raw.github.com)|185.31.17.133|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/Xeoncross/lowendscript/master/setup-debian.sh [following]
--2016-01-14 19:01:19--  https://raw.githubusercontent.com/Xeoncross/lowendscript/master/setup-debian.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.31.17.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.31.17.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34826 (34K) [text/plain]
Saving to: ‘setup-debian.sh’

100%[======================================>] 34,826      --.-K/s   in 0s

2016-01-14 19:01:20 (390 MB/s) - ‘setup-debian.sh’ saved [34826/34826]

root@test:~#

Çalışması için gereken yetkiyi verelim.

chmod +x setup-debian.sh

Scripti çalıştıralım.

./setup-debian.sh system

Saat ayarlaması için önce Avrupa ve sonrasında İstanbul geçelim.
Enter tuşuna basarak devam edelim.

LowEndScript tzdata Area
LowEndScript tzdata Country
Current default time zone: 'Europe/Istanbul'
Local time is now:      Thu Jan 14 19:03:16 EET 2016.
Universal Time is now:  Thu Jan 14 17:03:16 UTC 2016.

portmap is not installed
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  rsyslog* ubuntu-minimal*

Script bizim için gerekli güncellemeleri ve ayarlamarı yapmaya başlayacaktır. Bu işlem sunucu özelliklerine ve hat çıkışınıza bağlı olarak biraz uzun sürebilir.

Script gerekli kurulumları gerçekleştirdikten ve işlem bittikten yeni kurulmuş ve sadece LowEndScript ile ayarlanmış sunucumdaki ram kullanımına birlikte bakalım.

LowEndScript htop

Görüldüğü gibi script uygulandıktan sonra Ubuntu 14.04 sistem sadece 92MB ram tüketimi yapmakta.

Yorum yapın