masrust.web.id

just for share

Archive for the ‘Linux’ Category

Install Debian Linux from USB boot memory stick

leave a comment

There are more and more Laptops nowadays which do not have a CD/DVD-ROM facility build in but are able to boot from USB memory stick. This small guide provides all needs on how to create a bootable USB memory stick to install a Debian without a need for CD/DVD drive.

Before you continue make sure that you have backed up all your data from your USB memory stick. After completing this guide your USB memory stick will contain a new partition table and all your data will be lost.

This guide also assumes that you have a running linux system and USB memory stick with minimal size of 512MB which you will use for the process of creating Debian boot installation USB stick.
1. Find USB device name

Plug in your USB stick and find its device file name by:

fdisk -l

For the rest of this guide we are going to use /dev/sdb as our target.

WARNING: DO NOT COPY AND PASTE COMMANDS FROM THIS PAGE UNLESS YOUR TARGET DEVICE IS ALSO /dev/sdb !!
2. Create FAT16 partition

Next we need to create FAT16 partition. For this we can use cfdisk with -z option. This command will completely remove all your data from your USB stick, so backup first !:

cfdisk -z /dev/sdb

and create a first primary partition with the minimal size of 260MB and leave the rest unpartitioned or create second partition with some other filesystem for normal use of your USB stick. The size of 260 MB will fit a current Debian stable boot.img.gz and and Debian netinst ISO image.

NOTE: it is fine to create a single partition with full size of your USB memory stick but you will not be able to use more than 239MB of from your actual USB disk memory size. Once done the output of fdisk -l will look similar to the one below.

Device Boot Start End Blocks Id System
/dev/sdb1 1 197 390817 6 FAT16
/dev/sdb2 198 1016 1624896 b W95 FAT32

Download Debian boot image As a nest step we need to download Debian boot image. Use wget:

wget ftp://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/boot.img.gz

NOTE: if you want testing or unstable version of Debian boot image just change a keyword stable in the previous URL to unstable or testing.
Read the rest of this entry »

Popularity: 19% [?]

Written by masrust

April 9th, 2010 at 10:26 pm

Posted in Linux

Tagged with , , ,

Rilis openSUSE 11.3 milestone 4

leave a comment

openSUSE semakin memantapkan langkahnya dalam perbaikan distro ini dengan berkomitmen pada rilis kontinu openSUSE setiap 8 bulan sekali. Jika mengacu pada jadwal yang telah dibuat openSUSE 11.3 akan di rilis ke publik pada tanggal 15 Juli 2010, silakan di cek di roadmap openSUSE untuk melihat jadwal secara lengkap.

Nah, untuk mendukung jadwal tersebut maka openSUSE mengeluarkan versi-versi testing dari milestone, beta, alfa, rilis candidate sampai pada rilis ke publik. Sekarang openSUSE 11.3 telah masuk pada babak milestone 4 yang mana ini membawa banyak sekali penyempurnaan dari bug-bug sebelumnya dan juga menanamkan fitur-fitur terbaru di dalamnya.
Read the rest of this entry »

Popularity: 17% [?]

Written by masrust

March 29th, 2010 at 3:05 am

Posted in Linux

Tagged with , , ,

GNOME Do 0.8.3.1 telah Dirilis

leave a comment

GNOME Do,desktop search engine pada desktop GNOME itu sekarang sudah merilis versi terbarunya yaitu 0.8.3.1. Versi ini tentunya memperbaiki bug-bug yang ada pada versi sebelumnya.

Daya tarik utama dari versi ini adalah keberhasilan dalam mengatasi bug pemakaian CPU yang dapat mencapai 100% pada versi sebelumnya. Meskipun masih ada beberapa minor dari versi sebelumnya yang belum selesai di perbaiki. Namun demikian versi ini sudah cukup baik dengan kekuatan pencarian yang powerful dengan penggunaan cpu yang lebih sedikit.

Popularity: 8% [?]

Written by masrust

March 7th, 2010 at 4:19 am

Posted in Linux

Tagged with , ,

The Five Best Linux Video Players

3 comments

[ad#Google Adsense-1]
Have some downtime and want to watch a movie or two on your Linux laptop? Linux has plenty of options when it comes to video players. In fact, there might be a few too many to chhose from. So here, in no particular order, are the best video players you can find on Linux, and a few resources to help you get started.

Codecs and Other Silliness

Let’s start with the obvious: Multimedia isn’t quite as straightforward on Linux as it is on other platforms. This is not a technical deficiency, it’s a legal one. Specifically, due to patent encumbrances, the DCMA, and other licensing silliness, it’s either illegal or legally murky for vendors and open source projects to ship codecs to play DVDs or some video and audio codecs.

This is especially troublesome for vendors doing business out of the United States, because the patent laws and copyright law are so badly skewed in favor of the entertainment industry. Whereas Microsoft and Apple can license (or own outright) the technologies and bundle them as part of the overall cost of the operating system, the costs of licensing codecs and such for Linux are prohibitive for vendors giving away the OS for free.
Read the rest of this entry »

Popularity: 14% [?]

Written by masrust

February 24th, 2010 at 4:59 pm

Posted in Linux

Tagged with , ,

Debian Installer 6.0 Alpha1 release

2 comments

[ad#Google Adsense-1]
The Debian Installer Team[1] is pleased to announce the Debian Installer 6.0 Alpha1. This first release since Lenny brings a lot of new features and improvements.

It is also important to note that we have disabled the Graphical
Installer, and as consequence the speakup drivers, for this release
due a breakage in the DirectFB backend of the GTK+ library. We are
working to get this fixed for next release.

As most people will have noticed, this release has taken more time than
usual. This was for various reasons that go from technical (major
changes in the installer itself and other components that affect us)
to lack of manpower to manage all the work required quickly. We really
need more people to help us and contribute; please contact us if you’re
interested in helping.

Here follows the most important new features and improvements.

Help during the installation process

The dialogs presented during the installation process now have the
capacity to offer the user a help option. This is already in use in some
dialogs during the installation and will be increasingly used in future
releases. We believe this will improve the user experience during the
installation process, especially for new users.

Installation of recommended packages

For Lenny and earlier releases Debian Installer did not install Recommends.
This has been changed for Squeeze and D-I will now install recommended
packages by default.

There is an option to configure APT to not install Recommends by default
(from the boot prompt or using preseeding). This option is intended only
for expert users who know what the consequences are of not installing
Recommends and who have the experience/skills needed to cherry-pick any
desired Recommends after the installation has been completed.

The installer makes a few specific exceptions to the general configuration
by either always or never installing the Recommends of specific packages
in cases where following the general setting gives undesired results.
Read the rest of this entry »

Popularity: 11% [?]

Written by masrust

February 23rd, 2010 at 9:06 pm

Posted in Linux

Tagged with , , ,

Mereset password root mysql

one comment

Bagi yang suka lupa karena kebanyakan password, atau gara-gara memang pelupa ini saya akan memberikan cara mudah untuk mereset password root mysql server anda dengan mudah. Tutorial ini adalah tutorial ringan tapi sangat berguna,hehee.. Berikut ini adalah cara mudahnya :

Pertama login dulu sebagai root di server dengan menuliskan


su

masukkan password root system anda.
jika service mysql sedang jalan maka stop dulu servicenya

#rcmysql stop
Shutting down service MySQL

cari dimana server anda meletakkan file mysqld_safe dengan mengetikkan perintah

#whereis mysqld_safe

kalau menggunakan opensuse atau debian letaknya di /usr/bin/mysqld_safe. Ekseskusi perintah berikut:
[ad#Google Adsense-1]

#/usr/bin/mysqld_safe --skip-grant-tables &
6702100222 22:10:29 mysqld_safe Logging to '/var/log/mysql/mysqld.log'.
100222 22:10:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

langsung masuk sebagai root tanpa password

mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.36-log SUSE MySQL RPM

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Read the rest of this entry »

Popularity: 13% [?]

Written by masrust

February 22nd, 2010 at 10:33 pm

Step by Step Membuat File Server dengan openSUSE 11.2

2 comments

Disini saya ingin berbagi pengalaman membuat samba server dengan menggunakan openSUSE 11.2. Caranya sangat mudah karena berbasis pada GUI setting sehingga kesalahan karena salah tulis script dapat dikurangi. Namun sebelum itu saya ingin bercerita tentang apa itu samba server. Samba server adalah suatu aplikasi opensource yang digunakan untuk file sharing, printer sharing dan aplikasi menggunakan smb/cifs protocol seperti antara dos, windows, os/2, linux dan lainnya.

Bagaimana cara konfigurasinya? berikut saya sampaikan step by step.

Instal aplikasi File Server
Ya, untuk mengoperasikan samba server tentunya diperlukan aplikasi file server. Cara menginstalnya ada dua cara yaitu menggunakan YaST atau menggunakan zypper. Jika menggunakan YaST masuk sofware management->pilih patern->kemudian centang File Server kemudian Instal. Jika menggunakan zypper silakan ketik

#zypper in -t pattern file_server.
[ad#Google Adsense-1]

Konfigurasi Samba Server
Masuk YaST -> Network Service -> Samba Server
Read the rest of this entry »

Popularity: 55% [?]

Written by masrust

February 22nd, 2010 at 9:49 pm

Mengatur waktu di debian melalui command line

2 comments

Kalau mengatur waktu di linux yang ada desktopnya relatif lebih mudah karena  tinggal klik kanan waktu dan tanggal di display waktu di taskbar. Tapi bagaimana jika dilakukan di server yang secara basic memang tidak disertai aplikasi-aplikasi desktop?

Berikut sedikit saya akan memberikan solusinya :D

  1. Masuk sebagai root dengan mengetikkan su kemudian enter (masukkan password root).
  2. Untuk mengetahui waktu sekarang itu mudah tinggal masukkan perintah date.
  3. Untuk mengubah zona waktu masukkan perintah dpkg-reconfigure tzdate kemudian pilih zona waktu yang diinginkan.
  4. Jika ingin mengatur secara manual ketikkan date nnddhhmmyyyy.ss dengan keterangan nn adalah dua digit bulan (01 sampai 12), dd adalah dua digit untuk tanggal (01 sampai 31 tergantung banyaknya hari dalam bulan itu), hh adalah dua digit jam (00 sampai 2359), mm dua digit untuk menit (00 sampai 59), yyyy empat digit untuk tahun dan ss adalah dua digit untuk detik tetapi harus diawali dengan tanda titik karena ini merupakan opsional. Contohnya date 011912302010.52

Setelah langkah tersebut selesai silakan dicek kembali tanggal sistem dengan mengetikkan date dan jika anda berhasil maka settingannya akan sesuai dengan yang anda inginkan sesuai settingan manual tadi.

Popularity: 12% [?]

Written by masrust

January 19th, 2010 at 3:21 am

Posted in Computer,Linux

Tagged with , , ,