my own log

Just a thought and log of my life

Archive for the ‘server’ tag

Removing a lot of file with rm

with one comment

Ever trying to remove a lot of file like this ?

[root@blah]# ls -l log/ | wc -l
2041335

It wont work if you just remove it with rm because there will be an error message (i.e. /bin/rm: Argument list too long). So how to remove it ?? I use this command to remove it

[root@blah]# find ./ -name ‘msg.*’ | xargs rm -fv

I’m using msg.* becasue the filenames I want to remove begin with msg.. You can vary it depend on your need.

source of inspiration

Popularity: 15% [?]

Written by Yuda

Juli 16th, 2009 at 2:25 pm

Posted in daily, percobaan

Tagged with , , , ,

Infected by a Rootkit

with 10 comments

Kalau mengutip dari wikipedia rootkit artinya :

A rootkit is a program (or combination of several programs) designed to take fundamental control (in Unix terms “root” access, in Windows “Administrator” access) of a computer system, without authorization by the system’s owners and legitimate managers.

Read the rest of this entry »

Popularity: 27% [?]

Written by Yuda

Juli 25th, 2008 at 2:32 pm

FTP server di debian menggunakan vsftpd

without comments

Untuk membuat ftp server di debian salah satunya bisa menggunakan vsftpd. Ftp server yang satu ini bisa dibilang ftp server yang ringan dan mudah dikonfigurasi. Vsftpd memungkinkan untuk anonymous user dan non-anonymous user untuk login bersamaan.

Sebelum memulai mengkonfigurasi install terlebih dahulu vsftpd di mesin anda. Untuk pengguna debian/ubuntu silahkan ketikkan kata sakti di terminal anda

apt-get install vsftpd

Setelah terinstall baru kita lakukan konfigurasi. File konfigurasi vsftpd di debian/ubuntu ada di /etc/vsftpd.conf, silahkan buka dengan editor teks favorit anda. Nah, disini saya copy-paste (salin-tempel) saja konfigurasi vsftpd saya yang memungkinkan user anonymous dan non-anonymous bisa login bersamaan.

Read the rest of this entry »

Popularity: 35% [?]

Written by Yuda

Juli 17th, 2008 at 10:37 am

Posted in GNU/Linux, percobaan

Tagged with , , ,