Archives
-
HOWTO:_Quick_n’_Dirty_IPTables-Based_Firewall — For your OpenVZ based VPS
Abstract The following is a Quick n’ Dirty method at implementing a very simple firewall. This HOWTO is a general compilation of suggested tips for a firewall. Let’s Get Dirty Locate IPTables Depending on your VPS, first locate iptables: [root@vps /]# which iptables Create IP Based Accept/Deny Create a whitelist (IP passes through firewall) or [...]
Yorumlar KapalıŞub 25th, 2010 | Filed under Kategorisiz Yazilar -
rinetd – harika bir olay – redirects TCP connections from one IP address and port to another
olay: acil olarak server , lokasyon ve ip degistirmek gerekti. durum: eski serverda calisan pek cok domain, web , mail var – aktarim kolay – ancak kisa surede yeni serverda yeni ipde devam etmek istiyoruz normal prosedur : eski serverdaki servisleri durdur. Yedek al – Yedekleri yeni servera aktar – yukle – calistigindan emin olunca [...]
Yorumlar KapalıŞub 25th, 2010 | Filed under Kategorisiz Yazilar -
SeedBox Setup – MyWay
yeni bir seedbox kurmam gerekiyordu. Dokumanlari okudum vs vs hic birisi isime gelmedi. Bende kendi yolum ile kurdum seedboxumu. Ubuntu 9.10 server karmic +Xfce4 + vnc + utorrent. Basitce soyle yaptim: 1- Box config: e7500 core2duo cpu + 2gb ram + 2x500gb sata II HDD Ubuntu karmic server kurulur. /boot icin 200 mb ayrilir, swap [...]
Yorumlar KapalıŞub 21st, 2010 | Filed under Kategorisiz Yazilar -
$cp ustune bir yazi
160gb onemli kullanici datasi iceren bir /home dizinini yeni bir diske kopyalamam gerekti. ilk komut su idi: $cp -Rp /home/* /home2/ yani cp -R – dizinleri recursive olarak kopyala- p – same as –preserve=mode,ownership,timestamps ———- /home altina o an icin okuma yazma islemleri devam ettiginden ve disklerde oldukca yavas oldugundan 7 8 saat sonra islem [...]
Yorumlar KapalıŞub 21st, 2010 | Filed under Kategorisiz Yazilar -
How To Convert Physical Systems And Xen VMs Into OpenVZ Containers (Debian Etch)
2 adet link verelim: 1- http://howtoforge.com/how-to-convert-physical-systems-and-xen-vms-into-openvz-containers-debian-etch 2- http://www.montanalinux.org/physical-to-virtual.html 2nin iceriginide basalim.. OpenVZ and KVM are Linux based virtualization programs, both are part of the Proxmox VE distribution. The goal of this article is to provide some knowledge on moving physical machines to virtual containers (OpenVZ) or fully virtualized machines (KVM). This article is not specific [...]
Yorumlar KapalıŞub 19th, 2010 | Filed under Kategorisiz Yazilar -
20 Linux System Monitoring Tools Every SysAdmin Should Know
Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed [...]
Yorumlar KapalıŞub 8th, 2010 | Filed under Kategorisiz Yazilar -
find ek – Find files by access, modification date under Linux or UNIX
Q. I don’t remember where I saved pdf and text files under Linux. I have downloaded files from internet a few months ago. How do I find my pdf files? A. You need to use find command. Each file has three time stamps, which record the last time that certain operations were performed on the [...]
Yorumlar KapalıŞub 8th, 2010 | Filed under Kategorisiz Yazilar -
up 165 days, 13:20
dns:~# cat /etc/debian_version 5.0.2 dns:~# uptime 04:52:48 up 165 days, 13:20, 1 user, load average: 0.07, 0.04, 0.00 dns:~# uname -a Linux dns 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux dns:~# free -m total used free shared buffers cached Mem: 1139 758 380 0 83 519 -/+ buffers/cache: 155 984 Swap: 360 [...]
Yorumlar KapalıŞub 4th, 2010 | Filed under Kategorisiz Yazilar