Seperti Ubuntu, ada sejumlah pekerjaan tambahan yang perlu dilakukan setelah menginstall Debian Jessie. Berikut ini catatan pengalaman pribadi, ditulis bersambung.

Mengganti repositori

Gunakan repositori lokal supaya proses update, upgrade, dan instalasi program lebih cepat. Login sebagai root lalu edit file /etc/apt/sources.list

su
nano /etc/apt/sources.list

Hapus semua isinya dan ganti dengan yang ini…

deb http://kambing.ui.ac.id/debian/ jessie main contrib non-free
deb http://kambing.ui.ac.id/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

Simpan file, tutup, lalu ketik perintah ini…

apt-get update && apt-get upgrade

Debian sudoers

Menambahkan username ke dalam grup sudo.

adduser USERNAME sudo

Lalu edit file /etc/sudoers

nano /etc/sudoers

Tambahkan ini

# User privilege specification
root       ALL=(ALL) ALL
USERNAME   ALL=(ALL) ALL

Ganti USERNAME dengan username yang sebenarnya.

Bash autocompletion

When a user presses the tab key within an interactive command-shell, Bash automatically uses command line completion to match partly typed program names, filenames and variable names. The Bash command-line completion system is very flexible and customizable, and is often packaged with functions that complete arguments and filenames for specific programs and tasks.
Wikipedia

The programmable completion feature in Bash permits typing a partial command, then pressing the [Tab] key to auto-complete the command sequence.
TLDP

Berbeda dengan Ubuntu (dan variannya, semisal Lubuntu), fitur ini tidak aktif secara default. Kita mesti mesti mengaktifkannya terlebih dahulu.

nano /etc/bash.bashrc

Uncomment (hapus semua tanda #) di bagian ini…

# enable bash completion in interactive shells
#if ! shopt -oq posix; then
#  if [ -f /usr/share/bash-completion/bash_completion ]; then
#    . /usr/share/bash-completion/bash_completion
#  elif [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#  fi
#fi

menjadi seperti ini…

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

Tutup dan simpan file, kemudian logout.. lalu login lagi.

Timezone

Mengganti timezone dan menyesuaikan tanggal dan jam.

dpkg-reconfigure tzdata

Current default time zone: 'Australia/Adelaide'
Local time is now:      Sun Jul  3 21:29:43 ACST 2016.
Universal Time is now:  Sun Jul  3 11:59:43 UTC 2016.

Pilih timezone sesuai kota dan negara domisili anda.

Indikator baterai

Menampilkan ikon indikator baterai di kanan bawah (dekat jam).

leafpad ~/.config/lxpanel/LXDE/panels/panel

tambahkan ini:

Plugin {
 type = batt
}

Cara menampilkan ikon baterai:

  1. Klik kanan panel, pilih Add/Remove Panel Items.
  2. Klik Panel Applets.
  3. Klik Add, pilih Battery Monitor.
  4. Untuk mengatur setting-nya (ukuran ikon, warna, dsb), klik Preferences.
Add battery indicator
Add battery indicator

Indikator volume control

Sama seperti di atas, cuma pilih Volume control.

Disable NFS

Network File System (NFS) is a file system that allows computer users to access files over a network in much the same way they can access files in local storage. This is useful for sharing files across several Linodes, or other computers on the Internet. For example, you might want to share the home directories for your users, or system configuration files, over NFS.
linode.com

NFS muncul saat booting. Bisa bikin lambat booting di netbook atau komputer jadul. NFS sudah bawaan lahir sejak Debian terinstall (aka default program).

Cara menghapus NFS:

apt-get --purge remove nfs-kernel-server nfs-common portmap

Bisa juga cuma dihapus/stop service-nya (temporary):

/etc/init.d/portmap stop
/etc/init.d/nfs-kernel-server stop

…atau hapus permanen:

service portmap stop
service nfs-kernel-server stop

sumber


..
.

…bersambung…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s