Showing posts with label tutorial linux. Show all posts
Showing posts with label tutorial linux. Show all posts

Tuesday, October 5, 2010

Linux boot process

How Linux boot process
Did you know how Linux boots? For Linux users, probably most of us don't care about what happens when booting linux in progress. In fact, in the boot we can see about linux systems that used, change the password, backup and restore databases, etc. Therefore this short tutorial tries to explain what is happening in linux when booting the events took place.

As it turns out, there is not much to the boot process:

Hardware POST and initial hardware boot loader

The hardware is powered up, a POST (Power-On Self-Test) occurs, and the initial boot loader takes over:

- If on a PC, this is the rather limited BIOS which must determine the system MBR (Master Boot Record) and turn control over to it. The system MBR will be the MBR of the first populated media, examined in whatever order the BIOS examines them. The MBR of a piece of media is its first 512-byte sector.
- If on an Alpha or a SPARC, this is instead the far more capable SRM (Alpha) or Boot ROM (SPARC), which is a mini-OS of its own.

System MBR and Linux boot loader

The system MBR should contain the Linux boot loader:

- On a PC, this is GRUB, or perhaps LILO.
- On an Alpha, this is aboot.

That boot loader is loaded into RAM and started, and it takes control of the system. Both GRUB and aboot are able to understand the Linux file systems; LILO must do everything in terms of physical addresses.

1. A boot loader finds the kernel image on the disk, loads it into memory, and starts it.
2. The kernel initializes the devices and its drivers.
3. The kernel mounts the root filesystem.
4. The kernel starts a program called init.
5. init sets the rest of the processes in motion.
6. The last processes that init starts as part of the boot sequence allow you to log in.

Identifying each stage of the boot process is invaluable in fixing boot problems and understanding the system as a whole. To start, zero in on the boot loader, which is the initial screen or prompt you get after the computer does its power-on self-test, asking which operating system to run. After you make a choice, the boot loader runs the Linux kernel, handing control of the system to the kernel.

There is a detailed discussion of the kernel elsewhere in this book from which this article is excerpted. This article covers the kernel initialization stage, the stage when the kernel prints a bunch of messages about the hardware present on the system. The kernel starts init just after it displays a message proclaiming that the kernel has mounted the root filesystem:

VFS: Mounted root (ext2 filesystem) readonly.

Soon after, you will see a message about init starting, followed by system service startup messages, and finally you get a login prompt of some sort.

NOTE On Red Hat Linux, the init note is especially obvious, because it "welcomes" you to "Red Hat Linux." All messages thereafter show success or failure in brackets at the right-hand side of the screen.

Most of this chapter deals with init, because it is the part of the boot sequence where you have the most control.
init

There is nothing special about init. It is a program just like any other on the Linux system, and you'll find it in /sbin along with other system binaries. The main purpose of init is to start and stop other programs in a particular sequence. All you have to know is how this sequence works.

There are a few different variations, but most Linux distributions use the System V style discussed here. Some distributions use a simpler version that resembles the BSD init, but you are unlikely to encounter this.

Runlevels

At any given time on a Linux system, a certain base set of processes is running. This state of the machine is called its runlevel, and it is denoted with a number from 0 through 6. The system spends most of its time in a single runlevel. However, when you shut the machine down, init switches to a different runlevel in order to terminate the system services in an orderly fashion and to tell the kernel to stop. Yet another runlevel is for single-user mode, discussed later.

The easiest way to get a handle on runlevels is to examine the init configuration file, /etc/inittab. Look for a line like the following:
id:5:initdefault:

This line means that the default runlevel on the system is 5. All lines in the inittab file take this form, with four fields separated by colons occurring in the following order:
# A unique identifier (a short string, such as id in the preceding example)
# The applicable runlevel number(s)
# The action that init should take (in the preceding example, the action is to set the default runlevel to 5)
# A command to execute (optional)

There is no command to execute in the preceding initdefault example because a command doesn't make sense in the context of setting the default runlevel. Look a little further down in inittab, until you see a line like this:

l5:5:wait:/etc/rc.d/rc 5

This line triggers most of the system configuration and services through the rc*.d and init.d directories. You can see that init is set to execute a command called /etc/rc.d/rc 5 when in runlevel 5. The wait action tells when and how init runs the command: run rc 5 once when entering runlevel 5, and then wait for this command to finish before doing anything else.

There are several different actions in addition to initdefault and wait, especially pertaining to power management, and the inittab(5) manual page tells you all about them. The ones that you're most likely to encounter are explained in the following sections.

respawn

The respawn action causes init to run the command that follows, and if the command finishes executing, to run it again. You're likely to see something similar to this line in your inittab file:
1:2345:respawn:/sbin/mingetty tty1

The getty programs provide login prompts. The preceding line is for the first virtual console (/dev/tty1), the one you see when you press ALT-F1 or CONTROL-ALT-F1. The respawn action brings the login prompt back after you log out.

ctrlaltdel

The ctrlaltdel action controls what the system does when you press CONTROL-ALT-DELETE on a virtual console. On most systems, this is some sort of reboot command using the shutdown command.

sysinit

The sysinit action is the very first thing that init should run when it starts up, before entering any runlevels.

How processes in runlevels start

You are now ready to learn how init starts the system services, just before it lets you log in. Recall this inittab line from earlier:

l5:5:wait:/etc/rc.d/rc 5

This small line triggers many other programs. rc stands for run commands, and you will hear people refer to the commands as scripts, programs, or services. So, where are these commands, anyway?

For runlevel 5, in this example, the commands are probably either in /etc/rc.d/rc5.d or /etc/rc5.d. Runlevel 1 uses rc1.d, runlevel 2 uses rc2.d, and so on. You might find the following items in the rc5.d directory:

S10sysklogd S20ppp S99gpm
S12kerneld S25netstd_nfs S99httpd
S15netstd_init S30netstd_misc S99rmnologin
S18netbase S45pcmcia S99sshd
S20acct S89atd
S20logoutd S89cron

The rc 5 command starts programs in this runlevel directory by running the following commands:

S10sysklogd start
S12kerneld start
S15netstd_init start
S18netbase start
...
S99sshd start

Notice the start argument in each command. The S in a command name means that the command should run in start mode, and the number (00 through 99) determines where in the sequence rc starts the command.

The rc*.d commands are usually shell scripts that start programs in /sbin or /usr/sbin. Normally, you can figure out what one of the commands actually does by looking at the script with less or another pager program.

You can start one of these services by hand. For example, if you want to start the httpd Web server program manually, run S99httpd start. Similarly, if you ever need to kill one of the services when the machine is on, you can run the command in the rc*.d directory with the stop argument (S99httpd stop, for instance).

Some rc*.d directories contain commands that start with K (for "kill," or stop mode). In this case, rc runs the command with the stop argument instead of start. You are most likely to encounter K commands in runlevels that shut the system down.

Adding and removing services

If you want to add, delete, or modify services in the rc*.d directories, you need to take a closer look at the files inside. A long listing reveals a structure like this:

lrwxrwxrwx . . . S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx . . . S12kerneld -> ../init.d/kerneld
lrwxrwxrwx . . . S15netstd_init -> ../init.d/netstd_init
lrwxrwxrwx . . . S18netbase -> ../init.d/netbase
...

The commands in an rc*.d directory are actually symbolic links to files in an init.d directory, usually in /etc or /etc/rc.d. Linux distributions contain these links so that they can use the same startup scripts for all runlevels. This convention is by no means a requirement, but it often makes organization a little easier.

To prevent one of the commands in the init.d directory from running in a particular runlevel, you might think of removing the symbolic link in the appropriate rc*.d directory. This does work, but if you make a mistake and ever need to put the link back in place, you might have trouble remembering the exact name of the link. Therefore, you shouldn't remove links in the rc*.d directories, but rather, add an underscore (_) to the beginning of the link name like this:
mv S99httpd _S99httpd

At boot time, rc ignores _S99httpd because it doesn't start with S or K. Furthermore, the original name is still obvious, and you have quick access to the command if you're in a pinch and need to start it by hand.

To add a service, you must create a script like the others in the init.d directory and then make a symbolic link in the correct rc*.d directory. The easiest way to write a script is to examine the scripts already in init.d, make a copy of one that you understand, and modify the copy.

When adding a service, make sure that you choose an appropriate place in the boot sequence to start the service. If the service starts too soon, it may not work, due to a dependency on some other service. For non-essential services, most systems administrators prefer numbers in the 90s, after most of the services that came with the system.

Linux distributions usually come with a command to enable and disable services in the rc*.d directories. For example, in Debian, the command is update-rc.d, and in Red Hat Linux, the command is chkconfig. Graphical user interfaces are also available. Using these programs helps keep the startup directories consistent and helps with upgrades.

HINT: One of the most common Linux installation problems is an improperly configured XFree86 server that flicks on and off, making the system unusable on console. To stop this behavior, boot into single-user mode and alter your runlevel or runlevel services. Look for something containing xdm, gdm, or kdm in your rc*.d directories, or your /etc/inittab.

Controlling init

Occasionally, you need to give init a little kick to tell it to switch runlevels, to re-read the inittab file, or just to shut down the system. Because init is always the first process on a system, its process ID is always 1.

You can control init with telinit. For example, if you want to switch to runlevel 3, use this command:

telinit 3

When switching runlevels, init tries to kill off any processes that aren't in the inittab file for the new runlevel. Therefore, you should be careful about changing runlevels.

When you need to add or remove respawning jobs or make any other change to the inittab file, you must tell init about the change and cause it to re-read the file. Some people use kill -HUP 1 to tell init to do this. This traditional method works on most versions of Unix, as long as you type it correctly. However, you can also run this telinit command:

telinit q

You can also use telinit s to switch to single-user mode.

Shutting down

init also controls how the system shuts down and reboots. The proper way to shut down a Linux machine is to use the shutdown command.

There are two basic ways to use shutdown. If you halt the system, it shuts the machine down and keeps it down. To make the machine halt immediately, use this command:

shutdown -h now
On most modern machines with reasonably recent versions of Linux, a halt cuts the power to the machine. You can also reboot the machine. For a reboot, use -r instead of -h.

The shutdown process takes several seconds. You should never reset or power off a machine during this stage.

In the preceding example, now is the time to shut down. This argument is mandatory, but there are many ways of specifying it. If you want the machine to go down sometime in the future, one way is to use +n, where n is the number of minutes shutdown should wait before doing its work. For other options, look at the shutdown(8) manual page.

To make the system reboot in 10 minutes, run this command:
shutdown -r +10

On Linux, shutdown notifies anyone logged on that the machine is going down, but it does little real work. If you specify a time other than now, shutdown creates a file called /etc/nologin. When this file is present, the system prohibits logins by anyone except the superuser.

When system shutdown time finally arrives, shutdown tells init to switch to runlevel 0 for a halt and runlevel 6 for a reboot. When init enters runlevel 0 or 6, all of the following takes place, which you can verify by looking at the scripts inside rc0.d and rc6.d:

1. init kills every process that it can (as it would when switching to any other runlevel).

# The initial rc0.d/rc6.d commands run, locking system files into place and making other preparations for shutdown.
# The next rc0.d/rc6.d commands unmount all filesystems other than the root.
# Further rc0.d/rc6.d commands remount the root filesystem read-only.
# Still more rc0.d/rc6.d commands write all buffered data out to the filesystem with the sync program.
# The final rc0.d/rc6.d commands tell the kernel to reboot or stop with the reboot, halt, or poweroff program.

The reboot and halt programs behave differently for each runlevel, potentially causing confusion. By default, these programs call shutdown with the -r or -h options, but if the system is already at the halt or reboot runlevel, the programs tell the kernel to shut itself off immediately. If you really want to shut your machine down in a hurry (disregarding any possible damage from a disorderly shutdown), use the -f option.

Saturday, September 18, 2010

How to remove or delete linux from harddisk drive and restore the MBR partition table safely

delete linux from computer pc or harddiscRemoving linux from windows partition - If you have a dual-boot with Linux and Windows, then you probably know that when you start your system Linux boot loader who first appeared to show Linux and then Windows boot entries and if you choose Windows from the list, it starts Windows.

Well now you are in situations when you want to remove Linux from your system and just want to use Windows, then how would you do?

A lot of people delete the Linux partition after installation of the "Disk Manager" can not delete it but Linux as a whole. Linux boot loader still appears at startup and as you remove the Linux partition, the boot loader will be corrupted and your system becomes unusable or being damaged


First of all you need to know where your Linux OS is installed to. that is what drive it is currently living on. Bear in mind that Linux formats the drive as HFS rather than Fat/Fat32 or NTFS. [These are the file systems used by various Operating Systems].

So HFS Partitions are not seen by windows, so its hidden.

To remove the partitions of Linux in WindowsXP go to your 'Control panel' - Admistrative Tools - Computer Managment

Open 'Disk Management' and you will see your Linux drives recognised as 'Unknown Partition' plus the status of the drive. Bearing in mind you know what partition and disk you installed to it will be easier to recognise as the drive/partition where you had installed it to.

Once you have identifed the drives, 'right-Click' on the drive/partiton and select 'Delete Logical Drive'

Once you have followed this through, you will now have free space.

This next part is very important. Once you have formatted the drive, re format it as your required file system type. either Fat32 or NTFS. Now the important part is coming up !

Fixing your Master Boot Record to make Windows Bootable again.

Have a Windows Boot disk with all the basic DOS Commands loaded on to the disk. A standard Windows 98/Me Boot Disk will work too.

Type in the DOS command :

e.g, from your C:\

fdisk /mbr

Or use your Windows XP run the recovery console, pick which xp install you would like to boot in to (usually you will pick #1)

then type: fixmbr , Answer Y to the dialogue.

Your master boot record will now be restored and Windows XP will be bootable once again. Your System will be restored with your original boot loader that you got with Windows XP.

Sunday, March 9, 2008

Tutorial Linux Ubuntu

Ini saya nemu artikel tutorial ubuntu dari Toko Linux Online Yogyakarta yang menurut saya bagus sekali utk di jadikan pegangan dari tingkat pemula sampai yg bukan pemula .
Semoga artikel ini bisa menjadi referensi belajar utk rekan2 pengguna Distro Linux ini.

Another quality Ebooks from Indonesian people! Meskipun terjemahan, penulis tetap memberikan dua acung jempol buat penulis/penterjemah ebook ini, yakni kawan dari ubuntu-id. Posting ini merupakan pelengkap dari posting terdahulu tentang video tutorial instalasi ubuntu.
Ada 2 ebooks berformat pdf yang sangat bagus untuk dijadikan referensi bagi Anda pengguna Linux Ubuntu. Tingkat kemahiran yang diperlukan untuk membaca buku ini terbentang antara tingkatan pemula sampai pengguna lanjut, jadi jangan khawatir untuk "tidak donk". Akhirnya penulis sampaikan Silakan di download dan Selamat Membaca!

Download:
Panduan Pembuatan Paket Ubuntu
http://www.ubuntu-id.org/doc/edgy/pdf/packagingguide.pdf

Bekerja Dengan Desktop Anda
http://www.ubuntu-id.org/doc/edgy/pdf/packagingguide.pdf

Friday, January 18, 2008

faulted in TJX hacking Encryption

BOSTON - Hackers stole millions of credit card numbers from discount retailer TJX Cos. by intercepting wireless transfers of customer information at two Miami-area Marshalls stores, according to an eight-month investigation by the Canadian government.

The probe, led by Canadian Privacy Commissioner Jennifer Stoddart, faulted TJX for failing to upgrade its data encryption system by the time the electronic eavesdropping began in July 2005. The break-in ultimately gave hackers undetected access to TJX's central databases for a year and a half, exposing at least 45 million credit and debit cards to potential fraud.

"The company collected too much personal information, kept it too long and relied on weak encryption technology to protect it — putting the privacy of millions of its customers at risk," said Stoddart, who serves as an ombudsman and advocate to protect Canadians' privacy rights. She announced the findings at an information security conference in Montreal on Tuesda

Credit card associations have declined to disclose total damages from thefts that are believed tied to the TJX breach. But some banks have said they've learned of fraudulent purchases as far away as Hong Kong and Sweden.

Stoddart said the Framingham, Mass., retailer retained customer data years after it should have been purged, including driver's license numbers collected when customers returned merchandise without receipts. Some of the stolen information was from transactions concluded as long ago as 2002.

TJX contested some of the Canadian agency's findings but agreed to upgrade security, including masking driver's license numbers by converting them into unique identification numbers in TJX's systems.

Stoddart found TJX violated a Canadian privacy law and failed to meet retail industry standards for protecting credit card data. She said TJX cooperated with her investigation, so her office didn't pursue a case with Canada's federal courts, which have the power to levy damages.

TJX is the owner of about 2,500 stores, including T.J. Maxx and Marshalls and, in Canada, Winners and HomeSense.

The company and U.S. government officials who are still investigating have yet to publicly disclose how they believe intruders initially broke into TJX's systems.

Stoddart, who investigated the breach along with Alberta Information and Privacy Commissioner Frank Work, said TJX told her office the hacker or hackers apparently entered through a local area wireless network at two Miami-area Marshalls stores.

TJX spokeswoman Sherry Lang didn't dispute that the breach originated in Miami but said TJX and outside experts the company hired haven't concluded whether a wireless system was exploited.

"It's suspected but not yet proven," she said.

She said the company cooperated with Canadian authorities.

"While we respectfully disagree with many of the commissioners' factual findings and legal conclusions, we have chosen to implement their recommendations, having already implemented most of them, with the remainder in process," Lang said.

Retail wireless networks collect and transmit data via radio waves so information about purchases and returns can be shared between cash registers and store computers. Wireless transmissions can be intercepted by antennas, and high-power models can sometimes intercept wireless traffic from miles away.

While such data is typically scrambled, Canadian officials said TJX used an encryption method that was outdated and vulnerable. The investigators said it took TJX two years to convert from Wireless Encryption Protocol to more sophisticated Wi-Fi Protected Access, although many retailers had done so.

Lang said TJX's systems complied with industry standards when the breach started. She said TJX chose in 2005 to make the conversion and needed more time than some retailers because its systems weren't compatible with the WPA standard.

Lang said TJX completed the switch in time to remain in good standing with credit card associations like Visa and Mastercard. She declined to specifically say when TJX finished switching encryption systems.

Mastercard spokesman Chris Harrall declined to comment on whether TJX was in compliance, and a Visa spokesman did not immediately return a phone call.

TJX has said it detected the breach by finding "suspicious software" on its computer systems in December 2006.

On March 28, TJX said at least 45.7 million of its shoppers' cards had been compromised. It has said about three-quarters of the cards had expired by the time of the theft or the stolen information didn't include security code data from the cards' magnetic stripes.

Ten people were convicted in Florida this year for their roles in a ring using stolen TJX customer data to buy gift cards.

They aren't believed to be the hackers who broke into TJX's systems. No arrests have been made in that aspect of the case.

A Ukrainian man recently arrested in Turkey is suspected of selling some of the card numbers stolen in the TJX breach. But U.S. investigators have said they do not believe he was involved in the data breach.

Copyright 2007 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

source : http://www.msnbc.msn.com/id/20979359/

Tuesday, January 15, 2008

Webmin Aplikasi Pengelolaan System dan Administrasi Mandriva Linux

Bila Mandrake Control Center adalah pengelola system berbasis grafis maka Webmin adalah pengelola system dan administrasi berbasis Web di Mandriva Linux.
Dengan Webmin kita bisa meng-konfigurasi Apache web sever, DNS server,Email server , dan masih banyak lagi...
Webmin ini sudah ada pada paket program Mandriva tapi bila anda belum meng-intall-nya waktu proses instalasi mandriva Linux silahkan anda install dulu untuk bisa menggunakan aplikasi ini, cara cepat instalasi-nya bisa menggunakan perintah "urpmi" dari commamd line:
# urpmi webmin (lalu enter lalu, anda akan di minta memasukan CD instalasi Mandriva yg di perlukan),
untuk meng-akses Webmin bisa dengan perintah ini di command line:
# service webmin start (lalu enter), lalu setelah Webmin aktif bukalah salah satu browser bawaan Mandriva ,Mozilla mislanya lalu ketikan di address url: http://localhost:10000/, atau https://localhost:10000/ (pastikan TCP/IP pada port 10000 ini terbuka) , dan jika anda ingin meng-akses Webmin dari komputer lain dalam jaringan maka ganti "localhost" dengan IP komputer server Webmin anda.
Mulai dari konfigurasi Webmin (open source) inilah kita bisa mengembangkan macam-macam konfigurasi server dari Mandriva Linux ini .

Sekian sampai pada bahasan selanjutnya yang berhubungan!

Thursday, January 10, 2008

KONFIGURASI SYSTEM DAN KONEKSI INTERNET MANDRIVA


Oke, setelah pengenalan linux lalu cara isntalasi Mandriva , maka sekarang sebelum kita menggunakan Mandriva untuk bekerja kita akan memeriksa dan melakukan setting konfigurasi system Mandriva Linux ini supaya lebih maksimal kemampuan kerjanya untuk mendukung pekerjaan kita yaitu kita akan mengkonfigurasi :
Printer - Display Card - Sound Card - LAN Card - Modem - Dan Setting untuk koneksi ke Internet...

CATATAN PENTING UNTUK PENGGUNA PEMULA LINUX: "Konfigurasi hardware di Linux ini berbeda dengan di Microsoft Windows dalam hal penyediaan driver-driver hardware-nya, jika di Microsoft Windows driver-driver hardware-nya selain yang sudah ter-integrasi di System Windows juga di sertakan beserta hardware-nya biasanya dlm bentuk CD sewaktu kita membelinya misalnya Printer, AGP Card, Mainboard, dan cara instalasi-nya pun umumnya praktis dan mudah tinggal masukan CD ke CDROM lalu "setup" ..selesai!
Akan tetapi di Linux tidak begitu, masalah driver Hardware ini di integrasikan kedalam system Linux oleh Vendor Distro Linux, dan bila misalnya ada suatu Hardware yg tidak terdeteksi driver-nya oleh suatu Distro Linux yg di pakai (biasanya driver printer canon generasi baru oleh pengguna Distro versi lama /Mandriva 2007 ke-bawah, utk Mandriva 2008 saya blm mencoba), maka biasanya ini di atasi dg cara mencari dan men-downloadnya dari Internet lalu di install , dan cara instalasinya tidak se-praktis di Windows, ini akan kita bahas nanti, ...
Lalu terhadap masalah ini solusinya bagaimana?
SOLUSI PRAKTIS-NYA :
1. Update kepada Versi Linux terbaru ,untuk Mandriva tentu yg terbaru skrg Mandriva 2008
2.Ganti Hardware-nya dengan yg terdapat di dalam database Distro Linux yang di pakai .
Dan memang 2 hal di atas yang biasanya di lakukan oleh pengguna linux dari pada repot-repot cari driver di internet yang bisa memakan waktu juga biaya toh beli CD untuk versi update terbaru dari Linux yang di gunakan murah.
....Inilah salah satu alasan penting saya menggunakan mandriva karena menurut info yang saya dapat Mandriva Linux ini selain user friendly dan jenis Distro versi baru dan juga pengguna-nya terbanyak khususnya di Indonesia , yang artinya tentu ini menjadi pertimbangan pihak Vendor untuk lebih lengkap melakukan update-update driver yang ter-integrasi kedalam system. dan selama ini memang sejak awal keluarnya Mandriva ini selalu lebih cepat melakukan Update di banding Distro lain , ini fakta yang baik bukan jika kita menggunakan Mandriva?
PC Saya sendiri memiliki spesifikasi : Mainboard :ECS nForce3 + Processor AMD Sempron 2800+, Sound Card : Realtek AC979(onBoard), AGP Card: ATI RADEON 9200 128MB, LAN Card: NVIDIA nForce (onBoard), Modem ADSL D-Link , Printer HP 990c , semuanya itu terdeteksi dan ter-install drivernya oleh Mandriva 2005 yang saya gunakan sekarang. Spesifikasi PC saya itu termasuk spesifikasi lama keluaran sekitar tahun 2004 kecuali printer HP 990c sekitar tahun 2006, apalagi apalagi untuk yang lebih lama tentu terdeteksi drivernya oleh Mandriva ini ."

"Biasanya pengguna linux yang sudah lama atau mahir utk melakukan berbagai setting konfigurasi bahkan utk bekerja cenderung menggunakan modus text dengan perintah-perintah konsol-nya dengan alasan bekerja dg modus text dan konsol (console)lebih cepat dan efektif prosesnya, alasan ini ada benar-nya memang , tapi utk tahap-tahap awal artikel Linux saya sampai sa'at ini saya berusaha menggunakan modus-modus grafis dan menjauhkan perintah-perintah konsol, karena menurut pengalaman saya untuk pengguna pemula apalagi baru kenal linux, perintah konsol ini memberikan kesan sulit,rumit,njelimet terhadap linux jadi "down" duluan mentalnya sebelum mencoba.
Akan tetapi perintah konsol ini tetap sangat penting untuk di pelajari (pendapat pribadi saya) yaitu yaitu sehubungan dengan memberdayakan secara maksimal open source dari linux ini , hal ini akan kita bahas nanti..."

Berikut panduan setting konfigurasi perangkat keras di Mandriva, mungkin tampilan menu Mandriva anda berbahasa Indonesia atau English ini saya rasa tidak terlalu masalah misalnya Configuration=Konfigurasi , Configure your computer=Konfigurasi komputer anda, Printer=Pencetak ,..etc.., begitu juga Masalah versi Mandriva :2005,2006,2007,2008 .sama saja.


SETTING PRINTER - DISPLAY CARD - MONITOR

Sebelumnya cara yg mudahnya pasang dan hidupkan saja dulu power printernya, Lalu,
klik Menu --> System --> Configuration (konfigurasi )--> Configure your computer (konfigurasi komputer anda)--> , di sini kita akan di minta memasukan password root (yang telah di buat waktu instalasi) lalu akan masuk ke jendela Mandrakelinux control center (Mandriva Linux Control Center ) .Di Mandriva Linux Control Center inilah /kalau di Windows Control Panel tempat setting dan informasi dari hardware di PC anda jadi silahkan di utak-atik dan di pelajari.

Lalu klik sub menu "Hardware" -->Pada jendela ini akan tampak perangkat-perangkat yang bisa di konfigurasi : ada Printer, Monitor, Mengubah resolusi monitor, Scanner, dan untuk setting Display Card (AGP/VGA Card)klik ada icon "Look and configure the hardware (icon kaca pembesar)".
UNTUK PRINTER--> Klik icon "set up the printer " , pada tahap ini bila kita sama sekali belum pernah melakukan instalasi paket-paket printer maka kita akan di minta memasukan CD Mandriva yg berhubungan dg printer, --> tunggu beberapa saat system akan melakukan deteksi dan konfigurasi secara otomatis dan bila konfigurasi dapat menemukan driver yg cocok maka printer anda akan tampil beserta tipenya dan instalasi printer selesai , tapi jika driver tidak di temukan akan tampil jendela untuk anda memilih secara manulal driver printer anda sesuai merek , saya menggunakan Mandriva 2005 dan Printer HP Deskjet 990c bisa terdeteksi drivernya .

SETTING INTERNET DIAL-UP CONNECTION

Saya ambil contoh koneksi memakai telkomnet@instan dengan data :
· Nomor Telepon ISP : 080989999
· Username : telkomnet@instan
· Password : telkom
Lalu kita mulai dengan melakukan konfigurasi modem berlanjut ke proses koneksi.
1. Siapkan Modem dan pasang di CPU berikut koneksi telepon-nya , lalu nyalakan.
2. Klik -->Menu --> System--> Configure Your Computer.
3. Lalu muncul Jendela login sebagai root, dan masukan passwordnya, lalu Ok
4. Masuk pada jendela Mandriva Linux Control Center pilih Tab Network & Internet.
5. Klik icon Set Up new Network interface (LAN, ISDN,
ADSL..).
6. Pada jendela New Conection, karena kita akan akan
Analog Telephone Modem (paling bawah)--> Klik Next, pada tahap ini di lakukan deteksi modem anda.

7. Bila modem tidak terdeteksi gunakan pilihan Manual Choice,
6.masuk ke menu memilih ISP dari daftar yang ada, karena pada list tdk ada provider dari Indonesia pilih Unlisted-Edit Manualy kemudian lalu klik Next..
8. Isikan informasi dari ISP , telkomnet@instan yg kita pakai sbg contoh , spt di bawah ini:
- Conection Name : Telkom (bebas bisa pake nama apa saja
-Phone Number : 080989999
-Username : telkomnet@instan
-Password : telkom
-Autentication : PAP/CHAP
9. Klik Next, Untuk IP Parameter Pilih saja Otomatis, lalu klik Next
10. Parameter DNS dan Gateway pilih saja otomatis ,lalu klik Next.
11. Connection Control boleh di abaikan atau beri tanda centang
12. Allow User to Manage Connection /ijin penakai utk melakukan koneksi , terserah anda
13.Start the connection at Boot , terserah anda ,lalu klik next.
14. Abaikan saja pilihan untuk mengetes koneksi internet ,lalu klik Finish, dan restart PC anda. 15. Setelah restart kita coba melakukan koneksi Dial Up internet caranya klik-kanan icon
Network pada Taskbar lalu klik Connect ppp0,
16. Lalu klik tombol Connect Modem untuk melakukan Dial-Up, setelah
terkoneksi ,silahkan mulai browsing....
17. Untuk memutuskan koneksi ,klik tombol "Disconect"

NOTE: Bila anda bukan pengguna Dial-up, misalnya ADSL , pola instalnya sama saja , saya sendiri menggunakan ADSL tapi saya menulis koneksi Dial-Up ini karena saya pikir lebih banyak penggunanya tapi bila ada rekan-rekan yang punya masalah atau pertanyaan tentang jenis koneksi ini , silahkan tinggalkan pesan di area komentar posting ini ,nanti saya usahakan bantu, saya mau nulis tapi tangan saya dah capek nih nagantuk pula..mau ngopi dulu...!

NOTE-2: Ada yang ketinggalan di atas yaitu Sound Card dan LAN Card , jika kebetulan anda punya masalah or pertanya-an tentang konfigurasi hardware tsb tingggalkan komen aja ya...karena sepertinya masalah ini kompleks alias bisa beda-beda untuk tiap pengguna..

Salam ngeBlog!

Saturday, January 5, 2008

LINUX UNTUK PEMULA


Hallo...para pembaca blog free7..,Sebetulnya sudah lama saya ingin posting artikel tutorial linux utk pembaca di Indonesia, tapi selalu agak bingung mau mulai dari mana ,kenapa? karena sy terobsesi dg banyaknya Distro Linux yg ada di dunia ini yg hubungannya mana kira2 yg paling masuk or paling banyak serta lebih user friendly utk pembaca di Indonesia (karena hal ini yg selalu menjadi acuan posting saya) dan juga saya coba browsing dan survei ke forum2 linux memang puluhan mungkin ratusan jenis distro linux yg di pakai user di Indonesia dan bila anda berkunjung ke situs www.distrowatch.com maka anda akan menemui ratusan distro linux yg ada di Dunia saat ini dan saya tdk percaya jika ada manusia yg hafal dg semua jenis distro linux yg ada di dunia ini.hehehe.., tentunya ini fenomena yg sangat berbeda dg system operasi windows yg masih kita hafal di luar kepala dari jaman windows 3.11, 95,98,milenium,2000,2000 server,2003 server,xp, vista,...dan semuanya memiliki system dan user inteface yg tidak jauh berbeda ,karena satu pabrik sih ya...

Oke, Jika teman2 sekalian pemula dan punya keinginan mencoba atau bermigrasi dari Ms Windows ke Linux tapi :
-Bingung mau mulai dari mana dan tidak ada tempat bertanya ?
-Mau cari referensi linux dari web, tapi tidak tahu URL yang tepat ?
-Ingin berdiskusi seputar Linux?
Mulai sekarang melalui artikel Linux Blog free7 selanjutnya saya akan coba berbagi dan bertukar pikiran tentang masalah ini dg pengetahuan yg saya punya seputar Linux dan macam2 Distro-nya , dan silahkan juga bagi rekan2 yg lebih berpengalaman menggeluti macam2 distro linux jika ingin berbagi,sharing atau menyumbangkan artikel ke blog ini, atau ke group http://groups.google.co.id/group/free-blogger/ , atau e-mail saya :iwanfree7[at]yahoo.com. yang tentunya sebelumnya saya minta ma'af bahwa waktu blogging saya utk saat ini blm full time jadi kurang lebihnya minta ma'af jika ada keterlambatan menjawab dan sejenisnya tentang masalah ini.

SEKILAS OPINI TENTANG LINUX

Untuk mereka yang tidak mampu untuk membeli sistem operasi Microsoft Windows yg asli seperti saya...jujur aja deh.., maka Linux dapat menjadi alternatif sistem operasi yang digunakan di PC secara halal dan tidak membajak perangkat lunak sama sekali. Harganya murah boleh di bilang cuma ganti biaya CD ,menurut pengalaman saya per 1 CD biasanya berkisar Rp.5.000 - 15.000 , bandingkan dg harga software microsoft di situs pedagang ini http://www.pvidia.com/software-asli-microsoft.php, Yups! semoga Linux menjadi solusi masalah pembajakan di Indonesia GO OPEN...!!

Linux adalah salah sistem operasi yang open source atau bebas sehingga linux tersebut bebas untuk di gunakan, di Copy, di distribusikan, di ubah atau di kembangkan tidak usah ijin siapapun. ya di ukur dari uang Linux memang jauh lebih murah di banding Microsoft Windows tapi tentu andapun tau bukan berarti murahan atau jelek kualitasnya ,dari sudut pandang Teknis dan Pemrograman tidak usah sungkan-sungkan mengatakan bahwa "Linux sampai sekarang memiliki propertiery yg lebih sakti mandraguna di banding Microsoft Windows" (sakti kaya dukun aja, hehe ).dan konon cerita yg sering jadi bulan-bulanan para Hacker juga komputer yg berbasis Microsoft Windows ...tul nggak?,kenapa begitu? selain memang arsitektur system Linux memang di bangun dg kerangka dan tingkat keamanan yg bagus dan kuat tentu juga ini terkait kuat dg sifat open source Linux yg memberi kebebasan membangun,ber-improvisasi dan ber-inovasi pada para pengembang tidak spt di Microsoft Windows yg sangat di batasi oleh propertiery Microsoft yang menjengkelkan ,dikit2 di protect,dikit2 registrasi, salah dikit erorr ...etc!. tapi yah maklum namanya juga Microsoft ini kan dagang, makanya sy bukan bermaksud menjelekan Microsoft Windows atau menganggap pembuat OS ini lebih bodoh daripara pengembang Linux ,tapi memang itu fakta perbandingannya dg Linux. dan sebagai praktisi IT jujur saja Microsoft Windows lebih banyak menghasilkan uang buat saya ya karena sebagian besar klien/konsumen pakai OS Windows , dasar matere or munafik .

MULAI MEMILIH DISTRO LINUX

Untuk pemula yg baru berkenalan dengan Linux, biasanya mereka terbentur pada masalah pemilihan distribusi atau lebih di kenal dengan sebutan "distro" yang akan digunakan. sebenarnya distro Linux hanya memiliki perbedaan pada paket program aplikasi, tool untuk instalasi ,sedangkan ,perintah dasar ,program, organisasi direktori dan file, dan utilitas tambahan. Secara sistem semuanya sama-sama menggunakan kernel Linux. Dan tidak akan ada habisnya membandingkan distro Linux yg satu dg lainnya.

Untuk itu di bawah ini beberapa tips yang bisa digunakan dalam memilih distro Linux :
- Distro yang banyak dipakai orang dan juga teman-teman dekat ,di mana hal ini akan mempermudah dalam membantu memecahkan masalah kita seputar penggunaan atau pengembangan Linux
- Distro dengan paket program yang sesuai dengan keinginan atau orientasi kita menggunakan linux.
- Distro yang menyediakan manual gratis dengan penjelasan detail untuk kita pelajari karena ini sangat penting untuk belajar secara mandiri

Di bawah ini tambahan informasi sehubungan dg cara mendapatkan Distro Linux di Indonesia :

Situs web yang menjual CD distro Linux:
-Gudang Linux. Bagi yg di Jakarta Distro ini tokonya ada ITC Kuningan Jakarta Lantai Dasar, dan saya memang suka beli di situ.
-De2 (Debian Depok)
-BlankOn
-Gudang Open Source
-Toko Distro
-Distro Linux
-Pusat Linux
-Pasar Linux

Buku atau majalah yang menyertakan CD distro Linux:
-Majalah KomputerAktif
-Majalah PC Media,
-Majalah Chip,
-Majalah InfoLinux,

Dan dalam arikel selanjutnya di blog free7 ini rencana saya akan mengambil salah satu dari distro Linux yang cukup banyak digunakan dewasa ini dan memiliki interface yg user friendly dan cara instalasi yg tdk berbeda jauh dg Ms Windows yaitu Mandrake atau yg sekarang Mandriva dan akan di selingi Distro-distro lain yg terkait dengan bahasan artikel . Jadi artikel2 selanjutnya akan berprioritas pada distro Linux tersebut.
Saya sendiri menggunakan System Operasi Linux Mandriva 2005 di PC saya berdampingan dengan System Operasi Windows.

Sekian dulu sampai nanti di bahasan selanjutnya tentang pengenalan apa-apa yg ada di desktop Mandriva, Konfigurasi system, Jaringan dan Internet, Aplikasi mulimedia, Konfigurasi dan Aplikasi Server, Perintah2 dasar lingkungan shell....

Kunjungi Link ini http://www.mandriva.com untuk mendownload paket-paket distro Mandriva Linux

Friday, December 28, 2007

CARA INSTALASI MANDRIVA (dibaca "Man-dree-vah"!) LINUX

Linux Mandriva adalah kelanjutan dari Mandrake Linux, di awali dengan Mandriva Linux LE 2005 sebagai kelanjutan dari Mandrake Linux 10.1 yaitu ketika Perusahaan Mandrake Soft membeli kepemilikan Distro Linux Connectiva. Atau Mandriva Linux LE 2005 adalah nama baru untuk Mandrake Linux 10.2. Dan pada bulan oktober 2007 kemarin Mandriva resmi merilis Mandriva Linux 2008. Cara atau pola instalasinya sama saja baik versi 2005, 2006,2007,2008, karena memang Mandrake atau Mandriva khususnya sejak Mandrake 8.0 memang sudah demikian mudahnya karena sebagian besar parameter-nya tinggal di klik OK atau Lanjutkan, Di samping itu, sebagian parameter dapat di set ulang setelah Linux Mandrake atau Mandriva terinstall menggunakan fasilitas Mandrake/Mandriva Control Center. karenanya kita tidak perlu takut akan mendapat kesulitan yang berarti untuk menginstalasi Linux ini.

Untuk kesempatan ini karena keterbatasan waktu dan cukup banyak fitur utk proses instalasi Mandriva ini jika mau di bahas secara detil, maka saya hanya akan membahas garis besar atau proses singkat dan mudahnya saja utk cara instalasi Mandriva ini . ada beberapa cara instalasi berdasarkan sumbernya spt dari Hardisk,CDROM, Server dalam jaringan(web) ,tapi untuk panduan ini yg saya bahas untuk instalasi dari CDROM :

1).Setelah BIOS di set boot dari CDROM masukan CD1
2).Setelah tampilan utama akan memasuki menu Modus Instalasi yaitu grafis dan Text ,pilih saja grafis utk pemula.
3).Masuk menu bahasa , bisa pilih Bahasa Indonesia jika ini mungkin memudahkan. ->lalu next atau lanjutkan.
4).License agreement, pilih Accept ->lalu next atau lanjutkan.
5).Konfigurasi Mouse, mouse anda usb atau ps/2 pilih,->lalu next atau lanjutkan
6).Upgrade atau install, utk pilih saja install ,kecuali di PC anda sudah ada versi linux sebelumnya silahkan pilih upgrade, bila anda pilih upgrade nanti akan tampil pilihan upgrade dari versi linux yg sudah ada di PC ->lalu next atau lanjutkan
7).Konfigurasi keyboard, gampangnya pilih US.English ->lalu next atau lanjutkan
8).security Level atau Keamanan , ada High, Higher, Paranoid, Standar, pilih saja Standar utk panduan ini sebagai pemula ->lalu next atau lanjutkan
9). Partisi Hardisk, untuk pemula dan supaya amannya aja pilih saja Erase entire disk artinya akan menggunakan seluruh ruang hardisk, dan data-data yg pernah ada akan hilang akan atau bisa juga pilih Use existing partitions. yaitu anda akan di minta menentukan mount point setiap partisi yg ada, pilihan ini tidak kan menghapus partisi lain yg mungkin sudah ada. ->lalu next atau lanjutkan
10).Mem-format Partisi, untuk panduan ini lakukan format saja ,kecuali anda sudah paham bisa juga tidak perlu di format bila sudah memiliki partisi Linux sebelumnya, ->lalu next atau lanjutkan
11).Memilih CD instalasi, beri centang saja semua CD yg anda punya CD1,CD2,CD3...dst
12).Menambah Source Program /driver, ada None, CDROM, Network http, ftp .anda bisa pilih None, karena nanti bisa di lengkapi juga setelahproses install ini selesai .
13).Memilih Paket Program , ada 3 paket :workstation - Server - Graphical Environmet , pada panduan ini beri centang saja semua pada bagian Workstation, kosongkan bagian Server, dan pada Graphical Environment beri centang saja pd KDE Workstation, masalah ini akan di bahas pada artikel yg lain.->lalu next atau lanjutkan
14).Proses Instalasi di mulai tunggu dan pada tahap ini anda akan di minta memasukan CD2,CD3...dst sesuai versi Mandriva yg anda Instal , Mandriva 2005 (3 CD) , Mandriva 2006 (4 CD)Mandriva 2007 (4 CD) ,Mandriva 2008 (3 CD) .
15). Setelah prose instalasi selesai anda akan memasuki menu Password , jika anda tidak mau memberi password anda bisa meng-klik tombol pilihan No password , tapi utk panduan ini sebaiknya isikan saja password anda karena nanti berhubungan dengan pengelolaan user yg akan saya sedikit jelaskan ->lalu next atau lanjutkan
16). Menambah user, tambahkan user minimal 1 org utk bisa meng-akses system anda , anda yg menentukan username,password ,icon utk user tsb. ->lalu next atau lanjutkan lalu ->lalu next atau lanjutkan lagi.
17). Install Boot Loader, pilih saja First sector of drive, ->lalu next atau lanjutkan
18). Lalu akan masuk ke konfigurasi system yg telah terinstall, dan pada tahap ini mungkin anda akan melihat konfigurasi yg belum terinstall dg benar, anda boleh menyesuaikan atau boleh langsung ->lalu next atau lanjutkan
19). Konfigurasi Jaringan, yaitu mengkonfigurasi system hardware utk jaringan dan internet, jika pada tahap ini anda sdh paham silahkan di konfigurasi, jika tidak bisa langsung saja sembarang , nanti kita konfigurasi setelah proses instalasi, karena spt saya katakan dari awal bahwa tujuan panduan instalasi ini adalah utk pemula supaya proses instalasi Linux berhasil dulu, masalah lain2 nya akan di bahas belakangan , ->lalu next atau lanjutkan
20). Atur Time Zone , pilih Zona waktu di mana anda tinggal ,misalnya saya pilih Jakarta.->lalu next atau lanjutkan.
21). Lalu Pilih saja ,automatic time synchronization .
22). Booting Service , bila anda melewati tahap ini anda bisa pilih Syslog ,->lalu next atau lanjutkan.
23). Internet update, boleh pilih Yes atau No, ->lalu next atau lanjutkan
24).Selesai...keluarkan CD dari CDROM lalu klik tombol Reboot, setelah Reboot Mandriva anda siap di gunakan .


NOTE :
Sebagai tambahan, Jika anda karena suatu alasan tidak mau meng-install Linux ke PC anda , maka ada solusi lain yaitu menggunakan "Live CD".

Live CD itu apa.. ?
Cari di distro linux yg anda tau tanyakan beli Live CD mandriva 2005, 2006,2007,2008.
Lalu booting komputer ,Set BIOS untuk boot dari CDROM, masukan Live CD tadi ke CDROM dan nikmati Linux instan anda tidak perlu menginstall di hardisk.
Yups Live CD adalah linux instan CD ,saya sendiri juga suka pakai ini untuk suatu keperluan dan keadaan.
Mungkin live CD ini juga cocok untuk pemula untuk di coba-coba dalam rangka pengenalan.

cara install linux mandriva 2005, 2007 , 2008 sama saja..

Artikel linux lain


Penulis Iwan Rachmanto , free 7 blog
artikel belajar seo dan linux tips

Wednesday, June 20, 2007

Ubuntu Linux with photoshop turorials

More than a month after I switched to Ubuntu Linux in my laptop, I found that I missed having Photoshop in it for certain tasks. I did manage to create a blog header using Gimp but it took me at least ten times longer than it would have taken me in Photoshop. I had a hard time even resizing images in layers or removing backgrounds of photos.

Now, what do I do? That was the first thought that formed in my mind when I first opened Gimp about 5 or 6 six years ago in an Internet cafe on F. Ramos St. in Cebu City.

I was given the grand tour on Linux and open source software by Mike Schmeisser, a chain-smoking German geek, in his Internet cafe. His Internet cafe ran, save for one unit, solely on Linux. I interviewed Mike for a story on open source software and Linux and he invited me to his cafe to check his units.

Having been reared on image editing with Photoshop, I couldn’t find my way in Gimp. I’m not really a graphics person but I use Photoshop often for editing photos, editing images of screen activity for tutorials, and creating blog and website headers.

I tried various open source software after Mike’s introduction and even stuck with using many of them. But not Gimp. I once tried Gimpshop, a modification of the program to replicate the look and feel of Adobe Photoshop but then I found myself using Photoshop after a few days of playing with it.

More than a month after I switched to Ubuntu Linux in my laptop, I found that I missed having Photoshop in it for certain tasks. I did manage to create a blog header using Gimp but it took me at least ten times longer than it would have taken me in Photoshop. I had a hard time even resizing images in layers or removing backgrounds of photos.

While I’ve decided to actually learn to use Gimp or Gimpshop (I just found out it has a .deb file I can use for installation in Ubuntu) in the coming weeks or even Inkscape, I need to do some image editing now and these tasks couldn’t wait while I try to find my way in Gimp.

I decided to install Photoshop using Wine.

I checked for Photoshop compatibility in the Wine website and found that there were some problems in the CS versions (although this tutorial tempted me into trying it). While I use Photoshop CS, I know that with the tasks that I do, I can get by with just using Photoshop 7.0. The Wine website lists good feedback on using Photoshop 7.

I copied the Photoshop 7 installer from my backup hardrive to my USB stick and used it for the installation. The installation was pretty straightforward as I had added Wine earlier (version 0.9.33) using the Add Remove applications tool in Ubuntu.

I just attached the USB stick containing the installation folder, right-clicked on setup.exe then chose open with other application and typed wine in the custom command. After that, the familiar Adobe Photoshop installer took over.

I finished the installation and created an application launcher in my bottom panel. But before I added the launcher, I first searched around for a .png icon to be used with the Photoshop launcher. I then saved the icon, using Gnome commander running as root, to /usr/share/pixmaps/.

To add the Photoshop launcher: 1. I right-clicked on the bottom panel, 2. chose custom application launcher, 3. added wine "c:\Program Files\Adobe\Photoshop 7.0\Photoshop.exe" as command, 4. chose the Photoshop icon. According to this site Save for web will not work if you use forward slashes to point to the Photoshop.exe file.

Days after I installed Photoshop in my Linux laptop, I’ve had no major problems using it. I’ve been able to edit images just as I used to when I was still using Windows XP.

There is a minor irritant, though, of the application being open in several instances of your virtual desktops. It’s particularly irritating for me since I segregate my tasks on specific desktops. What I do with Photoshop is open it and finish the image editing task (no more Web surfing breaks while editing images) so that I can close the application and proceed to my other tasks.

Source: www.linuxera.com