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