Posts tagged ·

dvdcss

·...

Personal Fedora 15 Installation Guide

2 comments

Here my notes for my Fedora 15 install, again based on Mauriat Miranda’s guide. After you’ve gotten the DVD, this assumes you’re installing on a new 64 bits system, rather than upgrading.

A pleasant addition to the installation process is the ability to add the standard repositories (and any other repositories if you like). This means after a finished install, all basic packages will be up to date.

Third Party Repositories
You’ll need them for various patent encumbered libraries and apps, for playing MP3, DVD, etc.

sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Main Packages
For normal use

yum -y install audacity autossh digikam feh geeqie gimp gnupg gnucash gthumb gtkpod htop hugin ImageMagick k3b-extras-freeworld kdebase kdegraphics kino ktorrent lame-mp3x libcddb liberation-fonts-common liberation-mono-fonts liberation-narrow-fonts liberation-sans-fonts liberation-serif-fonts mplayer mencoder mjpegtools mozplugger mp3gain obexfs libreoffice-calc libreoffice-writer parcellite pidgin-otr thunderbird ufraw ufraw-gimp xine xine-lib-extras xine-lib-extras-freeworld xmms xmms-faad2 xmms-mp3 xmms-pulse

For development

yum -y install ant arj bash-completion dosbox dvdauthor dvgrab easymock easytag emacs enblend git gitk gnome-terminal gnome-system-monitor gnuplot htop iftop java-1.6.0-openjdk java-1.6.0-openjdk-javadoc java-1.6.0-openjdk-plugin java-1.6.0-openjdk-src joda-time joda-time-javadoc kdiff3 kover ncftp OpenEXR OpenEXR_Viewers python-dateutil python-mox qemu-launcher qtpfsgui quicksynergy rdesktop rssh subversion transcode unrar vcdimager vdr-mp3 vlc w3m wine wireshark-gnome

Extras
MPlayer Codecs


wget -O /tmp/all-20110131.tar.bz2 http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
mkdir -p /usr/lib/codecs
tar -jxvf /tmp/all-20110131.tar.bz2 --strip-components 1 -C /usr/lib/codecs/

DVD Playback


wget -O /tmp/libdvdcss-1.2.10-5.fc15.x86_64.rpm http://dl.atrpms.net/f15-x86_64/atrpms/stable/libdvdcss-1.2.10-5.fc15.x86_64.rpm
wget -O /tmp/libdvdcss2-1.2.10-5.fc15.x86_64.rpm http://dl.atrpms.net/f15-x86_64/atrpms/stable/libdvdcss2-1.2.10-5.fc15.x86_64.rpm
yum --nogpgcheck localinstall /tmp/libdvdcss2-1.2.10-5.fc15.x86_64.rpm /tmp/libdvdcss-1.2.10-5.fc15.x86_64.rpm

Change the SSHD port

You might want to run SSHD on a different port than 22 to avoid the worst influx of random attacks. For this example, let’s go for port 222.

In /etc/ssh/sshd_config, uncomment the Port setting, and change the number to 222.

Port 222

In /etc/sysconfig/iptables, add a line to accept incoming connections on this port. If you like, you can always keep the old as well.

# SSH
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 222 -j ACCEPT

Then, tell SELinux to accept this port by executing as root

semanage port -m -t ssh_port_t -p tcp 222
semanage port -l | grep ssh

Finally, restart the SSHD and iptables daemons. You can now test the new port by logging in locally:
/etc/init.d/sshd restart
/etc/init.d/iptables restart

ssh -p 222 localhost

Adding users

In the last versions of Fedora, the default user and group IDs moved from starting at 500 to start at 1000. However, you might want to keep the old IDs for compatibility with old external drives, NFS mounts, etc. You can and new users with custom user/group IDs simply by

adduser -u 500 myuser

Transferring from an old system

Finally, if you have and old system you need to transfer stuff from, you might want to remember:

  • Crontabs: /var/spool/cron
  • SSH keys: /home/*/.ssh

Other
You might also want to reinstall or retune a few other settings:

Personal Fedora 14 Installation Guide

1 comment

Although a bit delayed, here’s the Fedora 14 installation tips. Based on Mauriat Miranda’s guide. Assuming you’ve gotten the DVD, and installed a fresh system, here’s the initial steps to make you feel comfortable. (This is all based on a 64 bit machine).

Initial update
Assuming you’ve installed from a pre-built DVD, you’re initial install will be somewhat out of date. Always do an update before trying to fix or add other stuff.


yum -y update

Third Party Repositories
You’ll need them for various patent encumbered libraries and apps, for playing MP3, DVD, etc.

sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Main packages
Here’s my personal selection of packages for work and leisure.


yum -y install ant arj audacity autopano-sift-C bash-completion digikam dosbox dvdauthor dvgrab easymock easytag emacs enblend flash-plugin geeqie gimp git gitk gnome-mplayer gnome-volume-manager gnucash gstreamer-ffmpeg gstreamer-plugins-ugly gthumb gtkpod htop hugin ImageMagick java-1.6.0-openjdk java-1.6.0-openjdk-javadoc java-1.6.0-openjdk-plugin java-1.6.0-openjdk-src k3b-extras-freeworld kdebase kdegraphics kdiff3 kino kover ktorrent lame-mp3x libcddb libdvdcss liberation-fonts-common liberation-mono-fonts liberation-narrow-fonts liberation-sans-fonts liberation-serif-fonts mencoder mjpegtools mozplugger mp3gain ncftp obexfs OpenEXR OpenEXR_Viewers openoffice.org-calc openoffice.org-writer parcellite pidgin-otr qemu-launcher qtpfsgui quicksynergy rdesktop samba subversion thunderbird thunderbird-lightning transcode ufraw ufraw-gimp unrar vcdimager vdr-mp3 vlc w3m wine wireshark-gnome xine xine-lib-extras xine-lib-extras-freeworld xmms xmms-faad2 xmms-mp3 xmms-pulse

Extras
MPlayer Codecs

wget -O /tmp/all-20110131.tar.bz2 http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
mkdir -p /usr/lib/codecs
tar -jxvf /tmp/all-20110131.tar.bz2 --strip-components 1 -C /usr/lib/codecs/

DVD Playback

wget -O /tmp/libdvdcss-1.2.10-5.fc14.x86_64.rpm http://dl.atrpms.net/all/libdvdcss-1.2.10-5.fc14.x86_64.rpm
wget -O /tmp/libdvdcss2-1.2.10-5.fc14.x86_64.rpm http://dl.atrpms.net/all/libdvdcss2-1.2.10-5.fc14.x86_64.rpm
yum --nogpgcheck localinstall /tmp/libdvdcss2-1.2.10-5.fc14.x86_64.rpm /tmp/libdvdcss-1.2.10-5.fc14.x86_64.rpm

Skype
(Thanks to Riccardo Riva)


wget -O /tmp/skype-beta-fc10.i586.rpm http://www.skype.com/go/getskype-linux-beta-fc10
yum install -y qt-x11.i686 libXScrnSaver.i686 alsa-plugins-pulseaudio.i686
yum install --nogpgcheck -y /tmp/skype-beta-fc10.i586.rpm