LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-13-2006, 02:19 PM   #181
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Original Poster
Rep: Reputation: 49

Hi Tony, this thread is a tutorial type of thread, in which users contribute with tips for using Debian, it's not for posting problems with Debian.

You're better off starting a new thread explaining your problem, this way, more people will see your post and offer more solutions.
 
Old 07-14-2006, 08:50 AM   #182
shag
Member
 
Registered: Jan 2005
Location: Melbourne
Distribution: Debian
Posts: 42

Rep: Reputation: 15
re resolution

I had the same prob with me laptop,
I just changed my sources to testing from stable,
and everything worked as it should.
With the particular chipset you were talking about,
good luck with it.
 
Old 07-14-2006, 09:41 AM   #183
pcalvert
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Talking

Quote:
Originally Posted by macondo
ICEWM THEMES INSTALLATION

One of the differences i noticed while on Sid, was the new themes for
IceWM in that version. They were beautiful. After a couple of weeks i
decided to go back to Sarge; i didn't like the way Firefox and Opera
moved, the scrolling was jerky, i couldn't use Synaptic because of the
bugs, plus the daily update/dist-upgrade. Not really serious things but
after a while it anoyed me.

So i'm back in Sarge!
I recently installed the latest Firefox from backports.org on Sarge. It seems to work okay, but it is really sluggish sometimes. I got sick of that and decided to try SeaMonkey. I'm glad I did because it is noticeably faster.

The only problem that I had is that I couldn't install to the default directory. The fix was easy, I just created a directory called "seamonkey" in my home directory and installed it there. Note: Do not become root first using su or sudo before installing it.

I downloaded the SeaMonkey installer from here:
http://www.mozilla.org/projects/seamonkey/

Phil

Last edited by pcalvert; 07-14-2006 at 09:44 AM.
 
Old 07-14-2006, 02:52 PM   #184
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Original Poster
Rep: Reputation: 49
Thanks Phil, i like it!
 
Old 07-16-2006, 08:29 AM   #185
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Rep: Reputation: 30
How to use Macromedia (better to say Adobe) Flash Player in Firefox browser :

I installed Firefox browser as per the instruction of Macondo in the first post of this thread.

Open firefox and in the address bar type 'about : plugins'
This will tell you about the plugins installed in your system. If you do not have flash installed, you will not see this item in this section. If you find libflashplayer.so in the FileName section under Shockwave Flash, you should ignore rest of this thread because, flash is already installed in your system.

If you do not find libflashplayer.so you may continue if you need flashplayer support in your browser.

Download flash player from http://www.adobe.com/shockwave/downl...ShockwaveFlash

Now save the file to your disk. When the download completes, be root with the su command and provide the password, extract the archive with the following command,
# tar -xvzf install_flash_player_7_linux.tar.gz
This will create a directory named 'install_flash_player_7_linux' under the current directory. Move into that directory ...
# cd install_flash_player_7_linux
and run the installer ...
# ./flashplayer-installer
This will tell you about the copyright of Macromedia Flash Player 7, the support web url, etc.. Now to proceed press Enter or Ctrl+c to quit the installation. Proceed...as directed, and when you will find an instruction which will tell you to exit any running browser, please shut off your browsers.
Proceed again... and you will find flash is asking for the path of your browsers installation directory. This is most vital, as success of your flash installation procedure will mostly depend on this step. In general firefox uses mozilla's plugin directory. You should put that directory /usr/lib/mozilla, now press y to confirm the installation.
After installation, it will report you with a message that the installation is complete and will ask you for another installation. Accept another installation by pressing y and now, for firefox installation directory give the path as /usr/lib/mozilla-firefox.
Press Y to complete the installation and then exit installation procedure.
Why the second time installation path mention is required? It is because, I have installed firefox as directed by Macondo in this thread's first post. In this installation, plugins directory of Mozilla and that of Firefox differs, and if you do not state the path of firefox's installation directory (which is /usr/lib/mozilla-firefox), the installation will be complete for Mozilla browser not for Firefox. That is why to enable Flash from Firefox, the mention of firefox installation directory is necessary.
If you like to enable Flash only in Firefox, you may provide only the /usr/lib/mozilla-firefox path as your borwser's installation directory. In this case, flash will be enabled only in firefox, similarly, you may mention as many path as you may wish if you have more borwsers (opera etc.) installed in your system.

Now check 'about : plugins' in your firefox borwser and you should find the details here for the plugin header for Shockwave Flash.

To test activity of flash go to url http://www.adobe.com/shockwave/welcome/
You should find the default picture under the head "Adobe Flash Player". Hover your mouse over "About" button and you can find the version.
 
Old 07-16-2006, 09:23 AM   #186
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 449

Rep: Reputation: 30
How to use JAVA runtime as plugin from firefox

To download latest JRE search at the following
http://java.sun.com/javase/downloads/index.jsp
I prefer java from SUN and that is why I am using the above link. The installation procedure here is also for Sun Java Runtime environment.
Go to the site and Click on Download button of Java Runtime Environment (JRE) 5.0 Update 7. Now accept the Licence agreement , and from Linux Platform - J2SE(TM) Runtime Environment 5.0 Update 7 select the jre-1_5_0_07-linux-i586.bin file which is a linux self extracting file of size 16 MB.

This will download the file to your home folder. Be root with the command su and provide the password. Move this file to your /usr/bin directory. Go there and change execute permission to all, as follows :
# mv jre-1_5_0_07-linux-i586.bin /usr/bin/
# cd /usr/bin
# chmod +x jre-1_5_0_07-linux-i586.bin

Now, run the file, with the command
# ./jre-1_5_0_07-linux-i586.bin
Press and hold ENTER key to accept the licence agreement, at the end you will find a message which will tell you, "Do you agree to the above license terms? [yes or no] " write "yes" to accept the licence and after a few procedure, a "DONE" message will confirm your installation.
Now the most vital part... make a symbolic link of libjavaplugin_oji.so from the jre's installation directory to the browser's plugin directory. Issue the following command,
# ln -s /usr/bin/jre1.5.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so
RESTART Firefox, and you may check with 'about : plugins' and you will be provided with the latest Java(TM) Plug-in 1.5.0_07-b03.

To test your newly installed Java Virtual Machine, follow this site http://www.java.com/en/download/help/testvm.xmlhttp://www.java.com/en/download/help/testvm.xml
and test your JVM.
 
Old 08-25-2006, 04:55 AM   #187
NTK
LQ Newbie
 
Registered: Aug 2006
Location: Singapore
Posts: 6

Rep: Reputation: 0
gd source tks alotz
 
Old 09-28-2006, 09:45 PM   #188
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by macondo
I launched xchat, went to the Freenode server and joined the #debian (channel), no joy, they didn't have time for me,
Pretty much my experience as well when I go there.
 
Old 09-29-2006, 09:12 PM   #189
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
just wanted to say thanks to macondo. your posts helped me a lot when i started using sarge.
 
Old 10-06-2006, 07:48 PM   #190
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by Volhv
just wanted to say thanks to macondo. your posts helped me a lot when i started using sarge.
Thanks Volhv, but don't forget there is a LOT of other people who contribute to this thread and teach us a thing or two.
 
Old 10-06-2006, 09:36 PM   #191
Volhv
Member
 
Registered: Sep 2006
Distribution: Debian 4.0 and Ubuntu 7.04
Posts: 50

Rep: Reputation: 15
Definitely. :-)
 
Old 10-28-2006, 09:50 AM   #192
nutspea
LQ Newbie
 
Registered: Oct 2006
Location: Hangzhou,P.R.China
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
it just feels pragmatic,great
thanks a lot
 
Old 11-24-2006, 06:52 AM   #193
darkplayer
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Thumbs up

Man, thank goodness I found this thread. Ran into a few hiccups and was googling like crazy. Will read on before I post anything that wasn't covered.

Great work peep's.

Last edited by darkplayer; 11-24-2006 at 06:54 AM.
 
Old 04-17-2007, 06:48 PM   #194
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Original Poster
Rep: Reputation: 49
Debian Install with the Business Card Netinstaller

This is a revised version of the previous article. In this one, i use the business card netinstaller (32 MB) and my hardware is different. Nothing much has changed, Etch now is the stable version and Lenny the testing one.

There are many ways of installing Debian, this is just how I do it.

Remember, if you break Debian, you get to keep both parts

You can download the netinstaller CD from:

debian-40r0-i386-businesscard.iso (32 MB)
http://cdimage.debian.org/debian-cd/4.0_r0/i386/iso-cd/

The type of installation I had in mind for this machine is a minimal one,
installing light apps that will render my system lean and mean. So, there
will be no KDE, Gnome, splash screens, or little stars titillating on the
desktop. I will install IceWM, because it's my favorite; but XFCE4, WMaker,
Fluxbox, Openbox, Ion3, are equally fast and excellent. I will install the
kernel 2.6, my pc is standard, there is nothing complex.

During this installation you will have the options to install Etch (stable),
Lenny (testing), or Sid (unstable).

MY HARDWARE

Processor Sempron 2600+
512 MB RAM
SiS integrated sound card
SiS900 integrated NIC
SiS 5300 integrated video card (32 MB video ram)
40 GB IDE hd (7200)
Samsung SyncMaster 753s
PS/2 generic 3-button mouse
Logitech iTouch keyboard (spanish)
Monitor's horizontal frequency (30-70)
Monitor's vertical refresh rate (50-160)
ADSL connection

You can find your monitor's frequencies from its manual or googling for its
brand and model, or manufacturer. DO NOT USE MINE.

It is a desktop, so users with laptops, adjust accordingly.

AT THE BOOT PROMPT

I inserted the installation CD and rebooted, it brought me to the boot
prompt. There, I pressed F1, F2, F3, F4, F5, F6, F7, and F8. I read
everything, and chose the following boot parameters:

boot: expert noapic nolapic bootkbd=es
debian-installer/framebuffer=false

expert26
will allow me to have more control on the installation, there will
be more options to choose from and it will choose kernel 26.

noapic nolapic
will allow me, together with the installation of 'apmd' (the apm
daemon), to shutdown my machine which has an old BIOS, and refuses to
shutdown automatically otherwise.

bootkbd=es
will allow me to use my spanish keyboard from the start.

debian-installer/framebuffer=false
will tell the installer NOT to install the framebuffer, which hangs my
system and has affected my fonts in the past.

If you don't understand any of this, it's OK, just type:
expert (press Enter)

From here on, after choosing an answer (YES, NO, CONTINUE, CANCEL) with
the TAB key, press the key Enter.

All set, I press Enter, the installation begins, the first screen comes
up...

1. Choose your country or region <Panama>
Select a keyboard layout <PC-style or PS2 connector>
keymap to use <Spanish>

Note: here you choose the language for your keyboard from the list given.

2. DETECT AND MOUNT CD-ROM
Modules <Continue>
Prompt for modules parameters <No>
Start PCI card services (unless you use a laptop) <No>
Unable to load some modules <Continue>

3. CD-ROM DETECTED <Enter>
LOAD INSTALLER COMPONENTS FROM CD <Enter>
Installer components to load <Continue>
Loading components... <it takes a few seconds>

4. DETECT NETWORK HARDWARE <Enter>
Module to load <Continue>
(here it shows the NIC module to be installed)
Prompt for module parameters <No>
Start PC card services <No>

Unable to load some modules <Continue>

5. CONFIGURE THE NETWORK <Enter>
Auto-configure network with DHCP <Yes>
(it configures it...)
Hostname <write something short, e.g. debian> <Enter>
Domain name <write your isp domain, e.g. pacific-bell.net>

6. DETECT HARDWARE <Enter>
Prompt for module parameters <No>
Start PC card services <No>

Unable to load some modules <Continue>

7. PARTITION DISKS <Enter>

a. Erase entire disk (hda)
b. Manually edit partition table

I've got no other OS, so I choose 'a' <Enter>
If you've got Windows or another operating system, choose 'b'.
The installer will guide you.

The next screen will show the different partition schemes:

If you chose the option 'a' above, the next screen will be:

8. PARTITIONING SCHEMES

a. All files in one partition (RECOMMENDED FOR NEWBIES)
b. Desktop machine
c. Multi-user workstation

The installer will partition the hard drive automatically, without the
user's intervention. Here's how it will partition depending on your choice:

a. It will create a root partition (/) and a swap one.
b. A root partition, swap, and /home.
c. It will create the following partitions:

/
/usr
/var
swap
/tmp
/home

IMPORTANT: Newbies choose 'a' and go to:

Finish partitioning and write changes to disk <Enter>

Of course, I chose "c", always looking for something different, I ended
up with this:

Ext 3 / 280 MB
Ext 3 /usr 5 GB
Ext 3 /var 3 GB
Ext 3 swap 390 MB
Ext 3 /tmp 399 MB
Ext 3 /home 31 GB


When you are thru with all the partitions, back at the original partitioning
screen, go down with the arrow, ALL THE WAY DOWN TILL THE END OF THE SCREEN,
otherwise, you might miss the following line, select it, so it's
highlighted:

Finish partitioning and write changes to disk <Enter>

The next screen list the partitions to be formatted, and it says NO by
default for matters of safety, so you don't accidentally make a mistake..

Choose <YES>

It begins formatting...

8. INSTALL THE BASE SYSTEM <Enter>

It starts installing the base system... 3/4 of the way in, it pop up a
dialog box, asking you what kernel you want, make your choice.

kernel-image 2.6.8-1-386 (is selected by default)
kernel-image 2.4.27-1-386

After this is finished, you're back at the main installation menu, and
the next line is:

9. INSTALL THE GRUB BOOT LOADER ON A HARD DISK <Enter>

If you chose Ext3, ReiserFS, or JFS, GRUB will be the way to go, install it
to the MBR or choose another place of your liking.

Note: newbies install GRUB to the MBR.

The CD ejects, close the CD-ROM <Continue> <Enter>

The machine starts rebooting...

It comes back with the screen:

11. DISPLAY INTRODUCTORY MESSAGE <Enter>
Welcome to your Debian System <Enter>

12. CONFIGURE YOUR TIME ZONE <Enter>
Is the hardware clock set to GMT? <No>
Are you in the Central America/Panama time zone? <Yes>
Is this information correct? <Yes>

Note: as you can see, i live in Central America, your questions will be
according to your place of residence, America, Europe, Asia, etc.

13. SET UP USERS AND PASSWORDS <Enter>
Enable shadow passwords? <Yes>
Root password <enter it>
Re-enter your password
Create a normal user account now? <Yes>
Enter a full name for the new user <you can type anything>
Enter a user name for your account <do it>
Type a password for the new user <do it>
Re-type the same password <do it>
Set the hostname (already done) <Enter>

14. CONFIGURE APT <Enter>
It gives a list of options <ftp>

DEBIAN DISTRIBUTION TO USE

-stable
-unstable
-testing

Choose Stable

Use non-free software? <Yes> (personal decision)
Mirror country <choose one close to you>
Choose the Debian mirror to use <choose one close to you>

Here, the screen goes black (console), and APT starts checking the
repositories for the Debian version you chose, it takes a few minutes.

Add another APT source? <No>
Use security updates from security.debian.org? <Yes>

15. SELECT AND INSTALL PACKAGES <Skip this line>

Here, I skipped this line with the arrow and installed my apps at the
end of the installation with apt-get.

16. CONFIGURE THE MAIL TRANSFER AGENT <Enter>
In the next few questions, just take the default answers, nothing to
write.

17. FINISH CONFIGURING THE BASE SYSTEM <Enter>
Thank you for using Debian <Enter>
It takes you to the console (black screen) with a debian login.

debian login: <write your username> Enter
password: <write your user password> Enter
(now you've become a user)

Example:
macondo@debian:~$

we have to become root in order to be able to install packages and edit
files. So type 'su' (switch user)

macondo@debian:~$ su <Enter>
password: <write your ROOT password> Enter
(now you're ROOT)

Example:
debian:/home/macondo#

Ok, now I install my apps so I can enter the X environment.

The first thing I do is:

# apt-get update
# apt-get dist-upgrade

OR

# apt-get update && apt-get dist-upgrade

After this, your repositories' database will be updated and the apps
already installed in the base installation, upgraded to the latest
version of the Debian version, you installed.

Now, I'm going to install some basic packages necessary to enter the X
environment, and also necessary to function in everyday life.

# apt-get install xorg iceweasel aterm icewm icewm-themes menu firehol xfe
xchat xzgv unzip zip bzip2 artwiz-cursor synaptic artwiz-cursor
xfonts-artwiz numlockx unclutter sudo xtrlock deborphan debfoster
localepurge xfonts-terminus sysvconfig joe scrot elinks openoffice.org
antiword icedove

Replace icewm with your favorite window manager.

If you like kde or gnome just install:

# apt-get install xorg kde-base
or
# apt-get install xorg gnome-core

In the HOWTO section of this site, there are a couple of manuals
explaining how to configure IceWM and Flubox.

After you come back, it's time to configure X, I follow the instructions
from the article:

The Very Verbose Debian Installation Walkthrough
http://osnews.com/story.php?news_id=2016
Sections 9 and 10

It takes all of 15 minutes to read, and will save you hours if not days. The
reason I tell you to read this, it's because nobody can explain this better
than Clinton De Young.

After reading this 2 sections, it'll take you just a few minutes to
configure X.

So, I say NO to auto-detection

17. CONFIGURATION OF X
Select the driver for your video card <sis>
Note: if you have problems with card's module choose "vesa" it will work
with almost every card.

Enter an identifier for your video card <sis 5300>
Read the next screen <Accept>
Please enter the video card bus identifier <leave blank>
Enter the amount (in kb) of memory for your video card <32768>
NOTE: # of MB X 1024

Please select the set of rules XKB to be used <xorg>
Read next screen <Accept>

Please select your keyboard model <PC 105>

Here, you can enter "PC104" for an American keyboard or "PC105 for a
European.

Please select the language (keymap) <es>
here you can enter 'us' for American, or 'gb' for British.

Please select your variant <leave blank>
Read the next screen <Accept>
Please select the options for your keyboard <leave blank>

Please show the port for your mouse </dev/psaux>
Please choose the option that better describes your mouse <ImPS/2>
this will activate the scroll wheel on your mouse.

Emulate a 3-button mouse? <no>
Activate the mouse wheel? <Yes>

Enter an identifier for your monitor <Samsung SyncMaster 753s>
Is your monitor LCD? <No>
Please select a method to configure your monitor <Advanced>
Enter your horizontal frequency range <30-70>
Enter your vertical refresh frequencies <50-160>
Choose your resolutions <1024x768>
Please choose the color depth in bits <16>
Read next screen <Accept>
Select the Xorg modules that should be loaded by default <leave as
is>
Next screen write Files section by default <Yes>
Write section DRI by default in the configuration file? <Yes>

18. FIREWALL CONFIGURATION

After I'm thru configuring X, the firewall (firehol) configuration is next,
we don't want to go in the internet without a firewall. Debian comes with
the editors nvi, nano, and ed by default. For this, I need to edit the file:
/etc/default/firehol

So, as root, I launch the text editor:

# nano /etc/default/firehol

and edit it to look like this:

START_FIREHOL=YES
FIREHOL_LOG_MODE="ULOG"

save/exit

in other words,

Ctrl+O <Enter>
Ctrl+X

Note: the letters 'o' and 'x' are typed in small caps.

The first line will activate Firehol, the second will divert the log
messages somewhere else, so the console screen will be free of them,
which is marvelous if you use "startx" to enter the X environment.

Next:

# firehol-wizard <Enter>

Press Enter when advised to do so, let it run, and that's it.

(Thank you Dead Parrot)

We have to reconfigure the locales:

LOCALES

# dpkg-reconfigure locales

A list will come up, go down the list with the arrows, and select with
the spacebar all the instances of en_US (about 3) and any other
language you use, choose OK, and on the next screen, choose your
environment language (the language all your instructions will be in)
select OK and the locales will be generated.

19. SWITCHING KERNELS

The default kernel during the installation was:

kernel-image-2.6.-386

but my processor is an AMD K7, so i install the appropriate kernel:

# apt-get install linux-image-2.6-k7

If you have a PII, PIII, or P4, install this kernel:

# apt-get install linux-image-2.6-686

if you got several processors choose the smp flag at the end.

For a list of kernels available:

$ apt-cache search linux-image

After installing the new kernel you have to reboot. If you installed GRUB,
you have to do nothing, no questions to answer, it will install, update the
grub menu automatically, at the end, all you have to do is:

# reboot

It can't get any better than this!

Later on, you can get rid of the old kernels with Synaptic or Debfoster.

Now i fix my booting:

$ nano .xinitrc

it gives an empty file, i add the following lines:

#!/bin/sh

numlockx &
unclutter &
icewm

Note: if you installed gnome, replace the last line with:

gnome-session

or

kdestart (if you installed kde)

save/exit from your editor

When you reboot, you will come back with a new kernel, some basic
applications, and a working firewall. You'll come to the console, in text
mode. At the prompt, type you username, press Enter, in the next line, type
your password, press Enter, at the next prompt, type 'startx', press Enter.

$ startx <Enter>

A few seconds later, you ought to be in your favorite window manager.

I hope this helps a little bit.
Good Luck!

Revised on 16 April 2007
Luis Lima aka macondo
ironwindow2001 [at] yahoo.com
_________________
 
Old 04-20-2007, 08:09 AM   #195
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Original Poster
Rep: Reputation: 49
HOWTO: Speeding up Debian

The purpose of this exercise is to make Debian faster by editing some files
and saving resources. The first thing you should do,
if possible, is to add RAM to your pc, it works wonders.

I did a minimal installation and installed my favorite window manager:
IceWM.

Other window managers (fluxbox, openbox, blackbox, windowmaker) are
excellent and will acomplish the job, XFCE4 is great too. Window managers
weigh one hundreth of what a desktop environment like Gnome or KDE weighs,
by doing a minimal installation you only install what you need, and avoid
the avalanche of apps that you never use. The less crud you got installed,
the less bugs, and the less complications will arise, thus, the KISS protocol:

Keep It Simple, Stupid.

BOOTING

The first thing i did was to edit the grub menu.lst:

$ sudo nano /boot/grub/menu.lst

once there, i edited the line that deals with the color of the booting menu.

***********************************************************************
# Pretty colours
#color cyan/blue white/blue
***********************************************************************
You can comment the second line (i deleted both lines), this will change
the color to the default white, if you dual boot, this will save resources.

If like me you only use Linux, and have no other OS, change the timeout line
to zero, this will save you 5 seconds of the booting time.

Example:
***********************************************************************
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 0
***********************************************************************

I installed the package 'sysvconfig' and launched from the terminal as root:

$ sudo sysvconfig <Enter>

I chose Enable/Disable and pressed OK.

WARNING: here we are going to disable boot processes, the less processes,
the faster it boots. This is a very SUBJECTIVE matter, every user has
different needs. Myself, i don't belong to a LAN, nor do i need complex
configuration, i just navigate the internet, e-mail, write articles, etc.
So do accordingly, i wrote down which processes i disabled, in case of any
problems, i could launch sysvconfig again and enabled them again.

I disabled:

ifupdown
networking
openbsd-inetd
rc.local

and left all the other default options as they were, obviously, i stayed
away from the ones that said: "Don't mess with this"

When i was finished, i pressed Enter and from the main menu, chose Quit, it
took me back to terminal.

XORG

Next, i edited the file /etc/X11/xorg.conf, and added these lines in the
Monitor section:

***********************************************************************
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "StandbyTime" "3" # Turn off screen in 3 minutes (DPMS)
Option "SuspendTime" "8" # Full hibernation in 8 minutes (DPMS)
Option "OffTime" "15" # Turn off DPMS monitor (DPMS)
EndSection
***********************************************************************
save/exit, this will save you resources with the monitor.

Next, i edited the file /etc/inittab and commented the TTYS except two, this
will save around 3 MB of RAM.


***********************************************************************
1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
***********************************************************************

Next, i edited /etc/fstab and left it looking like this:

***********************************************************************
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,noatime,errors=remount-ro 1 1
/dev/hda9 /home ext3 defaults,noatime,nodev,nosuid 1 2
/dev/hda8 /tmp ext3 defaults,noatime,nosuid 1 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda6 /var ext3 defaults,noatime 1 2
/dev/hda7 none swap sw 0 0
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
***********************************************************************

This article: (http://tinyurl.com/wurfw), explains the differences between
noatime, nodev, and nosuid and in what partitions you use them.

ENTERING THE X SYSTEM

$ nano .xinitrc

and i added the following lines:
***********************************************************************
#!/bin/sh

xlockmore &
numlockx &
unclutter &

icewm
***********************************************************************
save/exit, you're back to the prompt, type 'startx'

$ startx <Enter>

And last, but not least, install NO wallpapers, icons, or put flying birds
in the desktop, it looks great but it sucks RAM, and slows you down.

I rebooted the box and clocked it:

Time elapsed on my machine (Sempron 2600/512 MB RAM):

POST -> startx: 23 seconds
startx -> icewm: 5 seconds
icewm -> opera: 2 seconds

If you know other tips to make Debian faster, please post them

Luis Lima aka Lou/macondo
19 April 2007
This was written with the editor jpico.
_________________
 
  


Reply

Tags
debian, setup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Debian Post-Install Configuration macondo LinuxAnswers Discussion 5 12-11-2008 10:21 PM
(new to Debian) post install questions gugamare Debian 4 11-01-2005 09:01 AM
debian ugly post-install ssaady Debian 4 10-27-2005 06:02 AM
FC3 installation fails at post install configuration stage grstaker Fedora - Installation 8 06-20-2005 10:43 AM
RedHat 7.3 post install configuration LOCKS UP sput Linux - Distributions 7 07-19-2002 12:10 PM


All times are GMT -5. The time now is 01:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration