Sunday, January 15, 2012

How to post html code in your blog

To post html code in your blog we have to convert first, the following steps :
  1. Go to site 'http://centricle.com/tools/html-entities/'.
  2. Delete this code in the box 'Ampersands & angle brackets need to be encoded.' then copy the html code that will be posted into the box.
  3. Then click encode it will display a new code convert results.
  4. Then copy and paste the new code into the blog.
May be useful.

Friday, January 13, 2012

Unable to update using apt-get on Ubuntu 11.04

Sometimes after the installation process does not go well, I encountered problems when using apt-get update message appears like this:
E :  Encountered a section with no package : header
E : Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary_i386_packages
E : The package lists or status file could not be parsed or opened.

The solution is remove all the listings package does not remove the package repository, only a list of packages in them. Removing the list of packages will force apt-get to rebuild.
The first step is open a terminal by pressing ctrl + alt + T and log in as super user with the command sudo-i then type the command rm / var / lib / apt / lists / *-vf then rebuild the package listings by typing the command apt-get update .

Hopefully this post a little help and hope everything goes smoothly.

Saturday, October 29, 2011

remastering ubuntu


Dengan menanbahkan paket Unity 2D maka jika saat kita menjalankan CD hasil remaster pada komputer yang perangkat grafisnya belum dikenali atau belum mendukung openGL akan menjalankan Unity 2D sebagai default sesi menggantikan desktop Gnome 2.32.

Sebelum memulai remaster dengan UCK, ada baiknya Anda menyiapkan dulu bahan-bahan yang diperlukan. Semua bahan dalam tutorial ini bisa Anda dapatkan melalui artikel Remaster Ubuntu 11.04 menjadi MacbuntuX Remix 11.04. Siapkan juga file ISO master Ubuntu 11.04 versi desktop.

Pastikan Anda juga terhubung dengan internet, karena koneksi internet dibutuhkan selama proses remaster menggunakan UCK GUI. Instal paket UCK dari repositori Ubuntu dengan menggunakan Synaptic, pada kotak pencarian, silahkan ketik "uck" agar mudah menemukan paket yang dibutuhkan. Tandai paket UCK untuk diinstal pada sistem yang Anda gunakan...


Jalankan UCK melalui menu Applications --> System Tools --> Ubuntu Customization Kit jika Anda menggunakan desktop Gnome, beberapa saat kemudian UCK gui akan segera dijalankan...


Pada layar "Welcome" tekan tombol "Close" untuk melanjutkan...
Tampilkan Gambar

Pada layar berikutnya, silahkan tentukan paket bahasa yang ingin Anda sertakan dalam distribusi remaster Ubuntu 11.04 yang ingin Anda buat, dalam contoh ini kami hanya menyertakan paket bahasa Inggris, dengan pertimbangan untuk menghemat kapasitas agar hasil remaster dapat di distribusikan dengan sebuah CD. Centang pada menu "en" lalu tekan "OK" untuk melanjutkan..


Langkah selanjutnya, silahkan tentukan bahasa apa saja yang akan tersedia saat menjalankan Live CD. Pilih "en" lalu tekan "OK" untuk melanjutkan...


Silahkan pilih bahasa yang akan digunakan sebagai default saat menjalankan Live CD jika Anda memutuskan untuk menyertakan lebih dari satu bahasa pada langkah sebelumnya, tekan "OK" untuk melanjutkan...


Tentukan desktop environment yang digunakan dalam remaster, karena kita akan meremaster Ubuntu, maka pilih opsi kedua "gnome". Jika suatu ketika Anda ingin meremaster Kubuntu 11.04, maka pilih opsi pertama "kde"...


Pada jendela "Add new entry", silahkan masukkan label yang akan digunakan sebagai label pada CD hasil remaster, dalam contoh ini kami menggunakan label "MacbuntuX Live CD"...


Pada layar selanjutnya, pilih "yes" untuk melakukan perubahan selama proses remaster...


Langkah berikutya, pilih "no" agar paket wubi yang dapat digunakan untuk menginstal Ubuntu di dalam Windows tidak dihapus dari distribusi...


Langkah selanjutnya, silahkan tentukan lokasi tempat Anda menyimpan file ISO master Ubuntu 11.04...


Pada layar "Ready to build", tekan "Close" untuk memulai proses customisasi...
Tampilkan Gambar

Masukkan password Anda lalu tekan enter, proses mengextract segera dimulai, silahkan tunggu hingga selesai karena ini akan memerlukan beberapa waktu...
Tampilkan Gambar

Setelah semua paket remaster selesai diextract ke folder tmp, jendela customisasi UCK akan ditampilkan, pilih opsi pertama "Run package manager" untuk menjalankan Synaptic yang akan kita gunakan untuk menambah dan atau mengurangi paket-paket aplikasi yang akan disertakan dalam distribusi remaster...


Dalam contoh ini kami menambahkan paket Unity 2D untuk disertakan dalam remaster...


Setelah semua paket yang ingin ditambahkan atau dikurangi selesai diproses, tutup jendela Synaptic untuk membuka kembali jendela customisasi UCK...

Sebelum memilih opsi berikutnya, copy paste terlebih dahulu semua bahan remaster yang telah disiapkan termasuk file initial ram disk (initrd.lz) yang telah disesuaikan ke folder kerja remaster. Tentang bahan-bahan remaster yang dibutuhkan dalam contoh ini serta cara mengedit file initrd.lz yang digunakan untuk mengganti user Live CD, silahkan merujuk pada artikel kami tentang remaster Ubuntu 11.04 sebelumnya. Tekan kombinasi tombol Alt+F2 lalu ketik "gksu nautilus" tanpa kutip untuk menjalankan nautilus sebagai root. Copy paste folder "bahan-remaster" ke folder kerja remaster di "/home/labs1104/tmp/remaster-root/home", pada contoh ini "labs1104" adalah home direktori user pada sistem yang kami gunakan, silahkan sesuaikan dengan home direktori user yang Anda gunakan...


Copy paste file initrd.lz yang telah Anda buat ( jika Anda ingin mengganti nama User dalam distribusi remaster ) ke folder "/home/labs1104/tmp/remaster-iso/casper", Anda dapat mengabaikan langkah ini jika tidak ingin mengganti user Live CD...
Tampilkan Gambar

Setelah semua bahan remaster dan file initrd.lz disalin ke folder kerja remaster, tutup jendela nautilus. Pada jendela customisasi UCK, pilih opsi kedua "Run console application" untuk menjalankan "UCK customization console"...


Pada jendela "UCK customization console", ketik "cd home/bahan-remaster" tanpa kutip untuk masuk ke folder "bahan-remaster". Ketik "dpkg -i *.deb" tanpa kutip untuk menginstal semua paket yang telah kita siapakan secara offline ( Tentang paket yang kami instal secara offline dalam contoh ini, dapat Anda baca dalam artikel kami sebelumnya)....


Setelah semua paket yang kita tambahkan secara offline selesai diinstal, ketik "nautilus" tanpa kutip untuk menjalankan nautilus...
Tampilkan Gambar

Langkah selanjutnya adalah melakukan perubahan tampilan dan melakukan customisasi lainnya yaitu meletakkan folder-folder theme, icon, cursor, sound dan background ketempatnya masing-masing serta mengedit beberapa file konfigurasi. Silahkan merujuk pada artikel sebelumnya untuk melakukan perubahan tampilan dalam remaster ini.

Setelah perubahan selesai dilakukan, tutup jendela nautilus. Bagai mana jika setelah nautilus ditutup jendela "UCK customization console" tidak kembali ke posisi semula?, lihat gambar berikut...


...tutup paksa jendela "UCK customization console" dengan mengklik tombol "Close" (silang) agar jendela "UCK customization console" dibuka kembali, pada jendela "UCK customization console" yang telah dibuka kembali, ketik "exit" tanpa kutip untuk menutup dan menampilkan kembali jendela customisasi UCK ...
Tampilkan Gambar

Langkah terakhir, pilih opsi ketiga "Continue build" pada jendela customisasi UCK untuk memulai proses pembuatan ISO remaster...


Tunggulah hingga proses diselesaikan, ini akan memerlukan beberapa waktu. Setelah proses pembuatan ISO remaster selesai, tekan tombol "Close" pada jendela "Build success" untuk mengakhiri proses remaster yang kita lakukan...
Tampilkan Gambar

Sekarang Anda dapat memeriksa dalam folder "/tmp/remaster-new-files" telah terdapat file ISO hasil remaster bernama "livecd.iso"...
Tampilkan Gambar

Anda dapat menguji hasil remaster dengan cara memburning file ISO tersebut kedalam sebuah CD/DVD bergantung kapasitas hasil akhir remaster yang Anda lakukan atau dengan menjalankan file ISO hasil remaster menggunakan aplikasi virtual mesin seperti VMWare Player atau VirtualBox.

Gambar berikut adalah desktop MacbuntuX Remix 11.04 hasil remaster kami dengan desktop Unity 2D...


Selamat mencoba...

The Basic Commands Of Linux

a


adduser = Add users to the system
addgroup = Add a group to the system
alias = Create an alias
apropos = Search help manual pages (man-k)
apt-get = Find and install the software package (Debian)
aspell = Spell checking
awk = Find and replace text, database sort / validate / index



b

basename = Strip directory and suffix from filenames
bash = GNU Bourne-Again Shell
bc = Arbitrary precision calculator language
bg = Inquiry into the background
break = Exit from a loop
builtin = Run a shell builtin
bzip2 = Compress or decompress a file called (s)


c

cal = Show calendar
case = Conditionally perform a command
cat = Displays the contents of the file
cd = Changing the directory
cfdisk = Partition table manipulator for Linux
chgrp = Change the group ownership
chmod = Change the access permissions
chown = Change the file owner and group
chroot = Run the command with a different root directory
chkconfig = System services (runlevel)
cksum = Print CRC checksum and byte count
clear = Clear the terminal screen
cmp = Command to compare two operands
comm = Compare two sorted files line by line
command = Run a command - ignoring shell functions
continue = Resume the next iteration of a loop
cp = Copying one or more files to another location
cron = Daemon running a command that is scheduled
crontab = Schedule a command to run at another time
csplit = Split files into the context - specified chunks
cut = split files into several parts


d

date = Display or change the date & time
dc = Desk Calculator
dd = Convert and copy a file, write disk headers, boot records
ddrescue = Tools to improve data
declare = Declare variables and give them attributes
df = Show free disk space
diff = Show differences between two files
diff3 = Show differences among three files

dir = Short list directory contents
dircolors = Color setup for `ls ‘
dirname = Convert all the pathname to the multiple paths
dirs = Display list of remembered directories
dmesg = Print the kernel messages & drivers
du = Estimate file space usage


e

echo = Display message on screen
egrep = Find the file for lines that match an extended expression
eject = Eject removable media
enable = Enable and disable builtin shell commands
env = Environment variables
ethtool = Ethernet card settings
eval = Evaluate several commands / arguments
exec = running the command
exit = Exit from shell
expect = automate applications accessed through a terminal-free
expand = Convert tabs to spaces
eksport = Set the environment variable
expr = evaluation of expression


f

false = Not doing anything, does not work
fdformat = Low-level format a floppy disk
fdisk = Partition table manipulator for Linux
fg = Send job to foreground
fgrep = Find the file for lines that match a fixed string
file = Determine the type of file
find = Find files that match the desired criteria
fmt = Reformat the text type
fold = Wrap text to fit a certain width
for = Expanding the words, and execute commands
format = Format disks or tapes
free = Display memory usage
fsck = Checking and repairing file system consistency
ftp = File Transfer Protocol
fungsi =  Define the macro function
fuser = Identify / decide which process is accessing the file


g

gawk = Find and Replace text in files
getopts = Describe the parameter according to position
grep = Find the file for lines that match a certain pattern
group = Print the name of the user group
gzip = Compress or decompress a file name


h

hash = Considering the entire pathname of a name argument
head = Output the first part of the file
help = Show support for built-in command
history = The command history
hostname = Print or set system name


i

id = Print user and group ids
if = perform commands conditionally
ifconfig = Configuring the network interface
ifdown = Stopping the network interface
ifup = Starting up a network interface
import = X server screen capture and save an image to a file
install = Copy files and set attributes


j

join = Join lines on a common field


k

kill = Dismiss the ongoing process
killall = Lay off the process by name


l

less = Display output one screen at a time
let = Perform arithmetic on shell variables
ln = Creating a relationship between file
local = Creating a variable
locate = Find the file
logname = Print the name of the login
logout = Exit a login shell
look = Display lines beginning with a certain string
lpc = Control Program line printer
lpr = Off line print
lprint = Print a file / print file
lprintd = Abort a print job
lprintq = List the print queue
lprm = Remove jobs from the print queue
ls = List information about file
lsof  = List open files


m

make = Recompile a group of programs
man = Help manual
mkdir = Create a new folder
mkfifo = Make FIFOs (named pipes)
mkisofs = Create a hybrid filesystem ISO9660/JOLIET/HFS
mknod = Make block or character special file
more = Display output one screen at a time
mount  = Mount  file system
mtools = Manipulate MS-DOS file
mv = Move or rename a file or directory
mmv = Move the masses and change the name (file)


n

netstat = information Network
nice = Set the priority of a command or job
nl = Number lines and write files
nohup = Run a command immune to hangups
nslookup = Query the call server interactively Internet


o

open = open the file in the default application
op = operator access


p

passwd = Modify the user's password
paste = Combining files line
pathchk  = Periksa nama file portabilitas
ping = Test a network connection
pkill = stop the process running
popd = Returns the previous value of the current directory
pr  = Prepare files for printing / print
printcap = printer capability database
printenv = Print environment variables
printf  = Format and print data
ps = Status process
pushd = Save and then change the current directory
pwd = Print the working directory



q

quota = Rejection and limiting disk usage
quotacheck  = Examining file system for disk usage
quotactl = Set disk quota


r

ram =  ram disk device
rcp = Copy files between two machines
read = Read lines from standard input
readarray = Read from stdin to an array variable
readonly  = Marking variables / functions as readonly
reboot = Reboot the system
rename = Change the file name
renice = Change priority of running processes
remsync = Synchronize remote files via email
return = Exit a shell function
rev = Reverse lines of a file
rm = Deleting a file
rmdir = Remove a folder
rsync = Remote file copy (Synchronize file trees)


s

screen = Multiplex terminal, run remote shells via ssh
scp = Secure copy (remote file copy)
sdiff  = Combining the two files interactively
sed = Stream Editor
select = Accept keyboard input
seq = Print numeric sequences
set = Manipulate shell variables and functions
sftp = Secure File Transfer Program
shift = The shift positional parameters
shopt = shell option
shutdown = Shutdown or restart linux
sleep = Delay / delays for a specified period
slocate = locate the file
sort = Sorting text file
source = Execute commands from file `.”
split = Split files into fixed-cut
ssh = Secure Shell client (remote login program)
strace = Trace system calls and signals
su = Substitute user identity
sudo = Run the command as another user
sum = Print a checksum for a file
symlink  = Make a new name for the file
sync = Synchronize data on disk with memory


t

tail = Output the last part of the file
tar = Tape Archiver
tee = Redirect output to multiple files
test = Evaluation of conditional expressions
time = Measure Program running time
times = User and system time
touch = Change file timestamps
top = List of processes running on the system
traceroute = Trace Route to Host
trap = Execute commands when a signal is set (Bourne)
tr = Translate, squeeze, and / or delete characters
true = Do nothing, successfully
tsort = topological sort
tty = Print filename of terminal on stdin
type = describe the command


u

ulimit  = Limit user resources (resources)
umask = The user creates a hidden file
umount = Unmount (not up) devices
unalias = Remove an alias
uname = Information print system
unexpand = Convert spaces to tabs
Uniq = Uniquify file
unit = Convert units from one scale to another
unset = Remove variable or function name
unshar = Unpack shell archive records
until = Executing commands (until error)
useradd = Creating a new user account
usermod = Modifying a user account
users = List the users currently logged in
uuencode = Encode binary file
uudecode = Decode a file created by uuencode


v

v = List the contents of a directory verbosely ( `ls-l-b ‘)
vdir = List the contents of a directory verbosely ( `ls-l-b ‘)
vi = text Editor
vmstat = Report virtual memory statistics



w

watch = Execute / display a program periodically
wc = Print byte, word, and line counting
whereis = Find the user $ path, man pages and source files for the program
which = Find the user file $ path to the program
while = Run the command
who = Print all usernames currently logged in
whoami = Print the current user id and name (`id-un ')
wget = Retrieve web pages or files via HTTP, HTTPS or FTP
write = Send messages to other users


x

xargs = Execute utility, passing constructed argument list


y

yes = Print a string until the interrupt
.  = The script runs shell commands that are now

Friday, July 9, 2010

Langkah - Langkah Instalasi Ubuntu 9.04 Dekstop Edition

Ubuntu adalah salah satu distribusi linux yang berbasiskan pada Debian dan memiliki interface Dekstop.
Banyak versi-versi yang telah di rilis salah satunya adalah versi 9.04 (Dekstop Edition) dan berikut adalah langkah-langkah instalasi Ubuntu.

1. Terlebih dahulu anda download file ISO CD Ubuntu Disini lalu burning file ISO tersebut kedalam sebuah CD.

2. Lakukan perubahan pada Setup Bios untuk mengkonfigurasi perangkat Boot pertama dengan menetapkan CD-ROM pada Boot pertama, sebelum keluar dari Bios masukan CD lalu save & Exit.

3. Pilihlah bahasa yang akan di gunakan dalam proses instalasi.

4. Lalu muncul tampilan menu berikut, pilih "Install Ubuntu" untuk menginstal.
5. Tunggu proses loading.
6. Pilih bahasa yang akan digunakan untuk standar bahasa pada sistem akhir, klik "forward".


7. Pilihlah Zona waktu anda, klik "Forward".

8. Pilihan Layout Keyboard ini pada umumnya yang sering digunakan adalah USA, klik "Forward".

9. Selanjutnya partisi Harddisk.
Ada 2 pilihan untuk menentukan partisi pada Harddisk :
a). "Erase and use the entire disk", pada pilihan ini akan menggunakan seluruh isi harddisk dan akan menghapus seluruh isinya.
b). "Specify partitions manually (advanced)", pada pilihan ini di gunakan jika di dalam harddisk sudah ada partisi lain atau sistem operasi lain.
Setelah menentukan pilihan klik "Forward".

10. Masukan Username dan Password, klik "Forward".

11. Klik "Install" untuk memulai proses instalasi.

12. Tunggu sampai proses instalasi selesai.

13. Klik "Restart Now" dan keluarkan CD.

Komputer akan merestart dan rubah kembali setup bios pada perangkat pertama boot dengan menetapkan harddisk pada boot pertama.

Sunday, July 4, 2010

BIOS

Nyalakan komputer lalu sistem akan mulai POST (Power On Self Test), lalu tekan tombol DEL untuk masuk ke SETUP. Apabila sistem sudah masuk dan anda belum menanggapinya anda bisa menekan tombol Restart untuk melakukan Setup Bios.

Ini adalah setup bios untuk Phoenix Bios. Jika anda memiliki versi yang berbeda dengan Phoenix Bios mereka akan banyak kesamaan. Perlu di ketahui bahwa pengaturan bios yang tidak benar dapat menyebabkan kerusakan sistem, oleh karena itu disarankan agar anda juga mengikuti panduan BIOS yang di sediakan  pada Motherboard manual anda. Jika anda memutuskan melakukan perubahan pada pilihan tertentu lebih aman anda membuat catatan dari apa yang telah berubah. Kemudian Restart sistem itu untuk melihat performanya. Jika sistem berperilaku normal atau menjadi tidak stabil anda bisa kembali ke pengaturan sebelum anda rubah.

Klik pada salah satu Setup Bios di bawah ini untuk setup fitur yang ingin anda rubah.


Standard CMOS Features
Disini anda dapat setup BIOS fitur dasar seperti waktu, tanggal, jenis floppy dll. Gunakan tombol panah untuk bergerak dan tekan enter untuk memilih opsi yang diperlukan. Anda dapat menentukan apakah anda memiliki perangkat IDE seperti Harddrive, CD-ROM, ZIP drive, dll.




Advanced BIOS Features
Seperti yang anda lihat pada gambar di bawah ini, Perangkat Boot pertama di atur ke Harddisk. Hal ini memastikan bahwa Harddisk di baca pertama oleh sistem Boot, lalu perangkat kedua adalah ZIPdrive dan perangkat Boot. Apabila anda ingin Boot pertama dari CD anda dapat mengatur  perangkat Boot pertama dengan CD-ROM.




Advanced Chipset Features
Disini anda dapat mengatur isi buffer chipset. Hal ini terkait erat dengan perangkat keras dan oleh karena itu disarankan agar anda keluar dari perangkat default kecuali anda tahu apa yang anda lakukan. Memilikipengaturan yang tidak benar dapat membuat sistem anda tidak stabil. Jika anda tahu bahwa anda dapatmenangani SDRAM CAS 2, kemudian membuat perubahan dapat mempercepat waktu memori. Jika anda memiliki SDRAM 128MB maka jumlah maksimum memori kartu AGP yang dapat di gunakan adalah 128MB.


Integrated Peripheral
Menu ini memungkinkan anda untuk mengubah berbagai I/O device seperti pengendali IDE, Port Serial, Port Paralel, dll.


Power Management Setup
Pengelolaan daya yang memungkinkan anda untuk men-setup berbagai kekuatan fitur penghematan, ketika PC sedang dalam keadaan modus siaga.



Pnp/PCI Configurations
Menu ini memungkinkan anda untuk mengkonfigurasi slot PCI. Anda dapat menetapkan IRQ slot PCI untuk berbagai keperluan.




Frecuency/Voltage Control
Menu ini juga memungkinkan anda untuk menentukan pengaturan Frekuensi / kontrol tegangan.


Load Fail-Save Defaults
Gunakan menu ini untuk memuat nilai-nilai default Bios pengaturan pabrik untuk sistem operasi.




Load Optimized Defaults
Gunakan pengaturan ini untuk memuat pengaturan pabrik default ke Bios untuk kinerja sistem operasi yang stabil.




Set Supervisor Password
Menu ini memungkinkan anda untuk menentukan password Bios untuk keamanan Bios anda.

 
Set User Password
Untuk melindungi password Bios anda, anda dapat menentukan password. Pastikan anda tidak lupa atau anda tidak dapat mengakses Bios. Satu-satunya cara anda dapat mengakses Bios adalah reset dengan menggunakan jumper reset di motherboard.


Save & Exit Setup
Untuk menyimpan perubahan yang anda lakukan pada Bios anda harus memilih opsi ini. Dari kotak dialog pilih "Y".



Exit Without Saving
Jika anda tidak ingin menyimpan perubahan yang anda buat ke Bios, pilih "N" dari kotak dialog.