RSS

Category Archives: Jaringan

Tentang Script Mikrotik..//

Script Mikrotik U/ Menambahkan IP Facebook & Akamai

:foreach i in=[/ip dns cache find] do={
:local bNew “true”;
:local cacheName [/ip dns cache all get $i name] ;
#    :put $cacheName;

:if (([:find $cacheName “facebook”] != 0) || ([:find $cacheName “akamai”] != 0)) do={

:local tmpAddress [/ip dns cache get $i address] ;
#    :put $tmpAddress;

# if address list is empty do not check
:if ( [/ip firewall address-list find ] = “”) do={
:log info (”added entry: $[/ip dns cache get $i name] IP $tmpAddress”);
/ip firewall address-list add address=$tmpAddress list=nice comment=$cacheName;
} else={
:foreach j in=[/ip firewall address-list find ] do={
:if ( [/ip firewall address-list get $j address] = $tmpAddress ) do={
:set bNew “false”;
}
}
:if ( $bNew = “true” ) do={
:log info (”added entry: $[/ip dns cache get $i name] IP $tmpAddress”);
/ip firewall address-list add address=$tmpAddress list=nice comment=$cacheName;
}
}
}
}

Blockir Rapidshare

Script Block Koneksi Rapidshare

/system script \
add name=”block_rapidshare” source={ \
:foreach i in=\
[ :toarray "62.67.46.0/24,62.67.57.0/24,64.214.225.0/24,64.215.245.0/24,80.129.35.0/24, \
80.231.56.0/24,80.239.151.0/24,80.239.159.0/24,80.239.226.0/24,80.239.236.0/24, \
82.129.35.0/24,82.129.36.0/24,82.129.39.0/24,195.122.131.0/24,195.219.1.0/24, \
206.57.14.0/24,207.138.168.0/24,212.162.2.0/24,212.162.63.0/24"] \
do={ /ip firewall filter add chain=forward dst-address=$i dst-port=80 protocol=tcp action=drop } \
};

Atau bisa juga dengan hanya paste cli / rules ini ke new terminal

/ip firewall filter
add action=drop chain=forward comment=”" disabled=no dst-address=62.67.46.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=62.67.57.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=64.214.225.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=64.215.245.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.129.35.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.231.56.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.239.151.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.239.159.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.239.226.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=80.239.236.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=82.129.35.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=82.129.36.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=82.129.39.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=195.122.131.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=195.219.1.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=206.57.14.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=207.138.168.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=212.162.2.0/24 dst-port=80 protocol=tcp
add action=drop chain=forward comment=”" disabled=no dst-address=212.162.63.0/24 dst-port=80 protocol=tcp

Langkah selanjutnya

ip firewall filter add chain=forward content=rapidshare action=drop

Read more: http://www.danangyanto.com/2011/02/blockir-rapidshare.html#ixzz1QjZEJbCc

1. kita bikin queue di queue tree dengan name=STREAM-DOWN untuk parrent=global-in
2. bikin lagi queue di queue tree dengan name=STREAM-UP untuk parrent=global-out
3.membuat mangle pada /ip firewall. dengan menjalankan script seperti di bawah pada terminal

untuk miktrotik v 2.9.xx

:for e from 2 to 11 do={
/ip firewall mangle add chain=prerouting src-address=(192.168.224. . $e) action=mark-connection new-connection-mark=($e . indosatcon )
/ip firewall mangle add chain=prerouting connection-mark=($e . indosatcon ) protocol=!1 action=mark-packet new-packet-mark=($e . indosatflow ) passthrough=no
}

untuk mikrotik v 3.x

:for e from=2 to=11 do={
/ip firewall mangle add chain=prerouting src-address=”192.168.224.$e” action=mark-connection new-connection-mark=”$e. indosatcon”
/ip firewall mangle add chain=prerouting connection-mark=”$e. indosatcon” protocol=!1 action=mark-packet new-packet-mark=”$e. indosatflow” passthrough=no
}

cek pada /ip firewall mangle memastikan bahwa script nya berjalan.

4. kemudian kita buat queue tree nya dengan menjalan kan script seperti di bawah.

untuk mikrotik v 2.9.xx

:for e from 2 to 11 do={
/queue tree add name=(”STREAM-DOWN-” . $e) parent=STREAM-DOWN packet-mark=($e. indosatflow)
/queue tree add name=(”STREAM-UP-” . $e) parent=STREAM-UP packet-mark=($e. indosatflow)
}

untuk mikrotik v 3.xx

:for e from=2 to=20 do={
/queue tree add name=”STREAM-DOWN-.$e” parent=STREAM-DOWN packet-mark=”$e. indosatflow”
/queue tree add name=”STREAM-UP-. $e” parent=STREAM-UP packet-mark=”$e. indosatflow”
}

cek juga pada queue tree nya apa kah sudah ada list queue nya.

5. coba melimit salah sati ip dan amati… apakah sudah bener berjalan.

:for e from 2 to 11 do={

yaitu perintah untuk membuat script dari angka atau ip yang angka belakangnya 2 sampe dengan 11

src-address=(192.168.224. . $e)

yaitu opsi source ip localnya yang di pakai pada LAN nya, kenapa gak di tulis lengkap, karena untuk alamat ip yang paling belakang udah di buat secara otomatis seperti diatas.

ooo.. iya maap sedikit tambahan, sebelum kita buat script pada queues, kita buat queues secara manual dulu untuk parrent nya. yaitu parent=STREAM-DOWN dan parent=STREAM-UP.

hehehe… maap kalo kurang jelas tulisan ne… maklum masih belajar juga mas…

Script Mangle & Queue Tree di MikroTik

14 November, 2010

Langsung ke contoh kasus:

  • Buat limiter bandwidth di Laboratorium Komputer/Warnet untuk PC > 100 (disini, tepatnya diberikan alokasi IP sebesar 250 IP) :-O
  • Menggunakan MikroTik versi 2.XX
  • Bandwidth download per user sebesar: 64kbps-128kbps, bandwidth upload per user: 64kbps-128kbps
  • Subnet user yang digunakan 192.168.5.0/24

Berikut script mangle Queue Tree-nya :D

{
:local ComLabs
:set ComLabs "PC00"
:local ip
:set ip "192.168.5."
:local startip
:set startip 1
:local endip
:set endip 250
/queue tree add name="Download" parent=ether2 limit-at=0 priority=8 queue=default
/queue tree add name="Upload" parent=ether1 limit-at=0 priority=8 queue=default
:for i from=$startip to=$endip do={
:if ($i > 9) do={:set ComLabs "PC0"}
:if ($i > 99) do={:set ComLabs "PC"}
/ip firewall mangle add chain=prerouting src-address=($ip . $i) action=mark-connection new-connection-mark=(mc . $i) passthrough=yes
/ip firewall mangle add chain=prerouting protocol=!1 connection-mark=(mc . $i)action=mark-packet new-packet-mark=(mp . $i) passthrough=no
/queue tree add name=($ComLabs. $i. "Down") parent="Download" packet-mark=(mp . $i) limit-at=64000 max-limit=128000 queue=default priority=8
/queue tree add name=($ComLabs. $i. "Up") parent="Upload" packet-mark=(mp . $i) limit-at=64000 max-limit=128000 queue=default priority=8
}
}

sumber:

Dynamically adding QOS for PPPoE Users

/system script add name=set_pppoe_queues \
source={
:local mark-p2p p2p
:local mark-non-p2p other/queue tree{
#
# First remove any invalid queues. This happens whenever a pppoe
# connection is dropped – even if the connection returns the queue is
# forever lost.
#
:foreach j in [find invalid=yes] do {
#
# MT Bug?: “disabled” entries are considered to be “invalid” and
# would be deleted here – this keeps any “disabled” entries
#
:if (![get $j disabled]=yes) do {
remove $j
}
}
}/interface {
:foreach i in [find type="pppoe-in"] do {
:set ifacename ([get $i name])# This will print the list of interfaces found (debugging)
# :put ($ifacename):set queuename ([:pick $ifacename 1 ([:len $ifacename] – 1)])# Print the queue name to the console (debugging)
# :put $queuename

/queue tree{
#
# Create a “master-queue”. The parent is the virtual interface
# (pppoe) not the physical interface
:if ([:len [find name=($queuename . " all out")]] = 0) do {
add name=($queuename . ” all out”) parent=$ifacename \
queue=qtype_p2p priority=1 limit-at=50000 \
max-limit=400000
}

#
# MT Bug?: It is possible to add a sub-queue to a “disabled” parent
# queue, and the sub-queue is not made “invalid” despite the fact
# that the parent queue “does not exist” (ie is “invalid”)
# This prevents adding queue to a disabled parent
:if (![get [find name=($queuename . " all out")] disabled]=yes) do {
# Create a “sub-queue” for p2p traffic. The parent is the
# “master-queue” for the virtual interface (pppoe)
:if ([:len [find name=($queuename . " p2p out")]] = 0) do {
add name=($queuename . ” p2p out”) \
parent=($queuename . “all out”) \
packet-mark=$mark-p2p queue=qtype_p2p priority=8 \
limit-at=50000 max-limit=200000
}

# Create a “sub-queue” for non-p2p traffic. The parent is the
# “master-queue” for the virtual interface (pppoe)
:if ([:len [find name=($queuename . " non-p2p out")]] = 0) do {
add name=($queuename . ” non-p2p out”) \
parent=($queuename . “all out”) \
packet-mark=$mark-non-p2p queue=qtype_non_p2p \
priority=1 limit-at=0 max-limit=0
}
# Depending on how you have set up packet marking in mangle you
# can create “sub-queues” here for any other type of traffic sent out # on this virtual interface (pppoe)
}
}
}
}
}

/ system scheduler add name=set_pppoe_queues \
on-event=set_pppoe_queues \
interval=15s \
comment=”Sets up non-simple pppoe queues for QoS”

 
Leave a comment

Posted by on June 29, 2011 in Mikrotik

 

Install beberapa paket di fedora 15

Third Party Repositories
untuk aplikasi seperti (MP3, DVD, MPEG, Binary Drivers, etc) recomended dari repositori resmi yaitu rpmfusion
untuk setup RPMfusion ikuti langkah berikut :

[root@bunker ~]#rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

[root@bunker ~]#rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
[root@bunker ~]#rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm

setelah itu lakukan perintah :
[root@bunker ~]#yum update -y

Rhythmbox/Gstreamer – pemutar lagu mirip iTune
setelah install fedora 15 ada beberapa komponen yang belum mendukung MP3.instalasi menggunakan yum :
[root@bunker ~]# yum install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg

Install MoviePlayer
Untuk memutar video kita install lagi Binary Codecnya dengan cara :
[root@bunker ~]#yum install mplayer mplayer-gui gecko-mediaplayer mencoder

VLC
karena saya pecinta VLC saya juga menginstall VLC
[root@bunker ~]#yum -y install vlc

Adobe Flahsplugin
agar youtube dan flashnya jalan mari kita install lagi flaspluginnya
[root@bunker ~]#rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
[root@bunker ~]#rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
[root@bunker ~]#yum install flash-plugin

Java Runtime Environment
instalasi fedora 15 standar belum menyediakan openJDK jadi kita harus install menggunakan yum :
[root@bunker ~]#install java-1.6.0-openjdk java-1.6.0-openjdk-plugin

Install Adobe Acrobat
[root@bunker ~]#rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
[root@bunker ~]#rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
[root@bunker ~]#yum install AdobeReader_enu

Wine
Wine is not Emulator ini adalah tools untuk menjalankan aplikasi exe sering di gunakan untuk membuka winbox,dude etc
[root@bunker ~]#yum install wine

aircrack
[root@bunker ~]#yum -y install aircrack-ng

ok cukup sekian dulu untuk fedora 15 dan aplikasinya

[sinichireina@srfedora ~]$ su
Password:
[root@srfedora sinichireina]# yum groupinstall “Office/Productivity”
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386                                         |  951 B     00:00
updates/metalink                                         | 9.3 kB     00:00
Setting up Group Process
Package evince-3.0.0-1.fc15.i686 already installed and latest version
Resolving Dependencies
–> Running transaction check
—> Package libreoffice-calc.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: libreoffice-ure = 1:3.3.2.2-10.fc15 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libreoffice-core = 1:3.3.2.2-10.fc15 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.7) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppu.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsofficeapp.so(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: liblegacy_binfiltersli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsvxcoreli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsvtli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_sbli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_xoli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbasegfxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3.6) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libdrawinglayerli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libucb1.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: liblngli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: liblpsolve55.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libvclli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libreg.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libvclplug_genli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsvxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_svxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libfileli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libtkli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsfxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.3) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libvclplug_gtkli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_salhelpergcc3.so.3(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsvlli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: liblegacy_binfiltersli.so(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.1) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.10) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_ofali.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.8) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libfwlli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsotli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsaxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libpackage2.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libooxli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libcomphelp4gcc3.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_soli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libtlli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppu.so.3(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libucpfile1.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libmsfilterli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libi18nisolang1gcc3.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libstlport_gcc.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libutlli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libxoli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libvbahelperli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsofficeapp.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libavmediali.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.9) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3.1) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libsbli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libucbhelper4gcc3.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_salhelpergcc3.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppu.so.3(UDK_3.3) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libdbtoolsli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppu.so.3(UDK_3.1) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppuhelpergcc3.so.3(UDK_3_0_0) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(PRIVATE_1.1) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libstore.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libeditengli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_cppuhelpergcc3.so.3 for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libbf_svtli.so for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
–> Processing Dependency: libuno_sal.so.3(UDK_3.6) for package: 1:libreoffice-calc-3.3.2.2-10.fc15.i686
—> Package libreoffice-draw.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: libreoffice-pdfimport = 1:3.3.2.2-10.fc15 for package: 1:libreoffice-draw-3.3.2.2-10.fc15.i686
—> Package libreoffice-graphicfilter.i686 1:3.3.2.2-10.fc15 will be installed
—> Package libreoffice-impress.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: libreoffice-presenter-screen = 1:3.3.2.2-10.fc15 for package: 1:libreoffice-impress-3.3.2.2-10.fc15.i686
—> Package libreoffice-math.i686 1:3.3.2.2-10.fc15 will be installed
—> Package libreoffice-writer.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: libwpd-0.9.so.9 for package: 1:libreoffice-writer-3.3.2.2-10.fc15.i686
–> Processing Dependency: libwpg-0.2.so.2 for package: 1:libreoffice-writer-3.3.2.2-10.fc15.i686
–> Processing Dependency: libwpd-stream-0.9.so.9 for package: 1:libreoffice-writer-3.3.2.2-10.fc15.i686
–> Processing Dependency: libwps-0.2.so.2 for package: 1:libreoffice-writer-3.3.2.2-10.fc15.i686
—> Package libreoffice-xsltfilter.i686 1:3.3.2.2-10.fc15 will be installed
—> Package planner.i686 0:0.14.4-34.fc15 will be installed
–> Processing Dependency: /usr/bin/scrollkeeper-update for package: planner-0.14.4-34.fc15.i686
–> Processing Dependency: /usr/bin/scrollkeeper-update for package: planner-0.14.4-34.fc15.i686
–> Running transaction check
—> Package libreoffice-core.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: libreoffice-opensymbol-fonts = 1:3.3.2.2-10.fc15 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: hyphen >= 2.4 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libjawt.so for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: autocorr-en for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: hyphen-en for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libtextcat.so.0 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: lucene for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: hunspell-en for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libgraphite.so.3 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libmythes-1.2.so.0 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libhyphen.so.0 for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
–> Processing Dependency: libjawt.so(SUNWprivate_1.1) for package: 1:libreoffice-core-3.3.2.2-10.fc15.i686
—> Package libreoffice-langpack-en.i686 1:3.3.2.2-10.fc15 will be installed
–> Processing Dependency: mythes-en for package: 1:libreoffice-langpack-en-3.3.2.2-10.fc15.i686
—> Package libreoffice-pdfimport.i686 1:3.3.2.2-10.fc15 will be installed
—> Package libreoffice-presenter-screen.i686 1:3.3.2.2-10.fc15 will be installed
—> Package libreoffice-ure.i686 1:3.3.2.2-10.fc15 will be installed
—> Package libwpd.i686 0:0.9.1-2.fc15 will be installed
—> Package libwpg.i686 0:0.2.0-2.fc15 will be installed
—> Package libwps.i686 0:0.2.0-1.fc15 will be installed
—> Package lpsolve.i686 0:5.5.2.0-3.fc15 will be installed
—> Package rarian-compat.i686 0:0.8.1-6.fc15 will be installed
–> Processing Dependency: rarian = 0.8.1-6.fc15 for package: rarian-compat-0.8.1-6.fc15.i686
–> Processing Dependency: rarian for package: rarian-compat-0.8.1-6.fc15.i686
–> Processing Dependency: librarian.so.0 for package: rarian-compat-0.8.1-6.fc15.i686
–> Running transaction check
—> Package autocorr-en.noarch 1:3.3.2.2-10.fc15 will be installed
—> Package hunspell-en.noarch 0:0.20110112-4.fc15 will be installed
—> Package hyphen.i686 0:2.7-1.fc15 will be installed
—> Package hyphen-en.noarch 0:2.7-1.fc15 will be installed
—> Package java-1.6.0-openjdk.i686 1:1.6.0.0-58.1.10.2.fc15 will be installed
–> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: 1:java-1.6.0-openjdk-1.6.0.0-58.1.10.2.fc15.i686
–> Processing Dependency: libgif.so.4 for package: 1:java-1.6.0-openjdk-1.6.0.0-58.1.10.2.fc15.i686
–> Processing Dependency: rhino for package: 1:java-1.6.0-openjdk-1.6.0.0-58.1.10.2.fc15.i686
–> Processing Dependency: tzdata-java for package: 1:java-1.6.0-openjdk-1.6.0.0-58.1.10.2.fc15.i686
—> Package libgcj.i686 0:4.6.0-9.fc15 will be installed
—> Package libreoffice-opensymbol-fonts.noarch 1:3.3.2.2-10.fc15 will be installed
—> Package libtextcat.i686 0:2.2-12.fc15 will be installed
—> Package lucene.noarch 0:2.9.4-4.fc15 will be installed
—> Package mythes.i686 0:1.2.1-3.fc15 will be installed
—> Package mythes-en.noarch 0:3.0-8.fc15 will be installed
—> Package rarian.i686 0:0.8.1-6.fc15 will be installed
—> Package silgraphite.i686 0:2.3.1-4.fc15 will be installed
–> Running transaction check
—> Package giflib.i686 0:4.1.6-4.fc15 will be installed
—> Package jpackage-utils.noarch 0:1.7.5-4.12.fc15 will be installed
—> Package rhino.noarch 0:1.7-0.8.r2.fc15 will be installed
–> Processing Dependency: jline for package: rhino-1.7-0.8.r2.fc15.noarch
—> Package tzdata-java.noarch 0:2011d-3.fc15 will be installed
–> Running transaction check
—> Package jline.noarch 0:0.9.94-3.fc15 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package                       Arch    Version                   Repository
Size
================================================================================
Installing:
libreoffice-calc              i686    1:3.3.2.2-10.fc15         updates  7.7 M
libreoffice-draw              i686    1:3.3.2.2-10.fc15         updates  653 k
libreoffice-graphicfilter     i686    1:3.3.2.2-10.fc15         updates  194 k
libreoffice-impress           i686    1:3.3.2.2-10.fc15         updates  994 k
libreoffice-math              i686    1:3.3.2.2-10.fc15         updates  1.0 M
libreoffice-writer            i686    1:3.3.2.2-10.fc15         updates  5.5 M
libreoffice-xsltfilter        i686    1:3.3.2.2-10.fc15         updates  198 k
planner                       i686    0.14.4-34.fc15            fedora   3.0 M
Installing for dependencies:
autocorr-en                   noarch  1:3.3.2.2-10.fc15         updates   90 k
giflib                        i686    4.1.6-4.fc15              fedora    37 k
hunspell-en                   noarch  0.20110112-4.fc15         fedora   401 k
hyphen                        i686    2.7-1.fc15                fedora    22 k
hyphen-en                     noarch  2.7-1.fc15                fedora    46 k
java-1.6.0-openjdk            i686    1:1.6.0.0-58.1.10.2.fc15  updates   26 M
jline                         noarch  0.9.94-3.fc15             fedora    64 k
jpackage-utils                noarch  1.7.5-4.12.fc15           fedora    61 k
libgcj                        i686    4.6.0-9.fc15              updates   17 M
libreoffice-core              i686    1:3.3.2.2-10.fc15         updates   79 M
libreoffice-langpack-en       i686    1:3.3.2.2-10.fc15         updates   13 k
libreoffice-opensymbol-fonts  noarch  1:3.3.2.2-10.fc15         updates  168 k
libreoffice-pdfimport         i686    1:3.3.2.2-10.fc15         updates  407 k
libreoffice-presenter-screen  i686    1:3.3.2.2-10.fc15         updates  593 k
libreoffice-ure               i686    1:3.3.2.2-10.fc15         updates  2.4 M
libtextcat                    i686    2.2-12.fc15               fedora   127 k
libwpd                        i686    0.9.1-2.fc15              fedora   226 k
libwpg                        i686    0.2.0-2.fc15              fedora    84 k
libwps                        i686    0.2.0-1.fc15              fedora    40 k
lpsolve                       i686    5.5.2.0-3.fc15            fedora   476 k
lucene                        noarch  2.9.4-4.fc15              fedora   2.1 M
mythes                        i686    1.2.1-3.fc15              fedora    11 k
mythes-en                     noarch  3.0-8.fc15                fedora   3.9 M
rarian                        i686    0.8.1-6.fc15              fedora    97 k
rarian-compat                 i686    0.8.1-6.fc15              fedora    59 k
rhino                         noarch  1.7-0.8.r2.fc15           fedora   779 k
silgraphite                   i686    2.3.1-4.fc15              fedora   173 k
tzdata-java                   noarch  2011d-3.fc15              fedora   152 k

Transaction Summary
================================================================================
Install      36 Package(s)

Total size: 153 M
Total download size: 102 M
Installed size: 465 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 102 M
(1/26): libreoffice-core-3.3.2.2-10.fc15.i686.rpm        |  79 MB     00:53
(2/26): libreoffice-draw-3.3.2.2-10.fc15.i686.rpm        | 653 kB     00:07
(3/26): libreoffice-graphicfilter-3.3.2.2-10.fc15.i686.r | 194 kB     00:02
(4/26): libreoffice-impress-3.3.2.2-10.fc15.i686.rpm     | 994 kB     00:14
(5/26): libreoffice-langpack-en-3.3.2.2-10.fc15.i686.rpm |  13 kB     00:00
(6/26): libreoffice-math-3.3.2.2-10.fc15.i686.rpm        | 1.0 MB     00:11
(7/26): libreoffice-opensymbol-fonts-3.3.2.2-10.fc15.noa | 168 kB     00:01
(8/26): libreoffice-pdfimport-3.3.2.2-10.fc15.i686.rpm   | 407 kB     00:04
(9/26): libreoffice-pr (80%) 15% [=-          ]  49 kB/s |  91 kB     00:10 E(9/26): libreoffice-pr (80%) 20% [==          ]  52 kB/s | 119 kB     00:09 ET(9/26): libreoffice-presenter-screen-3.3.2.2-10.fc15.i686 | 593 kB     00:06
(10/26): libreoffice-ure-3.3.2.2-10.fc15.i686.rpm         | 2.4 MB     00:26
(11/26): libreoffice-writer-3.3.2.2-10.fc15.i686.rpm      | 5.5 MB     01:01
(12/26): libreoffice-xsltfilter-3.3.2.2-10.fc15.i686.rpm  | 198 kB     00:02
(13/26): libtextcat-2.2-12.fc15.i686.rpm                  | 127 kB     00:01
(14/26): libwpd-0.9.1-2.fc15.i686.rpm                     | 226 kB     00:02
(15/26): libwpg-0.2.0-2.fc15.i686.rpm                     |  84 kB     00:00
(16/26): libwps-0.2.0-1.fc15.i686.rpm                     |  40 kB     00:00
(17/26): lpsolve-5.5.2.0-3.fc15.i686.rpm                  | 476 kB     00:05
(18/26): lucene-2.9.4-4.fc15.noarch.rpm                   | 2.1 MB     00:24
(19/26): mythes-1.2.1-3.fc15.i686.rpm                     |  11 kB     00:00
(20/26): mythes-en-3.0-8.fc15.noarch.rpm                  | 3.9 MB     00:43
(21/26): planner-0.14.4-34.fc15.i686.rpm                  | 3.0 MB     00:33
(22/26): rarian-0.8.1-6.fc15.i686.rpm                     |  97 kB     00:01
(23/26): rarian-compat-0.8.1-6.fc15.i686.rpm              |  59 kB     00:00
(24/26): rhino-1.7-0.8.r2.fc15.noarch.rpm                 | 779 kB     00:08
(25/26): silgraphite-2.3.1-4.fc15.i686.rpm                | 173 kB     00:01
(26/26): tzdata-java-2011d-3.fc15.noarch.rpm              | 152 kB     00:01
———————————————————————————
Total                                            316 kB/s | 102 MB     05:31
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : jpackage-utils-1.7.5-4.12.fc15.noarch                        1/36
Installing : libwpd-0.9.1-2.fc15.i686                                     2/36
Installing : libwpg-0.2.0-2.fc15.i686                                     3/36
Installing : mythes-1.2.1-3.fc15.i686                                     4/36
Installing : hyphen-2.7-1.fc15.i686                                       5/36
Installing : hyphen-en-2.7-1.fc15.noarch                                  6/36
Installing : mythes-en-3.0-8.fc15.noarch                                  7/36
Installing : jline-0.9.94-3.fc15.noarch                                   8/36
Installing : rhino-1.7-0.8.r2.fc15.noarch                                 9/36
Installing : lucene-2.9.4-4.fc15.noarch                                  10/36
Installing : 1:libreoffice-opensymbol-fonts-3.3.2.2-10.fc15.noarch       11/36
Installing : hunspell-en-0.20110112-4.fc15.noarch                        12/36
Installing : tzdata-java-2011d-3.fc15.noarch                             13/36
Installing : 1:autocorr-en-3.3.2.2-10.fc15.noarch                        14/36
Installing : libwps-0.2.0-1.fc15.i686                                    15/36
Installing : rarian-0.8.1-6.fc15.i686                                    16/36
Installing : rarian-compat-0.8.1-6.fc15.i686                             17/36
Installing : libtextcat-2.2-12.fc15.i686                                 18/36
Installing : giflib-4.1.6-4.fc15.i686                                    19/36
Installing : 1:java-1.6.0-openjdk-1.6.0.0-58.1.10.2.fc15.i686            20/36
Installing : 1:libreoffice-ure-3.3.2.2-10.fc15.i686                      21/36
Installing : lpsolve-5.5.2.0-3.fc15.i686                                 22/36
Installing : silgraphite-2.3.1-4.fc15.i686                               23/36
Installing : 1:libreoffice-core-3.3.2.2-10.fc15.i686                     24/36
Installing : 1:libreoffice-langpack-en-3.3.2.2-10.fc15.i686              25/36
Installing : 1:libreoffice-xsltfilter-3.3.2.2-10.fc15.i686               26/36
Installing : 1:libreoffice-graphicfilter-3.3.2.2-10.fc15.i686            27/36
Installing : 1:libreoffice-draw-3.3.2.2-10.fc15.i686                     28/36
Installing : 1:libreoffice-pdfimport-3.3.2.2-10.fc15.i686                29/36
Installing : 1:libreoffice-impress-3.3.2.2-10.fc15.i686                  30/36
Installing : 1:libreoffice-presenter-screen-3.3.2.2-10.fc15.i686         31/36
Installing : 1:libreoffice-writer-3.3.2.2-10.fc15.i686                   32/36
Installing : 1:libreoffice-math-3.3.2.2-10.fc15.i686                     33/36
Installing : 1:libreoffice-calc-3.3.2.2-10.fc15.i686                     34/36
Installing : planner-0.14.4-34.fc15.i686                                 35/36
Installing : libgcj-4.6.0-9.fc15.i686                                    36/36

Installed:
libreoffice-calc.i686 1:3.3.2.2-10.fc15
libreoffice-draw.i686 1:3.3.2.2-10.fc15
libreoffice-graphicfilter.i686 1:3.3.2.2-10.fc15
libreoffice-impress.i686 1:3.3.2.2-10.fc15
libreoffice-math.i686 1:3.3.2.2-10.fc15
libreoffice-writer.i686 1:3.3.2.2-10.fc15
libreoffice-xsltfilter.i686 1:3.3.2.2-10.fc15
planner.i686 0:0.14.4-34.fc15

Dependency Installed:
autocorr-en.noarch 1:3.3.2.2-10.fc15
giflib.i686 0:4.1.6-4.fc15
hunspell-en.noarch 0:0.20110112-4.fc15
hyphen.i686 0:2.7-1.fc15
hyphen-en.noarch 0:2.7-1.fc15
java-1.6.0-openjdk.i686 1:1.6.0.0-58.1.10.2.fc15
jline.noarch 0:0.9.94-3.fc15
jpackage-utils.noarch 0:1.7.5-4.12.fc15
libgcj.i686 0:4.6.0-9.fc15
libreoffice-core.i686 1:3.3.2.2-10.fc15
libreoffice-langpack-en.i686 1:3.3.2.2-10.fc15
libreoffice-opensymbol-fonts.noarch 1:3.3.2.2-10.fc15
libreoffice-pdfimport.i686 1:3.3.2.2-10.fc15
libreoffice-presenter-screen.i686 1:3.3.2.2-10.fc15
libreoffice-ure.i686 1:3.3.2.2-10.fc15
libtextcat.i686 0:2.2-12.fc15
libwpd.i686 0:0.9.1-2.fc15
libwpg.i686 0:0.2.0-2.fc15
libwps.i686 0:0.2.0-1.fc15
lpsolve.i686 0:5.5.2.0-3.fc15
lucene.noarch 0:2.9.4-4.fc15
mythes.i686 0:1.2.1-3.fc15
mythes-en.noarch 0:3.0-8.fc15
rarian.i686 0:0.8.1-6.fc15
rarian-compat.i686 0:0.8.1-6.fc15
rhino.noarch 0:1.7-0.8.r2.fc15
silgraphite.i686 0:2.3.1-4.fc15
tzdata-java.noarch 0:2011d-3.fc15

Complete!
[root@srfedora sinichireina]# yum install bluefish
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package bluefish.i686 0:2.0.3-3.fc15 will be installed
–> Processing Dependency: bluefish-shared-data = 2.0.3-3.fc15 for package: bluefish-2.0.3-3.fc15.i686
–> Running transaction check
—> Package bluefish-shared-data.noarch 0:2.0.3-3.fc15 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

=================================================================================
Package                    Arch         Version              Repository    Size
=================================================================================
Installing:
bluefish                   i686         2.0.3-3.fc15         fedora       358 k
Installing for dependencies:
bluefish-shared-data       noarch       2.0.3-3.fc15         fedora       2.0 M

Transaction Summary
=================================================================================
Install       2 Package(s)

Total download size: 2.4 M
Installed size: 6.8 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 2.4 M
(1/2): bluefish-2.0.3-3.fc15.i686.rpm                     | 358 kB     00:04
(2/2): bluefish-shared-data-2.0.3-3.fc15.noarch.rpm       | 2.0 MB     00:23
———————————————————————————
Total                                             74 kB/s | 2.4 MB     00:32
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : bluefish-shared-data-2.0.3-3.fc15.noarch                      1/2
Installing : bluefish-2.0.3-3.fc15.i686                                    2/2

Installed:
bluefish.i686 0:2.0.3-3.fc15

Dependency Installed:
bluefish-shared-data.noarch 0:2.0.3-3.fc15

Complete!
[root@srfedora sinichireina]#

 
Leave a comment

Posted by on June 19, 2011 in Fedora, Linux

 

Cara Mudah Upgrade Kernel Linux

sumber: http://devilzc0de.org/forum

 

Mungkin kita pernah mengalami permasalahan driver tidak berfungsi di linux setelah melakukan update atau upgrade. Seperti dulu saya mengalami masalah pada wireless intel yg tidak berfungsi setelah melakukan upgrade. Banyak cara yg telah saya coba seperti mengcompile ulang driver wireles intel tersebut namun hasilnya tetap tidak berhasil . Namun setelah saya mengupgrade kernel ke versi yg lebih tinggi, akhirnya wireless kembali berfungsi.
Sebenarnya mengupgrade kernel ini tidak terlalu sulit tergantung cara kita melaksanakan. Berikut cara mengupgrade kernel secara mudah dan telah saya coba di fedora saya.

Siapkan dulu kernel yg akan kita compile dan kita gunakan. Di sini saya akan mengupgrade kernel dari versi 2.6.38.6-27.fc15.i686 bawaan dari fedora 15 ke versi 2.6.39 stable. Untuk mendownloadnya Bisa kita download di kernel.org atau melalui terminal dengan perintah

Code:
#  wget linkdownloadkernel

Selanjutnya kita ekstrak kernel tersebut terserah dimana, sebagai contoh saya meletakkan di path /usr/src/kernels/

Code:
#  su
Code:
#  cp linux-2.6.39.tar.bz2 /usr/src/kernels/
Code:
#  cd /usr/src/kernels/
Code:
#  tar xjf linux-2.6.39.tar.bz2
Code:
#  cd linux-2.6.39

Sebelumnya kita harus membuat konfigurasi untuk kernel tersebut. Karena saya hanya akan melakukan proses upgrade kernel maka saya akan menggunakan konfigurasi dari kernel 2.6.38.6-27.fc15.i686 sebelumnya yg berada di path /boot/config-2.6.38.6-27.fc15.i686 atau jika belum terhapus bisa kita ambil dari path atau folder /usr/src/kernels/2.6.38.6-27.fc15.i686/.config , Tampilkan dulu file hidden dengan dengan menekan tombol ctrl dan h
Karena saya bukan seorang yg expert maka saya menggunakan versi mode GUI (graphic user interface) agar lebih mudah. ada beberapa macam atau tampilan perintah untuk membuat konfigurasi, bisa di lihat di file README yg berada folder kernel yg akan compile.
Ketikan perintah berikut :

Code:
# make mrproper
Code:
# cp /boot/config-`uname -r` ./.config
Code:
# make menuconfig

Akan tampak gambar di bawah ini, arahkan kebawah ke Load an Alternate Configuration File seperti gambar

kemudian tekan enter, muncul seperti ini

Karena sebelumya kita telah meletakan file konfigurasinya dengan nama .config maka pilih ok kemudian yes. Setelah itu kita kembali ketampilan awal dan arahkan ke text <Exit> , jika muncul gambar seperti di bawah ini pilih saja yes.

Jika kalian ingin sedikit memodifikasi nama dari kernel yg akan kalian compile, edit file Makefile seperti contoh di bawah ini :

Code:
# sudo gedit Makefile

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 39
EXTRAVERSION = .Antroid-W2N
NAME = Flesh-Eating Bats with Fangs

Ganti tulisan yg bercetak miring di atas sesuai keinginan.

Sekarang kita masuk proses compile. Ketikan perintah berikut :

Code:
# make all
Code:
# make modules_install
Code:
# make install

Proses ini berlangsung lama membutuhkan waktu sekitar 2-4 jam tergantung dari spek komputer. Jika kita ingin meninggalkan bobo dan menginginkan proses sudah selesai setelah kita melihat kembali maka kita bisa menggabungkan semua perintah di atas sehingga proses compile bisa di lakukan sekaligus, ketikan perintah berikut :

Code:
# make all && make modules_install && make install

Jika proses di atas sudah selesai di laksanakan maka sekarang kita melanjutkan proses seting di konfigurasi boot loader agar kernel kita bisa terload saat melakukan proses booting. Namun biasanya jika kita melaksanakan sesuai dengan perintah di atas maka kernel yg telah kita buat sudah otomatis di masukan dalam boot loader di grub. Tapi jika itu tidak terjadi atau kita akan mengganti default booting komputer lakukan cara berikut :

File konfigurasi terletak di path /boot/grub/menu.lst

Code:
# sudo gedit /boot/grub/menu.lst

Silakan edit sesuai dengan keinginan kalian.

Sebagai contoh kalian bisa melihat konfigurasi dari menu.lst di fedora saya yg menggunakan triple boot.

Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,6)
#          kernel /boot/vmlinuz-version ro root=/dev/sda7
#          initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora 15 Lovelock
root (hd0,6)
kernel /boot/vmlinuz-2.6.39.Antroid-W2N ro root=UUID=11cda25d-fd0a-4df3-8f68-89d811870b39 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us noiswmd rhgb quiet
initrd /boot/initramfs-2.6.39.Antroid-W2N.img

#title Fedora (2.6.38.6-27.fc15.i686)
#    root (hd0,6)
#    kernel /boot/vmlinuz-2.6.38.6-27.fc15.i686 ro root=UUID=11cda25d-fd0a-4df3-8f68-89d811870b39 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM #LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us noiswmd rhgb quiet
#    initrd /boot/initramfs-2.6.38.6-27.fc15.i686.img

title BacktrackR5
root (hd0,1)
kernel /boot/vmlinuz-2.6.38 ro root=UUID=e1473d2e-c07f-4fb3-b584-259ea8b01de5 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us noiswmd rhgb quiet
initrd /boot/initrd.img-2.6.38
title Windows Se7en
rootnoverify (hd0,0)
chainloader +1

Reboot komputer, untuk mengecek kernel yg di gunakan :

Code:
$ uname -r2.6.39.Antroid-W2N

Tolong di koreksi kalu salah, kalu ada yg mau di tambah silakan di tambah..

 
Leave a comment

Posted by on June 14, 2011 in Linux

 

Cara Menginstall Adobe Flash Player dalam Fedora 15

sumber: http://devilzc0de.org/forum/

Langkah 1 – Install Adobe Flash player repository pny failpergi ke http://get.adobe.com/flashplayer/ dan pilih YUM for Linux dati pilihan yang ada.

Fail adobe-release-i386-1.0-1.noarch.rpm akan di download masuk.

Buka terminal,masuk ke directory di mana fale .rpmtadi di download,dan lakukan command di bawah.

Code:
su -c 'rpm -ivh adobe-release-i386-1.0-1.noarch.rpm'

Fail adobe-linux-i386.repo akan di install masuk ke /etc/yum.repos.d/ .

Langkah 2 – Import Adobe GPG key

Untuk pengetahuan, fail .tpm tadi akan copy adobe General Public Key(GPG Key) ke /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux TAPI tak mengimportnya masuk.Untuk mengimport,lakukan command

Code:
su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux'

Langkah 3 – Install Flash Player dan memastikan bunyi-bunyian akan diaktifkan

Dalam terminal, lakukan command …

Code:
su -c 'yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin'

Fedora akan update repository dan akan download Adobe Flash Plugin bersaiz 5.2 MB dari website Adobe.Tunggu beberapa ketika.

Langkah 4 – Cuba plugin tersebut!

Restart FIrefox,dan apabila sudah muncul kembali browser, lakukan command ini di URL bar

Code:
about:plugins

Kalau Flash Shockwave plugin berjaya diinstall,ia akan dilihat di sini.

[Image: linux-flash-player.png]

Kredit to linuxandfriends

 
Leave a comment

Posted by on June 14, 2011 in Fedora, Linux

 

Instalasi Free BSD

sumber: http://www.devilian.net/2009/09/install-freebsd-part-5/

Download ISO CD instalasi FreeBSD terbaru dari mirror Indonesia, cukup ambil yang disc1.
Bakar ISO tersebut ke CD, lalu boot komputer / mesin server melalui CD.

install-freebsd-01

Tekan angka 1 pada keyboard untuk memilih Boot FreeBSD [default]

install-freebsd-02

Pilih Indonesia pada Country Selection

install-freebsd-03

Pilih USA ISO pada System Console Keymap

install-freebsd-04

Pilih Standart Installation

install-freebsd-05

Tekan Enter pada Message

install-freebsd-06

Buat semua free space pada harddisk menjadi Slice Partition dengan menekan tombol “A” pada keyboard.
Kemudian tekan tombol “S” untuk membuat partisi tersebut Bootable
Tekan tombol “Q” setelah selesai.

//

install-freebsd-07

Pilih Standart pada Install Boot Manager for drive ad0?
Pilih BootMgr jika ada operating system lain pada komputer atau mesin server.

install-freebsd-08

Tekan tombol Enter pada Message

install-freebsd-09

Buat partisi system secara otomatis dengan menekan tombol “A” pada keyboard.
Tekan tombol “Q” setelah selesai.

install-freebsd-10

Pilih Kern Developer menggunakan tombol Space pada Choose Distributions.
Pada instalasi ini akan menyiapkan FreeBSD sebagai server, hingga tidak membutuhkan paket-paket distribusi lain.

install-freebsd-11

Pilih Yes pada User Confirmation Requested.
Ini pilihan untuk meng-install Ports Tree hingga lebih memudahkan dalam penambahan paket-paket lain yang dibutuhkan.

install-freebsd-12

Akan tampil karakter “X” di kolom centang pada paket distribusi yang terpilih.

install-freebsd-13

Pilih CD/DVD pada Choose Installation Media.
Beragam media dapat digunakan saat melakukan instalasi FreeBSD, pada panduan ini kita menggunakan media CD/DVD sebagai sumber media.

install-freebsd-14

Konfirmasi untuk memastikan apakah instalasi FreeBSD akan dijalankan, pilih Yes.

install-freebsd-15

Proses instalasi berjalan.

install-freebsd-16

Proses install Ports Tree.

install-freebsd-17

Proses peng-copy-an selesai. Tekan Enter atau Space.

//

install-freebsd-18

Pilih Yes saat ditanya apakah ingin memasukkan konfigurasi network.

install-freebsd-19

Pilih network interface (ethernet card) yang diinginkan. Pada mesin ini terdapat dua buah network interface, yaitu : em0 dan em1. em0 akan dijadikan sebagai external network interface, dan em1 menjadi internal network interface sehingga mesin dapat berfungsi sebagai network gateway (router).
Pilih em0 dan tekan Enter.

install-freebsd-20

Pilih No bila tidak ingin menggunakan IPv6.

install-freebsd-21

Tergantung pada konfigurasi jaringan dimana komputer atau mesin berada. Mesin ini tidak akan mendapatkan IP dari DHCP Server, sehingga dipilih No.

install-freebsd-22

Masukkan konfigurasi IP sesuai dengan konfigurasi jaringan seperti gambar diatas.

install-freebsd-23

Aktifkan network interface yang telah dikonfigurasi sekarang. Pilih Yes.

install-freebsd-24

Mesin ini akan dijadikan network gateway, pilih Yes.
Jika tidak ingin membuat mesin menjadi network gateway, pilih No.

install-freebsd-25

Pilih Yes jika ingin mengaktifkan inetd.

install-freebsd-26

Pilih Yes.

install-freebsd-27

Konfirmasi apakah yakin ingin mengaktifkan inetd, pilih Yes.
Beberapa server administrator biasanya tidak memilih inetd untuk menjalankan layanan-layanan penting server, tapi pada bagian lain di sini akan dibahas bagaimana mengamankan inetd.

install-freebsd-28

Hapus tanda remark (#) pada baris ke-9. Mesin akan menerima koneksi FTP yang dijalankan melalui inetd.

//

install-freebsd-29

Tekan tombol Esc untuk menampilkan menu editor (ee).
Tekan “A” atau Enter untuk memilih Leave Editor.

install-freebsd-30

Tekan “A” atau Enter untuk memilih Save Changes.

install-freebsd-31

Ingin agar mesin dapat diakses secara remote dari komputer lain? Aktifkan layanan SSH. Pilih Yes.

install-freebsd-32

Tidak dibutuhkan Anonymous FTP Access, pilih No.

install-freebsd-33

Pilih No, mesin tidak akan dijadikan sebagai NFS Server (untuk saat ini).

install-freebsd-34

Mesin tidak ingin dijadikan NFS Client, pilih No.

install-freebsd-35

Pilih No untuk “Would you like to customize system console settings?”

install-freebsd-36

Pilih Yes untuk memasukkan konfigurasi time zone.

install-freebsd-37

Pilih No.

install-freebsd-38

Pilih Asia di Time Zone Selector.

install-freebsd-39

Pilih Indonesia di Countries in Asia.

//

install-freebsd-40

Pilih Jawa & Sumatra di Indonesia Time Zones, atau pilih sesuai keinginan.

install-freebsd-41

WIT adalah West Indonesia Time. Pilih Yes.

install-freebsd-42

Tidak atau belum butuh kompatibilitas dengan paket-paket binari Linux, pilih No.

install-freebsd-43

Menggunakan mouse? Buat Apa?
Pilih No.

install-freebsd-44

Belum perlu menambahkan paket-paket aplikasi lain, pilih No.

install-freebsd-45

Pilih Yes untuk menambahkan pengguna baru.

install-freebsd-46

Pilih User.

install-freebsd-47

Masukkan informasi pengguna, Login ID adalah nama yang dimasukkan saat login ke FreeBSD.
Set Group = 0 dan Member groups = 0 hingga pengguna masuk sebagai grup wheel.
Pilih OK.

install-freebsd-48

Pilih Exit.

install-freebsd-49

Pilih OK untuk membuat password pengguna root.
root adalah pengguna dengan otoritas tertinggi dalam sistem operasi *nix, untuk itu keamanan password sangat perlu diperhatikan.

install-freebsd-50

Masukkan password untuk root sebanyak dua kali.

//

install-freebsd-51

Pilih No. Proses instalasi hampir selesai.

install-freebsd-52

Selesai, pilih Exit Install dan tekan Enter.

install-freebsd-53

Enter kembali untuk memilih Yes, dan keluarkan CD/DVD instalasi dari CD/DVDROM.

install-freebsd-54

Komputer atau mesin akan mem-boot sistem operasi FreeBSD yang baru saja di-install.
Masukkan nama pengguna dan password untuk login ke FreeBSD.

install-freebsd-55

Bila sukses login, akan tampil $ prompt.
FreeBSD siap untuk dikonfigurasi dan digunakan sebagai mesin server.

Optimasi Server FreeBSD

Edit file /etc/rc.conf, tambahkan baris berikut:

1 usbd_enable="NO"
2 background_fsck="NO"
3 update_motd="NO"
4 syslogd_flags="-ss"
5 accounting_enable="YES"
6 clear_tmp_enable="YES"
7 nfs_reserved_port_only="YES"

Edit file /boot/loader.conf, tambahkan baris berikut

1 autoboot_delay="3"
2 kern.ipc.maxsockets=16384

Edit file /etc/sysctl.conf, tambahkan baris berikut :

01 security.bsd.see_other_uids=0
02 net.inet.tcp.sendspace=65536
03 net.inet.tcp.recvspace=65536
04 kern.ipc.somaxconn=2048
05 net.inet.icmp.drop_redirect=1
06 net.inet.icmp.log_redirect=0
07 net.inet.ip.redirect=0
08 kern.maxfiles=112328
09 kern.maxfilesperproc=31095
10 net.inet.tcp.blackhole=1
11 net.inet.udp.blackhole=1
12 net.inet.icmp.icmplim_output=0
13 net.inet.tcp.msl=3000
14 vfs.read_max=64
15 vfs.lorunningspace=6291456
16 vfs.hirunningspace=12388608
17 vfs.ufs.dirhash_maxmem=38554432

Aktifkan seluruh konfigurasi dengan me-reboot mesin :

1 server# reboot

Install Portaudit dan Portupgrade untuk Memudahkan Manajemen Ports

Install portaudit

1 server# cd /usr/ports/ports-mgmt/portaudit
2 server# make
3 server# make install
4 server# make clean

Install portupgrade

1 server# cd /usr/ports/ports-mgmt/portupgrade
2 server# make config
3 server# make

Ikuti gambar berikut saat dikonfirmasi.

install-portupgrade-01

install-portupgrade-02

install-portupgrade-03

install-portupgrade-04

//

—> Checking the package registry database
[Rebuilding the pkgdb
in /var/db/pkg ... - 17 packages found (-0 +17) ................. done]

auditfile.tbz 100% of 57 kB 39 kBps
New database installed.
Database created: Mon Sep 7 19:25:02 WIT 2009
0 problem(s) in your installed packages found.

Melihat paket-paket yang telah ter-install :

autoconf-2.62 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1 GNU Standards-compliant Makefile generator (1.10)
automake-wrapper-20071109 Wrapper script for GNU automake
cvsup-without-gui-16.1h_4 File distribution system optimized for CVS (non-GUI version
ezm3-1.2_1 Easier, more portable Modula-3 distribution for building CV
gettext-0.17_1 GNU gettext package
gmake-3.81_3 GNU version of ‘make’ utility
help2man-1.36.4_3 Automatically generating simple manual pages from program o
libiconv-1.13.1 A character set conversion library
libtool-2.2.6a Generic shared library support script
m4-1.4.13,1 GNU m4
p5-gettext-1.05_2 Message handling functions
perl-5.8.9_3 Practical Extraction and Report Language
portaudit-0.5.13 Checks installed ports against a list of security vulnerabi
portupgrade-2.4.6_3,2 FreeBSD ports/packages administration and management tool s
ruby-1.8.7.160_4,1 An object-oriented interpreted scripting language

Install Portaudit dan Portupgrade selesai.

//

Merawat dan Melakukan Update Paket-Paket

1 server# postsnap fetch
2 server#  portsnap update
3 server#  pkgdb -F
4 server#  portaudit -Fda
5 server#  pkg_version -v | grep "needs updating"

Akan terlihat ports-ports mana saja yang telah ada update versi terbarunya, contoh:

mhash-0.9.9 < needs updating (port has 0.9.9.9)
python26-2.6.2_2 < needs updating (port has 2.6.2_3)

Lakukan update ports tersebut dengan perintah:

Setelah update selesai, bersihkan Ports Tree

Dan hapus ports source yang di-donwload

Selesai, proses perawatan dan updating ports dapat dilakukan setiap hari. Sehingga aplikasi yang berjalan di server adalah aplikasi-aplikasi yang sudah stable dan terbaru.

Install dan Konfigurasi Bash Shell pada FreeBSD

Install Bash Shell

1 server# cd /usr/ports/shells/bash
2 server# make
3 server# make install
4 server# make clean

Ubah shell utama user-user yang diinginkan menjadi menggunakan Bash shell :

Edit untuk user root dan user biasa, ubah “/bin/sh” menjadi “/usr/local/bin/bash“. Seperti berikut :

1 root:$1$rHqzsY9B$Iqend1AxKaln1S2N74qT8/:0:0::0:0:Root Devilian:/root:/usr/local/bin/bash
2 devilian:$1$DxNIHs1w$pboIkCl60/BXsGb6MWp2e0:1001:0::0:0:Devilian Network:/home/devilian:/usr/local/bin/bash

Siapkan file Batch yang akan dijalankan saat user login :

1 server# ee ~/.bashrc
2 server# ee ~/.bash_profile
3 cp ~/.bash* ~devilian/
4 chown devilian ~devilian/.bash*

//

Isi file ~/.bashrc dan ~/.bash_profile adalah :

1 umask 022
2 PS1="[\u@\h \W]\\$ "
3 alias ls='ls -aFG'
4 alias ll='ls -l'
5 alias lh='ls -lh'

Test login menggunakan user yang telah diubah menggunakan Bash Shell.
Install Bash Shell selesai.

 

OPTIMASI DAN COMPILE KERNEL di FREEBSD

 

Hal terpenting sebelum melakukan optimasi dan compile kernel adalah mengetahui semua perangkat yang ada pada mesin server atau komputer serta memastikan apakah perangkat tersebut benar-benar dibutuhkan. Mengetahui perangkat yang aktif pada mesin FreeBSD dapat menggunakan perintah :

 

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-STABLE #0: Mon Sep 7 01:09:43 WIT 2009
root@server.devilian.com:/usr/obj/usr/src/sys/GENERIC
Timecounter “i8254″ frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz (1999.75-MHz 686-class CPU)
Origin = “GenuineIntel” Id = 0x6f2 Stepping = 2
Features=0x78bf3bf
Features2=0×9
real memory = 536805376 (511 MB)
avail memory = 511279104 (487 MB)
pnpbios: Bad PnP BIOS data checksum
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter “ACPI-safe” frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0×4008-0x400b on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
isab0:
at device 1.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0×170-0×177,0×376,0xd000-0xd00f at device 1.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
ata1: on atapci0
ata1: [ITHREAD]
vgapci0: mem 0xe0000000-0xe07fffff at device 2.0 on pci0
em0: port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 11 at device 3.0 on pci0
em0: [FILTER]
em0: Ethernet address: 08:00:27:09:12:15
pci0: at device 4.0 (no driver attached)
pci0: at device 7.0 (no driver attached)
em1: port 0xd040-0xd047 mem 0xf0820000-0xf083ffff irq 10 at device 8.0 on pci0
em1: [FILTER]
em1: Ethernet address: 08:00:27:29:16:ed
acpi_acad0: on acpi0
atkbdc0: port 0×60,0×64 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
psm0:
irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xc8fff,0xe2000-0xe2fff pnpid ORM0000 on isa0
ppc0: parallel port not found.
sc0: at flags 0×100 on isa0
sc0: VGA <16 virtual consoles, flags=0×300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0×10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter “TSC” frequency 1999751824 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 20480MB at ata0-master UDMA33
acd0: DVDROM at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a

//

1 server# cd /sys/i386/conf/
2 server# cp GENERIC FIREWALL
3 server# ee FIREWALL

Isi file FIREWALL

01 cpu             I686_CPU
02 ident           FIREWALL
03 makeoptions     DEBUG=-g
04 options         SCHED_ULE
05 options         PREEMPTION
06 options         INET
07 options         INET6
08 options         SCTP
09 options         FFS
10 options         SOFTUPDATES
11 options         UFS_ACL
12 options         UFS_DIRHASH
13 options         UFS_GJOURNAL
14 options         MD_ROOT
15 options         NFSCLIENT
16 options         NFSSERVER
17 options         NFSLOCKD
18 options         NFS_ROOT
19 options         MSDOSFS
20 options         CD9660
21 options         PROCFS
22 options         PSEUDOFS
23 options         GEOM_PART_GPT
24 options         GEOM_LABEL
25 options         COMPAT_43TTY
26 options         COMPAT_FREEBSD4
27 options         COMPAT_FREEBSD5
28 options         COMPAT_FREEBSD6
29 options         SCSI_DELAY=5000
30 options         KTRACE
31 options         STACK
32 options         SYSVSHM
33 options         SYSVMSG
34 options         SYSVSEM
35 options         P1003_1B_SEMAPHORES
36 options         _KPOSIX_PRIORITY_SCHEDULING
37 options         KBD_INSTALL_CDEV
38 options         ADAPTIVE_GIANT
39 options         STOP_NMI
40 options         AUDIT
41 options         SMP
42 device          apic
43 device          cpufreq
44 device          eisa
45 device          pci
46 device          ata
47 device          atadisk
48 device          atapicd
49 options         ATA_STATIC_ID
50 device          atkbdc
51 device          atkbd
52 device          kbdmux
53 device          vga
54 device          splash
55 device          sc
56 device          agp
57 device          pmtimer
58 device          em
59 device          miibus
60 device          rl
61 device          loop
62 device          random
63 device          ether
64 device          sl
65 device          ppp
66 device          tun
67 device          pty
68 device          md
69 device          gif
70 device          faith
71 device          firmware
72 device          bpf
73 options         IPFIREWALL
74 options         IPFIREWALL_VERBOSE
75 options         IPFIREWALL_FORWARD
76 options         IPFIREWALL_VERBOSE_LIMIT=100
77 options         IPFIREWALL_DEFAULT_TO_ACCEPT
78 options         IPDIVERT
79 options         ACCEPT_FILTER_DATA
80 options         ACCEPT_FILTER_HTTP
81 options         DUMMYNET
82 options         IPSTEALTH

Kernel build directory is ../compile/FIREWALL
Don’t forget to do “make cleandepend && make depend”

1 server# cd ../compile/FIREWALL/
2 server# make cleandepend && make depend




===> zlib (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/src/sys/i386/compile/FIREWALL /usr/src/sys/modules/zlib/../../net/zlib.c
===> zyd (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
ln -sf /usr/src/sys/i386/compile/FIREWALL/opt_usb.h opt_usb.h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/src/sys/i386/compile/FIREWALL /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c

Jika tidak ada error, proses compile berakhir disini.
Selanjutnya mengaktifkan firewall yang telah ditambahkan pada kernel.

Tambahkan baris berikut pada file /etc/rc.conf

1 firewall_enable="YES"
2 firewall_script="/etc/rc.firewall"
3 firewall_type="OPEN"
4 firewall_quiet="YES"

Keluar dari editor dan simpan.
Aktifkan kernel baru dengan me-reboot komputer :

Lihat kernel yang aktif setelah optimasi dan compile:

FreeBSD server.devilian.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Sep 7 17:56:30 WIT 2009 root@server.devilian.com:/usr/src/sys/i386/compile/FIREWALL i386

Cek apakah firewall (ipfw) telah aktif :

00100 0 0 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
00300 0 0 deny ip from 127.0.0.0/8 to any
65000 210 22826 allow ip from any to any
65535 0 0 allow ip from any to any

//

Bandingkan hasil dmesg setelah optimasi kernel :

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-STABLE #0: Mon Sep 7 17:56:30 WIT 2009
root@server.devilian.com:/usr/src/sys/i386/compile/FIREWALL
Timecounter “i8254″ frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz (1999.97-MHz 686-class CPU)
Origin = “GenuineIntel” Id = 0x6f2 Stepping = 2
Features=0x78bf3bf
Features2=0×9
real memory = 536805376 (511 MB)
avail memory = 515543040 (491 MB)
pnpbios: Bad PnP BIOS data checksum
kbd1 at kbdmux0
acpi0: on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter “ACPI-safe” frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0×4008-0x400b on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
isab0:
at device 1.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0×170-0×177,0×376,0xd000-0xd00f at device 1.1 on pci0
ata0: on atapci0
ata0: [ITHREAD]
ata1: on atapci0
ata1: [ITHREAD]
vgapci0: mem 0xe0000000-0xe07fffff at device 2.0 on pci0
em0: port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 11 at device 3.0 on pci0
em0: [FILTER]
em0: Ethernet address: 08:00:27:09:12:15
pci0: at device 4.0 (no driver attached)
pci0: at device 7.0 (no driver attached)
em1: port 0xd040-0xd047 mem 0xf0820000-0xf083ffff irq 10 at device 8.0 on pci0
em1: [FILTER]
em1: Ethernet address: 08:00:27:29:16:ed
acpi_acad0: on acpi0
atkbdc0: port 0×60,0×64 irq 1 on acpi0
atkbd0: irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: at iomem 0xc0000-0xc8fff,0xe2000-0xe2fff pnpid ORM0000 on isa0
sc0: at flags 0×100 on isa0
sc0: VGA <16 virtual consoles, flags=0×300>
vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter “TSC” frequency 1999967452 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ad0: 20480MB at ata0-master UDMA33
acd0: DVDROM at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a

Proses optimasi dan compile kernel selesai.

 
Leave a comment

Posted by on May 25, 2011 in Linux

 
 
Follow

Get every new post delivered to your Inbox.