Lokasi Ardelindo Aples Depok


View Ardelindo Aples in a larger map

Rabu, 29 April 2009

Konfigurasi repository Ubuntu

Petunjuk , tutorial setting konfigurasi repository Ubuntu Hardy Heron 8.04. Untuk versi lain tinggal mengganti hardy dengan versi yang di inginkan, misalkan ; intrepid atau feisty.

Setting repository Ubuntu ke Telkom FOSS-ID
vim /etc/apt/sources.list
#Aplikasi Binary Opensource
deb http://dl2.foss-id.web.id/ubuntu hardy main universe multiverse restricted
deb http://dl2.foss-id.web.id/ubuntu hardy-updates main universe multiverse restricted
deb http://dl2.foss-id.web.id/ubuntu hardy-backports main universe multiverse restricted
deb http://dl2.foss-id.web.id/ubuntu hardy-security main universe multiverse restricted
deb http://dl2.foss-id.web.id/ubuntu hardy-proposed main universe multiverse restricted

#Source Code Aplikasi Opensource
deb-src http://dl2.foss-id.web.id/ubuntu hardy main universe multiverse restricted
deb-src http://dl2.foss-id.web.id/ubuntu hardy-updates main universe multiverse restricted
deb-src http://dl2.foss-id.web.id/ubuntu hardy-backports main universe multiverse restricted
deb-src http://dl2.foss-id.web.id/ubuntu hardy-security main universe multiverse restricted
deb-src http://dl2.foss-id.web.id/ubuntu hardy-proposed main universe multiverse restricted

Update Content package
apt-get update


Instalasi aplikasi binary
apt-get install nama_aplikasi
apt-get install squid
apt-get install squid dansguardian nmap


Melihat file yang terpasang
dpkg -L nama_aplikasi
dpkg -L squid

Melihat seluruh paket yang terinstall
dpkg-query -W
dpkg-query -W | grep openoffice



Mencari Aplikasi ubuntu
apt-cache search nama_aplikasi
apt-cache search mp3
apt-cache search port scanner


Menghapus aplikasi
apt-get autoremove nama_aplikasi
apt-get autoremove dansguardian


Men-Download Source Code Aplikasi
apt-get source squid
apt-get source freeradius


Contoh download source code squid:
root@aples-desktop:~# apt-get source squid
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 2026kB of source archives.
Get:1 http://dl2.foss-id.web.id hardy/main squid 2.6.18-1ubuntu3 (dsc) [793B]
Get:2 http://dl2.foss-id.web.id hardy/main squid 2.6.18-1ubuntu3 (tar) [1726kB]
Get:3 http://dl2.foss-id.web.id hardy/main squid 2.6.18-1ubuntu3 (diff) [300kB]
Fetched 2026kB in 1s (1719kB/s)
gpg: Signature made Thu 10 Apr 2008 01:50:11 AM WIT using DSA key ID FA14013B
gpg: Can't check signature: public key not found
dpkg-source: extracting squid in squid-2.6.18
dpkg-source: unpacking squid_2.6.18.orig.tar.gz
dpkg-source: applying ./squid_2.6.18-1ubuntu3.diff.gz


Configure::
root@aples-desktop:~# cd squid-2.6.18/
root@aples-desktop:~/squid-2.6.18#
root@aples-desktop:~/squid-2.6.18# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no

Compile & Install source code aplikasi::
root@aples-desktop:~/squid-2.6.18# make
root@aples-desktop:~/squid-2.6.18# make install



============
COMMERCIAL BREAK
============
WORKSHOP LINUX ENTERPRISE
http://www.ardelindo.com/aples/default.php?module=news&id=9

TRAINING LINUX GRATIS OSS
http://www.ardelindo.com/aples/default.php?module=news&id=13

REQUEST DIKLAT ICT OPENSOURCE DAN PROFESIONAL PACKAGE
http://www.ardelindo.com
info(at)ardelindo(dot)com

Tidak ada komentar:

Posting Komentar