Other

Want to support HowtoForge? Become a subscriber!
 

Setting up Subversion and websvn on Debian

Setting up Subversion and websvn on Debian

This howto will illustrate a way to install and configure Subversion and websvn on a Debian server. I will not specifically configure inetd with svnserve in this howto. Rest assured that Subversion will be totally functional without it. You can copy/paste most of the howto to get it working.

Flash Player 9 on Linux (Ubuntu Dapper Drake)

Flash Player 9 on Linux (Ubuntu Dapper Drake)

This tutorial shows how to install the Flash player on a Linux system. It was tested on Dapper Drake (on an x86 - 32 bit machine).

I get the feeling that my hard disk is very slow. Is there a way I can verify and tune it?

You can use hdparm to tune your hard disk. On Debian, you would run

apt-get install hdparm

to install it.

hdparm --help

shows a list of all available options. To get more information about your hard disk, run

hdparm -i /dev/hda

This will look like:

/dev/hda:

Model=MAXTOR 6L060J3, FwRev=A93.0500, SerialNo=663214759549
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=117266688
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:

* signifies the current active mode

To see how fast your hard disk currently is execute

How do I edit files on the command line?

To edit files on the command line, you can use an editor such as vi. To open the file, run

vi /path/to/file

Now you see the contents of the file (if there is any. Please note that the file is created if it does not exist yet.).

The most important commands in vi are these:

Press i to enter the Insert mode. Now you can type in your text.

To leave the Insert mode press ESC.

How do I scan my Linux system for rootkits, worms, trojans, etc.?

Either with chkrootkit or with rkhunter.

chkrootkit

Either install the package that comes with your distribution (on Debian you would run

apt-get install chkrootkit

), or download the sources from www.chkrootkit.org and install manually:

wget --passive-ftp ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar xvfz chkrootkit.tar.gz
cd chkrootkit-<version>/
make sense

Afterwards, you can move the chkrootkit directory somewhere else, e.g. /usr/local/chkrootkit:

first page
previous page
2