Pages

Selasa, 21 Mei 2013

Linux Directory





< Linux's directory structure - 1.2 >

As you may have noticed, Linux organizes its files differently from Windows. First the directory structure may seem unlogical and strange and you have no idea where all the programs, icons, config files, and others are. This tuXfile will take you to a guided tour through the Linux file system. This is by no means a complete list of all the directories on Linux, but it shows you the most interesting places in your file system.
Author: Nana Långstedt < nana.langstedt at gmail.com >
tuXfile created: 18 January 2002
Last modified: 22 September 2005
< / >

The root directory. The starting point of your directory structure. This is where the Linux system begins. Every other file and directory on your system is under the root directory. Usually the root directory contains only subdirectories, so it's a bad idea to store single files directly under root.
Don't confuse the root directory with the root user account, root password (which obviously is the root user's password) or root user's home directory.
< /boot >

As the name suggests, this is the place where Linux keeps information that it needs when booting up. For example, this is where the Linux kernel is kept. If you list the contents of /boot, you'll see a file called vmlinuz - that's the kernel.
< /etc >

The configuration files for the Linux system. Most of these files are text files and can be edited by hand. Some interesting stuff in this directory:
/etc/inittab
A text file that describes what processes are started at system bootup and during normal operation. For example, here you can determine if you want the X Window System to start automatically at bootup, and configure what happens when a user presses Ctrl+Alt+Del.
/etc/fstab
This file contains descriptive information about the various file systems and their mount points, like floppies, cdroms, and so on.
/etc/passwd
A file that contains various pieces of information for each user account. This is where the users are defined.
< /bin, /usr/bin >

These two directories contain a lot of programs (binaries, hence the directory's name) for the system. The /bin directory contains the most important programs that the system needs to operate, such as the shells, ls, grep, and other essential things. /usr/bin in turn contains applications for the system's users. However, in some cases it really doesn't make much difference if you put the program in /bin or /usr/bin.
< /sbin, /usr/sbin >

Most system administration programs are stored in these directories. In many cases you must run these programs as the root user.
< /usr >

This directory contains user applications and a variety of other things for them, like their source codes, and pictures, docs, or config files they use. /usr is the largest directory on a Linux system, and some people like to have it on a separate partition. Some interesting stuff in /usr:
/usr/doc
Documentation for the user apps, in many file formats.
/usr/share
Config files and graphics for many user apps.
/usr/src
Source code files for the system's software, including the Linux kernel.
/usr/include
Header files for the C compiler. The header files define structures and constants that are needed for building most standard programs. A subdirectory under /usr/include contains headers for the C++ compiler.
/usr/X11R6
The X Window System and things for it. The subdirectories under /usr/X11R6 may contain some X binaries themselves, as well as documentation, header files, config files, icons, sounds, and other things related to the graphical programs.
< /usr/local >

This is where you install apps and other files for use on the local machine. If your machine is a part of a network, the /usr directory may physically be on another machine and can be shared by many networked Linux workstations. On this kind of a network, the /usr/local directory contains only stuff that is not supposed to be used on many machines and is intended for use at the local machine only.
Most likely your machine isn't a part of a network like this, but it doesn't mean that /usr/local is useless. If you find interesting apps that aren't officially a part of your distro, you should install them in /usr/local. For example, if the app would normally go to /usr/bin but it isn't a part of your distro, you should install it in /usr/local/bin instead. When you keep your own programs away from the programs that are included in your distro, you'll avoid confusion and keep things nice and clean.
< /lib >

The shared libraries for programs that are dynamically linked. The shared libraries are similar to DLL's on Winblows.
< /home >

This is where users keep their personal files. Every user has their own directory under /home, and usually it's the only place where normal users are allowed to write files. You can configure a Linux system so that normal users can't even list the contents of other users' home directories. This means that if your family members have their own user accounts on your Linux system, they won't see all the w4r3z you keep in your home directory. ;-)
< /root >

The superuser's (root's) home directory. Don't confuse this with the root directory (/) of a Linux system.
< /var >

This directory contains variable data that changes constantly when the system is running. Some interesting subdirectories:
/var/log
A directory that contains system log files. They're updated when the system runs, and checking them out can give you valuable info about the health of your system. If something in your system suddenly goes wrong, the log files may contain some info about the situation.
/var/mail
Incoming and outgoing mail is stored in this directory.
/var/spool
This directory holds files that are queued for some process, like printing.
< /tmp >

Programs can write their temporary files here.
< /dev >

The devices that are available to a Linux system. Remember that in Linux, devices are treated like files and you can read and write devices like they were files. For example, /dev/fd0 is your first floppy drive, /dev/cdrom is your CD drive, /dev/hda is the first IDE hard drive, and so on. All the devices that a Linux kernel can understand are located under /dev, and that's why it contains hundreds of entries.
< /mnt >

This directory is used for mount points. The different physical storage devices (like the hard disk drives, floppies, CD-ROM's) must be attached to some directory in the file system tree before they can be accessed. This attaching is called mounting, and the directory where the device is attached is called the mount point.
The /mnt directory contains mount points for different devices, like /mnt/floppy for the floppy drive, /mnt/cdrom for the CD-ROM, and so on. However, you're not forced to use the /mnt directory for this purpose, you can use whatever directory you wish. Actually in some distros, like Debian and SuSE, the default is to use /floppy and /cdrom as mount points instead of directories under /mnt.
< /proc >

This is a special directory. Well, actually /proc is just a virtual directory, because it doesn't exist at all! It contains some info about the kernel itself. There's a bunch of numbered entries that correspond to all processes running on the system, and there are also named entries that permit access to the current configuration of the system. Many of these entries can be viewed.
< /lost+found >

Here Linux keeps the files that it restores after a system crash or when a partition hasn't been unmounted before a system shutdown. This way you can recover files that would otherwise have been lost.
< What next? >

If you're completely new to Linux, you might want to learn some commands for moving around in the file system, viewing text files, or manipulating the files. In that case I suggest you take a look at the set of tuXfiles in the Introduction to the Linux command line section


Rabu, 15 Mei 2013

Installation OpenSUSE


1.      Dari menu boot loader OpenSUSE, pilih 'Installation' lalu tekan Enter.

2.      Di layar 'Welcome' pilih bahasa dan keyboard layout yang akan digunakan selama dan sesudah instalasi. Klik 'Next' untuk melanjutkan.

3.      Pilihan 'New Installation' digunakan jika kita belum pernah melakukan instalasi OpenSUSE di komputer yang sama. Jika sebaliknya, pilih 'Update an Existing System'untuk melakukan upgrade ke rilis lebih baru. Lanjutkan dengan klik 'Next'.

4.      Pilih zona waktu dengan klik pada titik di peta atau memilih dari combobox. Sesuaikan juga waktu yang tampil jika tidak sesuai. Klik 'Next'.

5.      Tentukan desktop environment yang akan digunakan. OpenSUSE menyediakan beberapa pilihan seperi Gnome, KDE, XFCE, LXDE, Minimal X Window, atau tanpa desktop sama sekali. Klik 'Next' untuk melanjutkan.

6.      Kita akan menyerahkan pembuatan partisi ke installer OpenSUSE, dengan cara ini OpenSUSE akan membuat beberapa partisi yang dibutuhkan secara otomatis. Pastikan untuk menghilangkan semua tanda centang lalu klik 'Next'.

7.      Isi informasi untuk user mulai dari nama lengkap, username, dan password. Di sini kita juga punya pilihan untuk menjadikan user ini sebagai administrator, sehingga nantinya dapat melakukan administrasi sistem menggunakan sudo. Lalu klik 'Next'.

8.      Klik 'Install' untuk mulai melakukan instalasi sistem ke hard disk. Sebelumnya pastikan dulu semua setting instalasi sudah sesuai, jika ada yang belum silakan menekan tombol'Back' untuk mengubahnya.

9.      Konfirmasi instalasi dengan klik tombol 'Install'.

10.  Instalasi berlangsung dan memakan waktu beberapa puluh menit. Tunggu hingga proses ini selesai.

11.  Setelah instalasi selesai, OpenSUSE akan reboot. Masih booting menggunakan CD/DVD seperti pada langkah pertama pilih 'Boot from Hard Disk' untuk melanjutkan instalasi ke tahap konfigurasi otomatis.

12.  Setelah itu kita sudah bisa login ke desktop OpenSUSE menggunakan user yang kita buat tadi.

13.  Dan kitapun sampai di desktop OpenSUSE.



Jumat, 03 Mei 2013

Installation Fedora

Langkah Pertama Sebelum Menginstall Linux Fedora 14 Anda Harus Mengetahui Spesifikasi Minimum Untuk Menginstall Linux Fedora... Spesifikasinya Yaitu Pentium III 400MHz – I GHz, Ram 256 MB, 10 GB of available disk space, CD R/CD RW drive.

1. Burning Image ISO Fedora Pada Sekeping CD.

2. Atur agar komputer booting dari dvd, dengan cara masuk/lewat BIOS dengan cara saat PC baru nyala biasanya langsung pencet F2/Esc/Delete, terus kalau sudah masuk bios pilih/masuk setingan bios terus kasih tulisan dvd/cd ke paling atas dengan cara biasanya pencet F5/F6 terus pencet F10 lalu masukan kasetnya ke CD room lalu save. 

3. Kemudian tunggu sampai muncul gambar di bawah ini, terus klik login.

4. Terus tunggu sampai muncul gambar di bawah ini.

5. Lalu anda klik install to hard drive atau yang di tunjukkan cursor diatas.

6. Terus tunggu sampai muncul gambar di bawah ini, terus anda klik next.
  


7.  Lalu muncul gambar di bawah ini, terus anda klik next.



8.  Lalu muncul gambar di bawah ini, terus anda klik next...
  



9.  Lalu muncul gambar di bawah ini, terus anda klik next.



10.  Lalu muncul gambar seperti di bawah ini, terus anda pilih kota mana yang sama dengan jam kota anda tinggal,terus klik next.


11.  Lalu muncul gambar seperti di bawah ini, terusanda isi password pengunci anda, terus klik next... Lalu akan muncul tulisan seperti gambar di bawah ini lalu klik Use Anyway yang di tunjukkan cursor di bawah.
 



12. Lalu muncul gambar seperti di bawah ini, terus kamu pilih yang paling bawah create custom layout, terus next.



13. Lalu muncul gambar seperti di bawah ini:
   



Terus anda atur partisinya dengan cara klik yang di tunjukkan cursor tersebut. Contohnya seperti gambar di bawah ini: (ingat ini cuma contoh terserah kalian partisinya kalian mau kasi berapa) tapi ingat ruang swap anda kasih 2,5 leh besar dari RAM (MEMORY LEPTOP/PC) anda.


14. Setelah di atur klik next... Seperti gambar di bawah ini.




15. Jika ada gambar seperti di bawah ini klik write changes to disk.




16.  Terus tunggu sampai muncul gambar di bawah ini, klik next.
                         



17.  Terus akan muncul gambar seperti di bawah ini.
                       



18.  Terus tunggu sampai muncul gambar seperti di bawah ini, terus klik close.
                    



19.   Lalu restart komputer anda, cara merestartnya seperti di gambar bawah ini.
                




20.   Saat terrestart anda keluarkan CD fedora anda.

21.   Lalu muncul gambar seperti di bawah ini.




22. Di situ tinggal anda isi semuanya lalu continue/next.




23. Selesai
selamat mencoba :)

Senin, 29 April 2013

Installation Debian


Cara installasi pada VMWare

Sekilas tentang Debian 6

Debian 6 baru saja dirilis tahun 2011, banyak perubahan yang diusung oleh pengembang pada sistem operasi ini. Seperti Gnome 2.30.2OpenOffice 3.2.1Compiz 0.8.4.4, XFCE 4.62, Xserver-Xorg 7.5 dan paket aplikasi terbaru lainnya.  Debian yang terkenal stabil dan memiliki dukungan yang luas dari komunitas memiliki puluhan ribu aplikasi dan library siap pakai. Basis aplikasi nya pun dapat ditambah dengan beragam repository yang didapat dari repository resmi atau lokal lainnya..

Proses Installasi debian 6

1. Sebelum memulai proses installasi ini, pastikan terlebih dahulu komputer mempunyai space RAM yang cukup besar yang mensyaratkan space minimal 512 MB RAM, yang nantinya digunakan oleh sistem operasi utama (Host OS) dan juga digunakan oleh sistem operasi tamu (Guest OS).  
Pertama, dalam proses installasi ini pilih Default Install.



 2. Langkah kedua akan dihadapkan pada pemilihan bahasa. Pada installasi ini memilih English Lalu tekan Enter
3. Untuk layout keyboard pilih Inggris-Amerika lalu tekan tombol Enter.

4. Masuk pada tahap selanjutnya, memilih lokasi  dan tekan tombol Enter.

5.  Pada installasi ini user memilih United Stated sebagai default locale setting, lalu tekan tombol Enter.

6.  Komputer secara otomatis malakukan load Scanning CD-ROM
7.  Dilanjutkan Configuring the network with DHCP, tetap biarkan sampai proses selesai.

8. Setelah load selesai, maka komputer akan meminta mengisikan Hostname. Disini user mengisikan debian sebagai Hostname.


9. Setelah mengisikan hostname, maka dilanjutkan mengisikan Domain name. User memakai nama default yang telah tertera pada layar. Lalu continue.  

10.  Selanjutnya komputer meminta memasukan password  lalu continue

11. Set up users and password yang meminta untuk mengisikan full name sebagai user baru.


12.  Mengisikan username untuk account.

13. Dilanjutkan dengan mengisi password, lalu continue.

14. Tunggu proses load berjalan samapai selesai.

15. Computer meminta untuk memakukan partisi disk. User memakai VMWare dan telah melakukan settingan terhadap memory yang dibutuhkan. Lalu tekan tombol Enter.


16. Setelah proses ditas selesai, maka computer akan meminta Partition Scheme. User memilih pilihan recommended for new user. Tekan tombol Enter.

17.  Pilih Guided partitioning, tunggu sampai proses load selesai.  
18. Setelah itu, proses dinyatakan selesai dengan memilih Finish partitioning and write change to disk. Lalu tekan tombol Enter.

19. Komputer meminta pilihan untuk change to disk, maka klik yes.

20.   Maka proses partitions melakukan format disks. Tunggu sampai proses selesai.

21. Konfigurasi keyboard, pilih Generic 101-key PC. Lalu tekan tombol Enter.

22. Masih dalam proses yang sama, pilih USA sebagai keyboard layout. Lalu tekan tombol Enter. Setelah itu pcentang GUI.

23. Proses terakhir (finishing) yaitu proses installasi cukup memakan waktu lama. Tunggu sampai proses selesai.

24.Setelah proses load selesai, akan tampil seperti gambar dibawah ini. Tunggu sampai selesai untuk selanjutnya

25. Maka proses selesai, dan user bias langsung melakukan log on, dengan memasukan username dan password yang telah diisikan sebelumya.   
26.  Terakkhir setelah proses log on berhasil, maka tampil halaman desktop seperti pada gambar dibawah ini dan proses installasi selesai.