Rabu, 29 September 2010

complete your ubuntu


Get your system up to date with :

sudo aptitude update && sudo aptitude full-upgrade

ClamAV

sudo aptitude install clamav clamtk
wget http://files.avast.com/files/linux/avast4workstation_1.3.0-2_i386.deb && sudo dpkg -i avast4workstation_1.3.0-2_i386.deb


3 รข?? Essential tools for compiling from sources

sudo aptitude install build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check avahi-daemon


sudo aptitude install sun-java6-jre sun-java6-plugin equivs

sudo aptitude install vlc mplayer
sudo aptitude install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev

Gstreammer 0.10

sudo aptitude install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly-multiverse totem-gstreamer

* More programs

sudo aptitude install gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras

* Enable dvd support

sudo aptitude install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh

* Flash

sudo aptitude install gsfonts gsfonts-x11 flashplugin-nonfree

start up
sudo aptitude install simple-ccsm


sudo aptitude install wine playonlinux

rar
sudo aptitude install unace rar unrar zip unzip p7zip-full p7zip-rar sharutils uudeview mpack lha arj cabextract file-roller

download
sudo aptitude install multiget
sudo aptitude install azureus

GIMP

Add the launchpad repository :
sudo add-apt-repository ppa:matthaeus123/mrw-gimp-svn && sudo aptitude update

Then install it with the following command :
sudo aptitude install gimp gimp-data gimp-plugin-registry gimp-data-extras

PINTA image editor

Add the launchpad repository :
sudo add-apt-repository ppa:moonlight-team/pinta && sudo aptitude update

Then install it with the following command :
sudo aptitude install pinta

mount image
sudo aptitude install libksba8 libenca0 libtwolame0 fuseiso kommander p7zip-full gnupg-agent gnupg2 pinentry-qt mencoder cdrdao && wget http://darkstar.ist.utl.pt/getdeb/ubuntu/jaunty/ac/acetoneiso_2.1.1-1~getdeb1_i386.deb && sudo dpkg -i acetoneiso_2.1.1-1~getdeb1_i386.deb


desktop
sudo aptitude install google-gadgets-gtk
sudo aptitude install google-desktop-linux

Ubuntu Tweak
sudo add-apt-repository ppa:ubuntu-tweak-testing/ppa && sudo aptitude update
sudo aptitude install ubuntu-tweak Read More..

Langkah-langkah setting Gmail pada MS. Outlook 2007

Langkah-langkah setting Gmail pada MS. Outlook 2007:

1. Login ke gmail.com > Setelan> Penerusan dan POP/IMAP, tandai Aktifkan POP, tandai misal Fungsikn POP untuk semua emil (bahkan email yang telah didownoad), simpan perubahan. Tinggalkan gmail.

2. Buka aplikasi Microsoft Outlook 2007> Tools> Account setting> New>

- pastikan tandai radio button pada Microsoft Exchange, POP, IMAP, or HTTP klik Next

- biarkan kosong kolom-kolom yang ada, tandai Manually configure server settings or additional server type, klik Next

- pastikan tandai Internet E-mail klik Next

- Your name: isi dengan nama yang ingin dimunculkan

- E-mail address: isi dengan alamat gmailmu misal punyamu@gmail.com

- Account type: POP3

- Incoming mail server: pop.gmail.com

- Outgoing mail server: smtp.gmail.com

- Username: ID punyamu (otomatis teriisi jika sudah mengisi alamat email)

- Password: password gmailmu untuk login

- Tandai Require log on using secure password authentication (SPA)

- Klik More Setting

- Otomatis sudah ada nama account sesuai alamat email, bisa diganti sesuai kebutuhan, misal dengan username saja atau biarkan saja apa adanya jangan klik OK dulu lakukan setting berikutnya

- Klik Outgoing server, tandai My outgoing server (SMTP) requires authentication, tandai Use same setting as my incoming mail server, jangan klik OK dulu, lakukan setting berikutnya

- Klik Advanced , tandai This server requires an encrypted connection (SSL) maka otomatis Incomimg server (POP3): berubah nilai menjadi 995 , pada outgoing server (SMTP): ganti angka 25 menjadi 465

- Use the following type of encrypted connection: asalnya adalah None, klik lalu ganti dengan SSL

- Tandai Leave a copy of message on the server

- Klik OK

- Klik Next> klik Finish

- Close, akan kembali ke halaman awal MS Outlook

Jika memakai koneksi dial-up dan tidak selalu terhubung internet sebaiknya gunakan koneksi manual saja dengan menonaktifkan schedule otomatis untuk send/receive dengan cara:

Buka aplikasi MS outlook> Tools> Options> Mail Setup> klik tombol Send/Receive> hilangkan tanda centang pada Schedule an automatic send/receive every … minutes > Close> Apply >OK

Cara mengecek dan mendowload email yang masuk:

- Pastikan komputer telah terhubung dengn internet dan sudah bisa untuk browsing,

- buka apilkasi MS Outlook> klik ikon Send/Receive (gambar amplop dobel), tunggu sampai proses selesai. Akan tanpak pada Inbox jika ada email yang masuk.


Read More..

Senin, 02 November 2009

Ubuntu 9.10

Ubuntu 9.10








Available for Desktop, Netbook and Server






Email and chat

Chat with friends and colleagues through Empathy which integrates: Yahoo, Gmail, MSN, Jabber, AOL, QQ and many more.



Evolution gives you email, an address book and a calendar and works well with colleagues and friends using MS Outlook.






Browse the Internet

Ubuntu includes Mozilla Firefox 3.5 for faster and safer browsing.



For a choice of other open-source web browsers visit the Software Centre and take your pick.






Photos

Upload from your camera or phone to F-Spot.



Manage, tag, share and sort your photos.



Upload easily to your favourite social network or photo-sharing sites inlcuding: Flickr, Facebook, Picassa and many others.





Music and videos

Plug in your PSP, iPod, MP3 player and use Rythmbox to download, store, buy and play music.




Share playlists with your friends.



Access Last.fm directly through Rythmbox to stream your favourite music.



Stream and play video from YouTube, BBC and others.





Office applications

Create professional documents, spreadsheets and presentations with OpenOffice.org 3.0.



OpenOffice.org is compatible with all office applications including Microsoft Office.




The big difference is that OpenOffice.org is free (and promises never to introduce Mr Clippy)





Play games

Over 400 completely free and completely cool games. Solitaire is not the only game in town.



Visit the Software Centre to easily browse, select and install games.





Store, sync and share

Instant access to thousands of free and open-source applications




Categories include: Education, Games, Sound and Video, Graphics, Programming and Office.



Simply select the applications you want to use and the Software Center will add them to your computer



No CDs, no licenses, no hassle.





Software Center

Instant access to thousands of free and open-source applications



Categories include: Education, Games, Sound and Video, Graphics, Programming and Office.




Simply select the applications you want to use and the Software Center will add them to your computer



No CDs, no licenses, no hassle.





Accessibility

At the core of the Ubuntu philosophy is the belief that computing is for everyone and whatever your circumstances. Ubuntu is one of the most accessible operating systems around and is fully translated into 23 languages with many more to follow.

Read More..

Kamis, 29 Oktober 2009

firewall freeBSD

Definisi Firewall :
adalah sebuah sistem atau perangkat yang mengizinkan lalu lintas jaringan yang dianggap aman untuk melaluinya dan mencegah lalu lintas jaringan yang tidak aman. Umumnya, sebuah tembok-api diterapkan dalam sebuah mesin terdedikasi, yang berjalan pada pintu gerbang (gateway) antara jaringan lokal dan jaringan lainnya. Tembok-api umumnya juga digunakan untuk mengontrol akses terhadap siapa saja yang memiliki akses terhadap jaringan pribadi dari pihak luar. Saat ini, istilah firewall menjadi istilah lazim yang merujuk pada sistem yang mengatur komunikasi antar dua jaringan yang berbeda. Mengingat saat ini banyak perusahaan yang memiliki akses ke Internet dan juga tentu saja jaringan berbadan hukum di dalamnya, maka perlindungan terhadap modal digital perusahaan tersebut dari serangan para peretas, pemata-mata, ataupun pencuri data lainnya, menjadi hakikat.



Syntax Firewall
IPFW :
COntoh :
Ipfw show : melihat perintah berjalan di firewall
ipfw 90 deny ip from 192.168.66.20 to any : Mengeblok ip 192.168.66.20
ipfw delete 90 : menghapus perintah ipfw dibaris 90
 Drop all www traffic from a network
– ipfw add deny tcp from 12.12.12.0/24 to www.ubc.ca 80
 Drop all telnet traffic from a bad host
– ipfw add deny tcp from bad.host.com to my.host.com 23
 Throw away RFC 1918 networks
– ipfw add deny all from 10.0.0.0/8 to any in via fxp0
– ipfw add deny all from 172.16.0.0/12 to any in via fxp0
– ipfw add deny all from 192.168.0.0/16 to any in via fxp0
 Allow ssh
– ipfw add allow tcp from any to any 22 in via fxp0 setup keep-state
 Limit WWW traffic to 100Mbps
 ipfw pipe 1 config bw 100Mbit/s
 ipfw add pipe 1 ip from any to any dst-port 80
 Prefer ssh to telnet traffic
 ipfw pipe 2 config bw 256kbit/s
 ipfw queue 1 config pipe 2 weight 7
 ipfw queue 2 config pipe 2 weight 3
 ipfw add queue 1 ip from any to any dst-port 22
 ipfw add queue 2 ip from any to any dst-port 23
Security :
1. Port (allow/deny) contoh allow : http port (80), ftp (21), ssh (22), telnet (23) Deny : netbios (port 135 – 139)
2. Arp
Arp -an
Arp -da
arp -f /home/atrih/arp-test
192.168.71.254 00:1b:b9:b2:07:e9
192.168.71.72 00:1c:25:5f:ab:b2
3. Monitoring besar paket (Iftop, ifstat), jenis paket (tcpdump)
4. Subneting (ip calculator)
255.255.240.0 /20
255.255.248.0 /21
255.255.252.0 /22
255.255.254.0 /23
255.255.255.0 /24
255.255.255.128 /25
255.255.255.192 /26
255.255.255.224 /27
255.255.255.240 /28
255.255.255.248 /29
255.255.255.252 /30
5. Ping (-n, -t, l)








Read More..

Posts filed under 'FreeBSD'

Pertama-tama konfigurasi kernel anda agar support pf :


#Packet Filter Options


device pf
device pflog
device pfsync

#Enabling ALTQ


options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Required for SMP build

Berikut konfigurasi yg saya implementasikan pada box FreeBsd saya, buat para admin jaringan yang menggunakan box FreeBsd silahkan anda kopas. Tapi sesuaikan dengan kondisi box sampeyan..



### macros

# internal and external interfaces (ketikan ‘ifconfig’ buat lihat interface)

int_if = “vr0″

ext_if = “rl0″


# Port Yang Boleh Diakses dari Luar Box silahkan sesuaikan



tcp_services = “{ 80, 110, 25, 53, 113, 21}”

udp_services = “{ 53, 1194 }”


# ping requests

icmp_types = “echoreq”


# Private Network, Yg Mau di Blok Traffiknya

priv_nets = “{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }”


### options


set block-policy return

set loginterface $ext_if

set skip on lo0


### Scrub

scrub in all


### nat/rdr

# NAT traffic dari Internal Ke External

nat on $ext_if from $int_if:network to any -> ($ext_if)



# Port Redirector untuk Transparent Proxy & Transparent FTP

rdr on $int_if proto tcp from any to any port 21 -> 127.0.0.1 port 8021

rdr on $int_if proto tcp from any to any port 80 -> 127.0.0.1 port 3128


### filter rules

block all


# Blok Traffik Dari Luar Yang Pake IP Private


block drop in quick on $ext_if from $priv_nets to any


# Blok Trafik dari Luar ke Internal

block drop out quick on $ext_if from any to $priv_nets


# Perbolehkan Akses ke TCP port tertentu

pass in on $ext_if inet proto tcp from any to ($ext_if) \


port $tcp_services flags S/SA keep state


# Perbolehkan Akses ke UDP port tertentu

pass in on $ext_if proto udp to any port $udp_services keep state


# Perbolehkan Akses FTP


pass in on $ext_if inet proto tcp from port 20 to ($ext_if) \


user proxy flags S/SA keep state


# Ping Reply OK

pass in inet proto icmp all icmp-type $icmp_types keep state


# Perbolehkan Traffik dari Internal ke Internal Interface

pass in on $int_if from $int_if:network to any keep state

pass out on $int_if from any to $int_if:network keep state


# Perbolehkan Traffik keluar melalui External Interface

pass out on $ext_if proto tcp all modulate state flags S/SA


pass out on $ext_if proto { udp, icmp } all keep state



Untuk ngecek nat dan konfigurasi anda silahkan gunakan perintah


# pfctl -Fn -Nf /etc/pf.conf

flush rules


# pfctl -f /etc/pf.conf

Dan untuk me-restart pf anda gunakan perintah


# pfctl -NORf /etc/pf.conf

Biar auto start, masukkan script berikut di rc.conf anda :



pf_enable="YES" # Enable PF (load module if required)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_flags="" # additional flags for pfctl startup
pflog_enable="YES" # start pflogd(8)
pflog_logfile="/var/log/pflog" # where pflogd should store the logfile
pflog_flags="" # additional flags for pflogd startup
gateway_enable="YES" # Enable as LAN gateway


Read More..

Rabu, 07 Oktober 2009

Install MySQL Server

First you need to login as root or run su in order to get the required permissions.
Then navigate to the ports folder for MySQL:

cd /usr/ports/databases/mysql50-server

Now run:

make install clean

in order to download and install MySQL.
Once the install is finished we install the databases by running:

mysql_install_db --user=mysql

If you get an error, run rehash in order to update FreeBSD's path environment variables.
Once this is done we want to grant permissions to the mysql user in /var/db/mysql.

chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/

Now we can start MySQL by running:

/usr/local/bin/mysqld_safe -user=mysql &

Since we probably want MySQL to start after a reboot we will drop a line to /etc/rc.conf

echo 'mysql_enable="YES"' >> /etc/rc.conf

By default MySQL's root account has no password, so we need to change it (If we want our system to be somewhat secure). To change the password for root we enter the following command:

mysqladmin -u root password newpassword

...where newpassword is the password of our choice.

Now we can start making use of our new database server.

If you want to tweak your machine there are different configuration files you can use with your MySQL Server depending on load and what it will be used for. They are located in /usr/local/share/mysql and are called:

my-huge.cnf
my-innodb-heavy-4G.cnf
my-large.cnf
my-medim.cnf
my-small.cnf

We make an example with my-medium.cnf and copy it to /var/db/mysql as my.cnf.

cp /usr/local/share/mysql/my-medim.cnf /var/db/mysql/my.cnf
Read More..

Kamis, 29 Januari 2009

Manifesto Hacker

Ada semacam romantisme kenakalan remaja pada budaya hacker. Napas-napas pemberontakan yang memikat. Romantisme tersebut berasal dari idealisme kebebasan dan rasa ingin tahu. Seperti tercermin dalam dokumen 'The Conscience of a Hacker' (Hati Nurani Seorang Hacker) yang dituliskan seorang bernama Lyod Blankenship yang di kalangan undergroun lebih dikenal dengan sebutan The Mentor.
Berikut cuplikan dokumen yang kerap disebut 'Manifesto Hacker' itu :

Inilah dunia kami... dunia elektron dan switch, beauty of the baud. Kalian menyebut kami penjahat... karena kami menggunakan layanan yang sudah ada tanpa membayar, padahal layanan itu seharusnya sangat murah jika tidak dikuasai oleh orang-orang rakus. Kami kalian sebut penjahat... karena kami gemar menjelajah. Kami kalian sebut penjahat... karena kami mengejar ilmu pengetahuan. Kami ada tanpa warna kulit, tanpa kebangsaan, tanpa bias agama... tapi bagi kalian kami penjahat. Kami adalah penjahat... sedangkan kalianlah yang membuat bom nuklir, mengobarkan peperangan, membunuh, berbuat curang, berbohong, dan berusaha membuat kami percaya bahwa itu semua demi kebaikan kami.
Ya, aku adalah penjahat. Kejahatanku adalah keingintahuanku. Kejahatanku adalah menilai orang berdasarkan perkataan dan pikiran mereka, dan bukan berdasarkan penampilan mereka. Kejahatanku adalah menjadi lebih pintar dari kalian, sebuah dosa yang tak akan bisa kalian ampuni.
Aku adalah hacker, dan inilah manifestoku. Kau bisa menghentikan satu, tapi kau tak bisa menghentikan kami semuanya... Bagaimanapun juga, kami semua sama. (The Mentor, 1986)
Read More..
za.IPAN's Blog © 2008. Design by :Yanku Templates Sponsored by: Tutorial87 Commentcute