Fix Ubuntu Putty

First install ssh with synaptic, then if needed:

Modify the
/etc/ssh/sshd_config
file on the server and changed the
‘PasswordAuthentication’ variable from ‘no’ to ‘yes’.
also change no on:
ForwardAgent yes
ForwardX11 yes
Then run
/etc/init.d/ssh restart
to restart the sshd server

Kubuntu – repositories

How to add extra repositories to (K)Ubuntu?

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo nano -w /etc/apt/sources.list
# edit list
apt get update

What to add:
For Kaffeine video codecs: #You can browse it here:
(ftp://ftp.nerim.net/debian-marillat/dists/stable/main/binary-i386/)
Add this line:
deb ftp://ftp.nerim.net/debian-marillat/ stable main
apt get install w32codecs
# and more

For Cinelerra: (needs more testing)
Depositories worked but they miss some packages and make it imposibble to install from here. But here they are anyway.
For i386 processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid ./
For Pentium4 processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/pentium4 ./
For Athlon processors:
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/athlonxp ./
Apt-source:
deb-src http://www.kiberpipa.org/~minmax/cinelerra/builds/sid ./

Instead try downloading Cinelerra from here:
http://prdownloads.sourceforge.net/heroines/
Then use alien and dpkg.

Q: How to convert .rpm file to .deb file?
sudo alien package_file.rpm
Q: How to install/uninstall .deb file?
#To install .deb file:
sudo dpkg -i package_file.deb
#To uninstall .deb file
sudo dpkg -r package_name

Some more ideas:

You’ll need to add some extra repositories. Can’t remember where MPlayer is located – you could try adding ‘Multiverse’..

Alternatively, here’s my /etc/apt/sources.list – and it covers just about everything!

[CODE]deb cdrom:[Kubuntu 5.04 _Hoary Hedgehog_ – Release i386 (20050407)]/ hoary main restricted

deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary main restricted
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary-updates main restricted
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary-updates main restricted

## Uncomment the following two lines to add software from the ‘universe’
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary universe multiverse
deb-src [url]http://gb.archive.ubuntu.com/ubuntu/[/url] hoary universe multiverse

deb [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security main restricted

deb [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security universe multiverse
deb-src [url]http://security.ubuntu.com/ubuntu/[/url] hoary-security universe multiverse

# deb [url]http://www.mpe.mpg.de/~ach/kubuntu/hoary/[/url] ./
# deb-src [url]http://www.mpe.mpg.de/~ach/kubuntu/hoary/[/url] ./

# deb [url]http://jrfonseca.dyndns.org/debian/[/url] ./

# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] stable main
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] unstable main
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] testing main

# deb [url]http://backports.ubuntuforums.org/backports/[/url] hoary-backports main universe restricted
# deb [url]http://backports.ubuntuforums.org/backports/[/url] hoary-extras main universe restricted

# deb [url]http://apt.cerkinfo.be/[/url] unstable main contrib non-free
# deb-src [url]http://apt.cerkinfo.be/[/url] unstable main contrib non-free

# Java – neustes SDK, JRE von Sun
# deb [url]ftp://neacm.fe.up.pt/pub/ubuntu-java/[/url] binary/

# MPlayer, w32codecs, libdvdcss2, Transcode, Avidemux
# deb [url]ftp://ftp.nerim.net/debian-marillat/[/url] unstable main

# Bootspash Quelle
# deb [url]http://www.bootsplash.de/files/debian/[/url] unstable main

# unstable stuff

# deb [url]http://www.lychnis.net/files/debian/[/url] unstable/i386/
# deb [url]http://www.lychnis.net/files/debian/[/url] unstable/all/

# super experimental

# deb [url]http://kitenet.net/~joey/debian/[/url] unstable/
# deb [url]http://kitenet.net/~joey/debian/[/url] experimental/

# packages for multimedia and more, like mplayer

# deb [url]http://pessoal.onda.com.br/rjamorim/debian/[/url] ./
# deb [url]http://www.rarewares.org/debian/packages/unstable/[/url] ./
# deb [url]http://debian.xmixahlx.com/packages/unstable/[/url] ./

# more stuff

# deb [url]http://bulma.net/~daneel/debian/[/url] ./
# deb [url]http://smurf.noris.de/code/debian/[/url] unstable smurf
# deb [url]http://smurf.noris.de/code/debian/[/url] experimental smurf

# deb [url]http://www.stanchina.net/~flavio/debian/[/url] ./[/CODE]

Beware of breaking your distro – I recommend adding only the extra repositories you need in the first instance..

Kubuntu – Post Install – notes

always consult
http://www.ubuntuguide.org

ctrl alt F1 ##open 1st console screen
sudo apt-get update
sudo apt-get upgrade
sudo apt-get instal synaptic
sudo apt-get install linux-686 ##for pentium kernel
sudo apt-get install linux-k7 ##for athlon kernel
sudo apt-get install linux-686-smp ##for dual pentium kernel
sudo apt-get install linux-k7-smp ##for dual athlon kernel

Fixing Control Panel:
Description: Controll Panel would not open Adminisrator Mode…

1) Delete everything in /var/tmp/kdecache (the one with your username in it)
example: /var/tmp/kdecache-erika
2) Check the /etc/kde3/kdm/kdmrc file and find AllowRootLogin. if false:
sudo nano -w /etc/kde3/kdm/kdmrc
ctrl w
AllowRootLogin
AllowRootLogin=false
set it to
AllowRootLogin=true

Installing Kubuntu – notes

Disk Setup: 1 x 160Gb HDD
hd1 106 Mb ext3 /boot bootflag: on
hd2 1024Mb swap
hd3 20GB reiserfs / ##root dir
hd4 …the rest reiserfs /home

Raid setup: 5 x 160Gb HDD
5x hd1 106 Mb raid1 ext3 /boot bootflag: on all 5
5x hd2 1024Mb no raid swap
5x hd3 4GB Raid5 reiserfs / ##root dir
5x hdd4 …the rest Raid5

The rest will be installed with VML

When [!!] Finish the installation Message Appears:
ALT F2
chroot /target /bin/bash
passwd ##make root password

When computer starst after install the first time, RAID needs to be fixed:
su
cat /proc/mdstat
mount ##checking
mount -a ##Fixing
mount ##Checking for the changes
exit

Fixing Grub:
su
cp /boot/grub/menu.lst /boot/grub/menu.lst.bak
nano -w /boot/grub/menu.lst

look for line:
# kopt=root=/dev/md1 ro
or
# kopt=root=/dev/hd1 ro

change to

# kopt=root=/dev/md1 ro nohdparm
or
# kopt=root=/dev/hd1 ro nohdparm

ctrl o
ctrl x

(This will add the new parameter I put there to all new kernels I install)
Also all the kernel lines that are already there can be fixed this way…

Fixing Swap if Raid instal:

su
nano -w /etc/fstab

change on all 5 swap the “sw” to pri=”1″

ctrl o
ctrl x

then make the changes with
swapoff -a
swapon -a
swapon -s

How-to maximize raid rebuild speed:

su
cat /proc/sys/dev/raid/speed_limit_max
check the max speed, it is like 20000
cat /proc/sys/dev/raid/speed_limit_min
check the min speed, it is like 1000 only

echo 20000 > /proc/sys/dev/raid/speed_limit_min

##echo can write config data to the proc stuff
##cat reads settings
##echo changes settings

setting LVM:
su
cp /etc/lvm/lvm.conf /etc/lvm/lvm.conf.bak
nano -w /etc/lvm/lvm.conf

go down to line starting with filter…

Folyt Kov…