time ssh root@test6 ntfsclone -o - -s /dev/hda2 | ntfsclone --restore-image --overwrite /dev/hda2 - ssh test6 cat /mnt/hda3/ntfs.partinfo.000 nc host port
time (ntfsclone -o - -s /dev/hda2 | gzip -c > ntfs.img.gz) time (ntfsclone -O ntfs.img -s /dev/hda2) time (ntfsclone --restore-image --overwrite /dev/hda2 ntfs.img) time (gunzip -c ntfs.gz | ntfsclone --restore-image --overwrite /dev/hda2 -)
mount -o remount,rw / [Linux]
mount -o rw / [FreeBSD]
dmesg | grep sdb
sdb1: <bsd: sdb5 sdb6 sdb7 sdb8 sdb9>
mount -r -t ufs -o ufstype=ufs2 /dev/sdb5 /mnt
New stuff: -- smartctl -a /dev/hdb|less # show all SMART information smartctl --attributes --log=selftest --quietmode=errorsonly /dev/hdb (Prints Self-Test & Attribute errors) smartctl -t short /dev/hdb # start short test smartctl -t long /dev/hdb # start long test -- nidump -r /users/printadmin . (Mac OS/X) openssl passwd -crypt -salt ab somepass -- http://www.bytebot.net/fedora/getting-help-2.html Fedora get help -- http://www.redhat.com/archives/fedora-devel-list/2004-May/msg00908.html Prevention and Recovery Windows XP and Fedora Dual Boot -- Searching email lists http://marc.theaimsgroup.com http://news.gmane.org Searching SuSE mailing list http://www.netsys.com/suse-linux-e/index.html MySQL FULLTEXT Searching http://www.onlamp.com/pub/a/onlamp/2003/06/26/fulltext.html -- Fedora Tracker http://fedoranews.org/ghenry/tracker/ http://www.fedoratracker.org -- Mandrake was based on Red Hat in earlier times, but has diverged quite a lot since Mandrake 8. Mandrake includes all the multimedia goodies that the Americans are scared to include because of the DCMA. Mandrake installation and configuration is easier and more reliable than any other distro I've tried (with the possible exception of Knoppix, when it comes to hardware detection). Suse's Yast is just a mess, and I have yet to see their Sax2 tool work properly without hanging! The Mandrake partitioning tool is the best I've seen, and their software installation routines (urpmi) are easier then Debian's apt-get. Mandrake is the only operating system (including Windoze) that both my Wife and Father could install and configure without any intervention by me! You should try PCLinuxOS http://pclinusonline.com/pclos It is based on Mandrake, but include goodies that Mandrake doesn't It is designed for the desktop only MCSE Braindumps http://www.mcse.ms/ http://caosity.org/ http://caosity.org/download/mirrors
Michael's VPN FAQ
Debian 2.6.9 Kernel Compile w/ MPPE support
Setting up MPPE VPN support in Debian Linux
Connecting to the McGill VPN with MPPE on Linux
yum.conf example
Pre-Patched Kickstart Installs - Merging Updates with the Kickstart Tree
Yum Fedora Legacy Configuration for RedHat 9:
rpm -ivh http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/yum-2.0.3-0.fdr.1.rh90.noarch.rpm
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
rpm --import /usr/share/doc/yum-2.0.3/Fedora-GPG-KEY
rpm --import /usr/share/doc/yum-2.0.3/RPM-GPG-KEY
echo 'http://legacy.linux.duke.edu/redhat/$releasever/updates/$basearch/' >> /etc/yum.conf
# edit yum.conf and replace existing baseurl= under [redhat-updates]
vi /etc/yum.conf
yum update
Let me see. My suggestion:
* Run: rpm --import http://www.fedora.us/FEDORA-GPG-KEY
* Get http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/yum-2.0.3-0.fdr.1.rh90.noarch.rpm
Install it with "rpm -Uvh yum-2.0.3-0.fdr.1.rh90.noarch.rpm"
Or install it directly with "rpm -ivh http://...."; of the network.
RPM can do that.
* Install the Fedora Legacy public key for verifying package signatures.
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
* Choose a mirror of Fedora Legacy for Red Hat Linux 9 from the website,
e.g. modify /etc/yum.conf in the section that reads
[redhat-updates]
name=Red Hat Linux $releasever ($basearch) updates
baseurl=http://download.fedora.us/...
to use a different baseurl= such as:
baseurl=http://legacy.linux.duke.edu/redhat/$releasever/updates/$basearch/
For instance, this mirror: http://legacy.linux.duke.edu/redhat/9/
baseurl=http://legacy.linux.duke.edu/redhat/$releasever/os/$basearch/
* If you don't want any of the Fedora.us add-ons for Red Hat Linux 9,
disable the [fedora-stable] entry in the lower half of /etc/yum.conf.
* Then run "yum update" for the first time to fetch package headers. Note
there is a "yum" service which can download updates at night.
Commands to try:
- yum provides mysql
- yum list 'mysql*'
- yum list '*mysql*'
- yum search '*mysql*' is somewhat rough, but searches _all_ packages
- yum list extras to check your installation
If you don't know which to use, use yum.
href=http://www.fedoralegacy.org/docs/apt-rh9.php
*Please* take a look at the main page of http://fedora.us and what it says
near the top. http://fedora.us was using the name "fedora" _before_
the Fedora Project. It started as "Fedora Linux" an add-ons project
for Red Hat Linux. http://www.fedora.us/fedora-merge.html
Let's take a closer look at your URL from above (I think there's
a table somewhere explaining the structure, too):
http://mirrors.kernel.org/fedora.us/fedora/redhat/9/i386/yum/stable/RPMS/
http://mirrors.kernel.org/ this is a server mirroring several other serves
http://mirrors.kernel.org/fedora.us/ this is a mirror of http://download.fedora.us
http://mirrors.kernel.org/fedora.us/fedora/ this second "fedora" directory has nothing to do with "Fedora Core" it is just a top directory at the master site
http://mirrors.kernel.org/fedora.us/fedora/redhat/ this is the root directory of the add-ons for Red Hat Linux
http://mirrors.kernel.org/fedora.us/fedora/fedora/ The root directory of the add-ons for Fedora Core
http://mirrors.kernel.org/fedora.us/fedora/redhat/9/ this is the root of the add-ons for Red Hat Linux 9
In it you'll find:
RPMS.os Red Hat Linux 9
RPMS.updates Red Hat Linux 9 Errata + Fedora Legacy Updates for Red Hat Linux 9
RPMS.updates-testing -not used with Red Hat Linux -
RPMS.stable Extras for Red Hat Linux 9
RPMS.testing Extras for Red Hat Linux 9
RPMS.unstable Extras for Red Hat Linux 9
freshrpms key
[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
#[extras]
#name=Fedora Linux $releasever - $basearch - extras
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras
#[alternatives]
#name=Fedora Linux $releasever - $basearch - alternatives
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/alternatives
[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
Port List
Port List
Port List
Port List
Port List
VNC (Port 5900)
Port 5500 is used when connecting to a VNC server via the VNC viewer.
Port 5800 + display number is used when connecting to a VNC server with a web-browser, using the Java-based viewer.
An example would be http://192.168.10.5:5805, connecting to screen #5.
VNC port forwarding with ssh: HOWTO
SSH Tunnels (using PuTTY)
Terminal Server (port 3389)
To connect to server: smb://localhost/webmastr/
yum.conf
FedoraNEWS.ORG ArticlesFAQ
The Unofficial Fedora FAQ
Wiki FedoraHOWTO
Fedora Core 2 Tips and Tricks (v0.3)
Fedora Core 2 Review
Linux News
Fedora News
FedoraNews
LinuxLookup
FedoraZine
xf4vnc
Run FC1 as a Guest OS in VMware Workstation 4
How to Build Custom Yum Repository
How to make a local yum repository mirror
Upgrading MySQL version 3 to 4 RedHat / Fedora
Installing new Nvidia Drivers
How to upgrade to Fedora on a Laptop with no Floppy or CD Drive
NTFS
ntfs-3g
ntfs-progs
linux-ntfs
chntpw
LILO
http://www.redhat.com/support/resources/faqs/rhl_general_faq/s1-bootloader.html
boot Windows 9x from D:
other=/dev/hdb1
label=dos
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
>
Timo's Rescue CD Set - Build Your Bootable Rescue CD
Bash Programmable Completion:
[FreshMeat]
[Home]
$ export CDPATH=.:~:~/docs:~/src:~/src/ops/docs:/mnt:/usr/src/redhat:/usr/src/redhat/RPMS:/usr/src:/usr/lib:/usr/local:/software:/software/redhat
$ export HISTIGNORE="&:ls:ls *:mutt:[bf]g:exit"
cset show-all-if-ambiguous on
10.1 has been released
To reconfigure monitor: To reconfigure X11: sax2 -m 0=vesa Patran requires an earlier version of the f77 compiler to work. Install these components using yast: Software -> Software Management -> Filters -> RPM Groups -> Development compat-g77-3.3.5-2 gcc-info-4.0.2_20050901-3 gcc-4.0.2_20050901-3 gcc-c++-4.0.2_20050901-3 Yast Update Configuration Location: http://ccfs.it.unr.edu/ftp.suse.com/suse/ Mirrors: http://mirror.lupaworld.com/suse/inst-source/suse/i586/ http://ftp.leo.org/mirrors/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/: x86_64 Mirrors: http://mirror.lupaworld.com/suse/inst-source/suse/x86_64/ http://ftp.leo.org/mirrors/opensuse/distribution/SL-10.0-OSS/inst-source/suse/x86_64/ Extra packages needed: http://mirror.lupaworld.com/suse/inst-source/suse/x86_64/compat-g77-3.3.5-2.x86_64.rpm http://ftp.leo.org/mirrors/opensuse/distribution/SL-10.0-OSS/inst-source/suse/x86_64/gcc-fortran-4.0.2_20050901-3.x86_64.rpm http://ftp.leo.org/mirrors/opensuse/distribution/SL-10.0-OSS/inst-source/suse/x86_64/gmp-4.1.4-6.x86_64.rpm # rpcinfo -p inferno6 run rpcinfo to see if the server has a mountd running Extras
http://polymerase.biochem.unr.edu/suse93
Host: 134.197.51.160 Directory: /suse93
Documentation
http://www.mepis.org/node/1547 apt-get install debian-archive-keyring apt-get install debian-keyring -t experimental gpg --import /usr/share/keyrings/debian-keyring.gpg apt-key add /usr/share/keyrings/debian-role-keys.gpg apt-get update http://lists.debian.org/debian-amd64/2006/01/msg00167.html > If you just want to declare a repository as trusted just run: > gpg --recv-key KEY_ID && gpg -a --export KEY_ID | apt-key add - http://thinkhole.org/wp/2006/01/03/public-key-not-available/ W: GPG error: http://www.debian-multimedia.org sid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907 W: You may want to run apt-get update to correct these problems The key ID you need to get is the last 8 digits of that number: spare:/# gpg –keyserver subkeys.pgp.net –recv-keys 1F41B907 ; gpg –export 1F41B907 | apt-key add -; gpg: requesting key 1F41B907 from hkp server subkeys.pgp.net gpg: key 1F41B907: “Christian Marillat ” 55 new signatures gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: new signatures: 55 OK
http://pptpclient.sourceforge.net/howto-redhat-90-build.phtml
Test that the MPPE module loads on request:
# modprobe ppp-compress-18
Reconfigure X: apt-get install x-window-system-core dpkg-reconfigure xserver-xfree86 xf86config xf86cfg nano /etc/X11/XF86Config-4 | /etc/X11/XF86Config Install commands: base-config debconf-show exim4-config echo Subject: test|sendmail -v dahl@unr.edu dpkg-reconfigure xserver-xfree86 dselect aptitude synaptic
For security reasons, the Debian version of ssh has ForwardX11 and ForwardAgent set to ``off'' by default.
You can enable it for servers you trust, either in one of the configuration files, or with the -X command line option.
More details can be found in /usr/share/doc/ssh/README.Debian
Debian Powered Hosts Yet Simple, Version 2 (dphys2) Simple Automated Installer (SAI) for Debian 3.0 (woody)
autoup.sh
Package Management Tools - rpm dpkg etc
Debian Packaging Issues Explained (to myself)
Debian Installers
sudo kanotix-installer-latest-web
kanotix-installer
updatedb
locate .knofig
Mint:
apt-get install xfwm4 xfce4 xfwm4-themes xfce4-mcs-manager xfce4-mixer xfprint4 orage xfce4-terminal xfmedia desktop-base xubuntu-default-settings menu psutils a2ps groff gv html2ps xfce4*
apt-get install realplayer bum htop
apt-get install mozplugger
# vi /etc/mozpluggerrc
cd /usr/lib/firefox/plugins/
mkdir disable
mv mplayerplug-in* disable
To be notified of updates: sudo aptitude install upgrade-notifier
/etc/cron.daily/apt: UnattendedUpgradeInterval=1 (0=disable)
apt-get install unattended-upgrades
log: /var/log/unattended-upgrades
/etc/apt/apt.conf.d/50unattended-upgrades:
Unattended-Upgrade::Allowed-Origins {
"Ubuntu feisty-security";
"Ubuntu feisty-updates";
};
minute - hour - day of month - month - day of week 0 0 * * * aptitude -y update && aptitude -y upgrade && aptitude -y dist-upgrade && aptitude -y autoclean
dpkg tricks
List installed packages:
dpkg --get-selections | grep "\binstall" |awk '{print $1}'
dpkg --get-selections | grep "\binstall" > ubuntu-files; cat ubuntu-files | mailx -s “ubuntu-files” my.mail@my.address
dpkg --get-selections | grep "\binstall" > ubuntu-files
Restore list of packages:
dpkg --set-selections < ubuntu-files
dselect
type /
-- or --
apt-get update
apt-get dselect-upgrade
apt tricks:
apt-cache search neverball
apt-cache show neverball # more info
apt-get install neverball --reinstall
apt-get remove neverball
apt-get remove neverball --purge # removes config files too
apt-get dist-upgrade # smart upgrade
apt-get -f install pkg # force install
apt-cache depends neverball # show what it depends on
apt-cache rdepends libc6 # show what depends on it
Cleanup:
apt-get autoclean
apt-get install deborphan
deborphan | xargs sudo apt-get -y remove --purge
How to set up your own local Ubuntu repositories with apt-mirror
Todo after installing Ubuntu:
apt-get install ubuntu-restricted-extras p7zip-full gstreamer-plugins-*
apt-get install totem-mozilla
apt-get install helix-player mozilla-helix-player deluge-torrent
apt-get install exaile
apt-get install flashplugin-nonfree
apt-get install realplayer
# apt-get install vlc vlc-plugin-esd vlc-* mozilla-plugin-vlc
apt-get install vlc* mozilla-plugin-vlc
# https://help.ubuntu.com/community/RestrictedFormats/WindowsCodecs
#wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20071007-0.0_i386.deb
#dpkg -i w32codecs_20071007-0.0_i386.deb
dpkg -i /media/sdb2/var/cache/apt/archives/realplayer_10.0.9-0.1_i386.deb
wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add - && apt-get update
apt-get install w64codecs
apt-get install w32codecs
apt-get install libdvdcss2 regionset mplayer
apt-get install ntp
echo "server ns2.unr.edu" >> /etc/ntp.conf
/etc/init.d/ntp restart
apt-get install nis nfs-kernel-server autofs
#mkdir /mnt/willow
#mount willow:/ftp/iso /mnt/willow
mkdir /mnt/kickstart
mount pine:/kickstart /mnt/kickstart
cp /mnt/kickstart/updates/auto.misc.cs /etc/auto.misc
sh /mnt/kickstart/updates/create.cs.mountpoints.sh
vi /etc/auto.master
/etc/init.d/autofs restart
ls -l /misc/iso/ubuntu
Download packages for off-line use:
apt-get -qq --print-uris install {PACKAGES} > uris
awk '{print "wget -O " $2 " " $1}' < uris > /disc/wget-script.bat
apt-get -o dir::cache::archives="/disc/" install {PACKAGES}
You forgot ubuntustudio & JeOS!
USB Install
UbuntuOpenWeek
Wubi
Unetbootin
passwd
ifconfig
/etc/init.d/sshd start
fdisk /dev/hdb
new 786M hdb2
new 4196M hdb3
w
reboot
mkreiserfs /dev/hdb3
mount /dev/hdb3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mkswap /dev/hdb2
swapon /dev/hdb2
date
Update everything on system:
# emerge --sync
# emerge --update world
Removing orphaned dependencies:
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild
# /etc/init.d/postfix status
# /etc/init.d/postfix zap
# /etc/init.d/postfix ineed (iuse)
# /etc/init.d/postfix needsme (usesme)
# /etc/init.d/postfix broken
# rc-update add postfix default
# rc-update del postfix default
# rc-update show
mirrorselect -i -o >>/etc/make.conf
mirrorselect -r -o >>/etc/make.conf
Chrooting into the new environment
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
/etc/rc.conf
CLOCK="local" # for windows compatibility
qpkg -I -v [pkg] # How do I get a list of installed packages?
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap8
http://forums.gentoo.org/viewtopic-t-125553.html # portage on other distros
<>
Booting DSL CD with Grub
Script for building the ISO
Authentication
PAM - Limiting who can logon:
/etc/security/access.conf:
- +:root:ALL
- +:dahl:ALL
Solaris 8
06/08/31
If a user can't login:
- check /etc/passwd for MD5 password
- check /etc/default/login
- check /etc/sshd_config for: AllowUsers root dahl
Solaris 9
06/08/31
Solaris 10
06/08/31
FreeBSD 6.0(Release)
05/07/28
FreeBSD 5.4(Release)
07/03/07
Howto remove orphaned ports:
pkg_cutleaves -lc # list with comments
portmanager -slid
# show each port no other port depends on, long description, option to remove it
06/10/17
1) Single port update/add/rebuild examples:
portmanager x11/gnome2 updates/adds gnome2 and dependencies
portmanager x11/gnome2 -f rebuilds gnome2 and dependencies
2) portmanager -u -f forces rebuild of everything
3) -sl showleaves and -slid delete leaves
now no longer list build dependencies
Problem: Cannot update the pkgdb!
Solution: rm /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db and try again
06/10/12
Ports Documentation
http://www.FreeBSD.org/ports
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/
The individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.
/usr/ports/distfiles can also be periodically cleaned without ill-effect
To quickly search all the ports:
cd /usr/ports; make search name=""
portupgrade -R firefox # upgrade only specified port
portupgrade -PR gnome2 # upgrade package name instead of port
portsclean -C # clean up the temporary work directories using the make clean
portsclean -D # delete distfiles no longer referenced by any ports
rm -rf /usr/ports/distfiles/*
pkg_add -r lsof # fetch correct package
06/09/27
Uninstall ports packages:
shell$ pkg_info | grep mastodon
mastodon3.23 Be a big elephant and stomp out the planet! It's fun
shell$ pkg_delete mastodon3.23
Non-ports install:
make uninstall | deinstall
make -n install # reverse by hand
06/08/31
Links:
Easy Way to Upgrade FreeBSD Ports
CVSup Update FreeBSD Ports Collection Up to Date and Latest
CVSup Mirrors
Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit
Using Portsnap to Update FreeBSD Ports Tree Collection
Searching for Application in FreeBSD Ports Collection
Portdowngrade - Downgrade to Previous Version of FreeBSD Ports
Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1
Updates:
To install the port: cd /usr/ports/sysutils/portmanager && make install clean
To check the status of all ports and ports’ dependencies installed on your system: portmanager -s
To update all ports installed to up to date with your ports tree: portmanager -u
* upgrade ports example:
* portmanager -u -ip editors/nedit editors/openoffice
* upgrades everything except nedit,open office and their dependencies
* portmanager -sl will show you leaf ports, these are safe to remove
* portmanager -slid will let you safely remove leaf ports
* see man portmanager(1) or http://portmanager.sunsite.dk
To install the port: cd /usr/ports/security/portaudit/ && make install clean
To add the package: pkg_add -r portaudit
/usr/local/sbin/portaudit -Fda
run portaudit -Fa to refetch the database and check again
# screen # you'll want to run these in a screen session
# portaudit
# ls -l /var/db/portaudit/auditfile.tbz
> 4 problem(s) in your installed packages found.
# ls -l /var/db/pkg/pkgdb.db
# cvsup /root/ports-supfile
# pkgdb -F
# portupgrade -a
05/07/28
cat >> /etc/rpc
sgi_fam 391002
cat >> /etc/inetd.conf
# FAM: File Alteration Monitor [devel/fam]
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam
killall -HUP inetd
cat >> /etc/rc.conf
rpcbind_enable="YES"
cp /usr/X11R6/etc/rc.d/gdm.sh{.sample,}
bash
mkdir
cp /usr/local/etc/freebsd-update.conf{.sample,}
cp /usr/local/etc/portsnap.conf{.sample,}
add to .bashrc:
if [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
root@test2# cat /root/ports_update
#!/bin/sh
# script to update ports
CVSUP_MIRROR=cvsup3.FreeBSD.org
OUTDATED_LOG=/var/log/outdated.ports.txt
CVSUP_SUPFILE=/usr/share/examples/cvsup/ports-supfile
/usr/local/bin/cvsup -h $CVSUP_MIRROR -P - -g -L 2 $CVSUP_SUPFILE
/usr/local/sbin/pkgdb -aF
cd /usr/ports
/usr/bin/make -v index
/usr/local/sbin/portsdb -u
/usr/local/sbin/portsclean -C
/usr/local/sbin/pkgdb -u
/usr/local/sbin/portversion -v |/usr/bin/fgrep "needs" >$OUTDATED_LOG
05/07/15
/etc/rc.conf.local # ?
/etc/rc.conf # configures startup
/etc/rc.d # startup scripts
/stand/sysinstall # configure -> packages -> use passive ftp #4
pkg_add # adding packages
See /etc/local/etc for config files for 3rd party apps
/usr/local/etc/dhcpd.conf
/etc/ipnat.rules
/etc/rc.firewall
/etc/rc.d/ipfw stop
/etc/rc.d/ipfw start
ipfw list
ipfw flush
ps -ax
Install ISO:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.4/5.4-RELEASE-i386-bootonly.iso
# cd /usr/ports; cvsup -h cvsup3.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
ISOs: http://mirror.chpc.utah.edu/pub/centos/5.1/isos/i386/ Updates: http://mirror.chpc.utah.edu/pub/centos/5.1/updates/ rsync://mirror.chpc.utah.edu/pub/centos/
yum -y install yum-priorities grep "check_obsoletes" /etc/yum/pluginconf.d/priorities.conf (cd /etc/yum.repo.d; wget http://centos.karan.org/kbsingh-CentOS-Extras.repo) (cd /etc/yum.repo.d; wget http://centos.karan.org/kbsingh-CentOS-Misc.repo) http://rpmfind.net/linux/rpm2html/search.php?query=gv
# sestatus -v # newrole -r sysadm_r # id -Z root:system_r:unconfined_t:SystemLow-SystemHigh
| 7 August | test1 |
| 6 September | test2 |
| 4 October | test3 |
| 8 November | General Availability |
Ways to reboot after kernel panic: kernel /vmlinuz-2.6.11 root=/dev/md0 ro panic=15 echo 60 > /proc/sys/kernel/panic Add the following to /etc/sysctl.conf: kernel.panic = 20
yum update Error: python-devel conflicts with python < 2.4.4-1.fc6 Solution: # rpm -e python-2.4.3-18.fc6 or # yum update .exclude=python-devel
--erroronfail /usr/share/doc/anaconda-11.1.1.3/kickstart-docs.txt %post --nochroot --erroronfail if you want to set dhcp and disable ipv6 at the command line, pass these options:. noipv6 ip=dhcp * After you upgrade, run the following command: rpm -qa --last > RPMS_by_Install_Time.txt * Inspect the end of the output for packages that pre-date the upgrade. Remove or upgrade those packages from third-party repositories, or otherwise deal with them as necessary.
The fix that worked for me was the flush the up stream proxies (I am assuming my ISPs), using wget I ran: wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/repomd.xml
# Howto edit a file in place
echo "g/kickstart.linux/s/kickstart.linux/ks.eos/g"$'\n'"w" | /bin/ed -s /etc/yup.conf
# change virtural terminal
chvt 1
openssl passwd -1 -salt "NaCl" "don't use this"
http://www.vmware.com/community/thread.jspa?forumID=21&threadID=7289&messageID=54497
#### Run additional scripts on first boot ####
# Place scripts to be run on first boot in 'scripts/firstboot'
# directory. Control the order they are run by prefixing script
# with a number. Make sure to set/unset execute bit as desired
cat > /tmp/hpq/runonce.sh <<'EOF'
#!/bin/sh
cd /tmp/hpq/scripts/firstboot
for file in *.sh; do
if [ -x $file ]; then
./${file}
fi
done
mv -f /etc/rc.d/rc.local.sav /etc/rc.d/rc.local
reboot
EOF
## End Script
chmod +x /tmp/hpq/runonce.sh
## Run script on first boot via /etc/rc.local
cp /etc/rc.d/rc.local /etc/rc.d/rc.local.sav
cat >> /etc/rc.d/rc.local <
Fedora Core 4 (Stentz)
Updates
Release Notes
Known Bugs
Tip of the Week
IceBurg
Reviews:
Technetra
NewsForge
4 more
6 more
Installation Notes:
FedoraNEWS
Clemson
Third Party Repositories:
ATrpms
Dries
RPMforge
FreshRPMS
DAG
livna
15 March test1
11 April test2, string build freeze (builds completed)
10 May test3, translation build freeze (builds completed)
13 June Release open, announced
06/01/23
Personal Fedora Core 4 Installation Guide
Fedora Core 4 Tips and Tricks (v0.5)
05/07/18
Creating LiveCD
Bluetooth Dialup Networking
Installing JPackage Java
CD/DVD Installer Syslinux Crash Workaround
Duplicate grouplist in YUM
echo enablegroups=0 >> /etc/yum.repos.d/fedora-extras.repo
yum grouplist
yum --disablerepo=extras grouplist
sha1sum for Windows
FUDCon2
Yum Extender now in Extra
yum install yumex
Setting up YUM
Install Java Plugin
RealPlayer 10.0.5 Security Update
Missing Screensavers
05/07/15
Acrobat (from Clemson installation notes above)
cd /tmp
wget http://www.adobe.com/products/acrobat/readstep2.html/AdobeReader_enu-7.0.0-2.i386.rpm
wget ftp://carroll.aset.psu.edu/pub/.mirrors/3/fedora.redhat.com/development/i386/Fedora/RPMS/compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
rpm -ivh compat-libstdc++-33-3.2.3-47.fc4.i386.rpm AdobeReader_enu-7.0.0-2.i386.rpm
rpm -ivh http://www.adobe.com/products/acrobat/readstep2.html/AdobeReader_enu-7.0.0-2.rpm
cd /usr/lib/mozilla/plugins
ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
05/01/22
# vi /etc/yum.repos.d/fedora-updates.repo
baseurl=ftp://limestone.uoregon.edu/fedora/updates/4/i386/
# vi /etc/yum.repos.d/fedora.repo
baseurl=ftp://limestone.uoregon.edu/fedora/4/i386/
# vi /etc/yum.repos.d/fedora-extras.repo
baseurl=ftp://limestone.uoregon.edu/fedora/extras/4/
echo letter > /etc/papersize
/usr/share/doc/ifupdown/examples/network-interfaces.
/usr/share/doc/zope2.7/README.Debian.gz
mathopd/usr/sbin/mathopdapt-get install zope2.7apt-get install lg-all
shopt -s cdspell
ps axZ | grep httpd
05/03/15
pdfmerge pdftk htmldoc
Adobe Acrobat Reader 7.0 final released
nVidia 1.0-7167 Linux Driver Available
NeroLINUX CD/DVD Burning software announced
New ATI graphic driver
You can use netcat to scan ports
nc -v -w 1 -z 1-1024
To install an older version of a package that is already installed, without removing the current version:
# rpm --install --oldpackage blah.rpm
To replace the current package with the older version:
# rpm --upgrade --oldpackage blah.rpm
MondoRescue
Sleuthkit
FedoraExtras
TransparentProxy
Captive: The first free NTFS read/write filesystem for GNU/Linux
Fedora Core 3 (Heidelberg)
Release Notes
13 July 2004 - Test 1 release
20 September 2004 - Test 2 release
11 October 2004 - Test 3 release
8 November 2004 - General Availability
Fedora C
05/01/22
OpenSSH is no longer configured to request X11 forwarding by default
when connecting to servers. To enable X11 forwarding, the -X or -Y
option must be specified, or the ForwardX11 option must be enabled in
the ~/.ssh/config file.
The behavior of ssh clients that are invoked with the -X flag has
changed. In OpenSSH 3.8 and later, X11 forwarding is performed in a way
that applications run as untrusted clients by default. Previously,
X11 forwarding was performed so that applications always ran as
trusted clients. Some applications may not function properly when run
as untrusted clients. To forward X11 so that applications are run as
trusted clients, invoke ssh with the -Y flag instead of the -X flag,
or set ForwardX11Trusted in the ~/.ssh/config file.
The ext2online utility has been added for online growing of existing ext3 file systems.
Packages Removed
The following packages have been removed from Fedora Core 2:
- imap -> Replaced by dovecot
Fedora Core 2 (tettnang)
Release Notes
FC2 will go Legacy when FC4 Test 2 is released on: March 21, 2005
04/06/22
How do I use Yum in Fedora?
Upgrading Red Hat Linux/Fedora Core with yum
Redwire mirror
Fedora Core 2 Review
Apache 2 RPMs - Installation and Configuration on Fedora Core
How to upgrade to Fedora on a Laptop with no Floppy or CD Drive
# Make a directory called /boot/isolinux.
# Copy the isolinux/ directory from your Fedora media into /boot/isolinux. You can either download this directory from elsewhere, or mount your ISO images using the following commands:
computername> mkdir /mnt/iso
computername> mount -o loop.iso /mnt/iso
computername> cd /mnt/iso
computername> tar cf - isolinux | ( cd /boot; tar xf - )
# Edit the file /etc/grub.conf, adding the following lines to the end of the file:
title Upgrade to Fedora
root (hd0,0)
kernel /boot/isolinux/vmlinuz root=LABEL=/
initrd /boot/isolinux/initrd.img
04/06/14
# cpio -i (extract) -d (create directories) -t (table of contents)
rpm2cpio httpd-2.0.40-21.i386.rpm | cpio -id
cd etc/httpd/conf
Fedora Core 1 (yarrow)
Release Notes
FC1 went Legacy on: 20 September 2004
03/12/17
Red Hat Enterprise Linux
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109276
If an application does not work properly with NPTL, it can be run using the old Linux Threads implementation by setting the following environment variable:
LD_ASSUME_KERNEL=<kernel-version>
The following versions are available:
2.4.19 — Linuxthreads with floating stacks
2.2.5 — Linuxthreads without floating stacks
The Fedora Core 1 kernel includes support for ACPI (Advanced Configuration and Power Interface). By default, ACPI support is disabled; it can be enabled by using the following boot-time option:
acpi=on
Interesting packages added to Fedora Core 1:
- acpid _ Daemon for ACPI (Advanced Configuration and Power Interface)
- dvd+rw-tools _ DVD+RW/+R (and DVD-RW/-R) media mastering utilities
- epiphany _ GNOME Web browser based on the Mozilla rendering engine
- freeglut _ Open source implementation of the GL Utility Toolkit (GLUT)
- fsh _ Fast command execution via ssh
- gnome-pilot-conduits _ Additional conduits for PDAs running Palm OSr
- memtest86 _ Comprehensive standalone memory tester
- nano _ A small and easy-to-use text editor
- redhat-config-boot _ Graphical boot loader configuration tool
- rhgb _ Support for Red Hat graphical boot
- redhat-config-netboot _ Graphical network boot (using pxelinux) configuration tool
- sound-juicer _ CD ripping tool
- yum _ Package maintenance/dependency resolving software
> Ahh grasshopper, RH used to use a normal boot floppy image the same way
> the bootable Win98 CD's did, but not anymore. Apparently they now use
> something called ISOLINUX which works differently. More of a native
> cd-rom thing.
But still doable with mkisofs. Seehere
Then again, dvdrecord's commandline syntax is so easy, I rarely use gcombust to burn DVDs. (I've been getting a lot of mileage out of the mkdvdiso.sh script that someone posted to the Fedora list to make DVDs out of all my RedHat distros. *grin*)
mkdeviso.sh
ftp://people.redhat.com/ckloiber/mkdvdiso.sh
The Guru Labs "ldapmigrate" script can be used to import your /etc files into your LDAP directory. It is cleaner, smaller and has other advantages over the PADL scripts. The prerequisite is that you have your OpenLDAP server securely, and properly setup.
You can obtain it at:http://www.GuruLabs.com/downloads.html
03/07/23 Fedora Test 2 (severn2)
glibc i686 upgrade info
1
2
> Is there any *real* benefit to running the i686 version of glibc? Or is it only "perceived"?
It's HUGE -- you only get NPTL in i686 glibc, i386 can't do NPTL
Try the rpm and popt test builds from
here. They seem to be a lot more stable than the default RPM.
>> If I disable building debug rpms, will this work then? How to disable
>> that, looked in rpmbuild man page and found nothing about it.
>
>I added this to my spec file, seems to work:
>%define debug_package %{nil}
specfiles are way too crufty as it is. Just do this:
$ echo '%debug_package %{nil}' >>~/.rpmmacros
Shamelessly stolen
from
Samba PDC
config problem
For Read only, I just tested
ext2fsd They can write on ext2 but can't write on ext3 yet.
> It's been done. Popped up on freshmeat.net a few nights ago. Do a site
> search there for something like "rescue CD Redhat" since I can't remember
> the name of the project.
Cool Linux CD
is a bootable CD that contains a a live Linux distribution
based on RedHat 7.3. It also includes the XFS filesystem, devfs, IceWM,
QVWM, ROX-filer, OpenOffice.org, Opera, Mozilla, Sylpheed, Pan, Licq, X-chat,
GFTP, ppp-redialer, xmms, xine, mplayer, gqview, LinNeighborhood, IPTraffic,
VMWare, and more.
GetCodecs is a simple applet written in python with a GTK2 GUI that downloads, installs, and configures your system to use the various multimedia formats (MP3, DivX, DVD, etc) that are not shipped with many distributions (such as RedHat).
yum repository for severn
You might want to look at things like fwbuilder (my personal favorite),
gShield, or shorewall. All of them make building a router/NAT/firewall an whole
lot easier. They each have their strong points and weaknesses. If your just
trying to get things up and running and you can live with its limitations
gShield has a very low cost of entry. It is nothing more than a group of shell
scripts that you set some variables in a config file and load. I used it for a
long time until my needs exceeded its ability ( I needed to be able to handle
4 interfaces and gShield cannot do this).
Fedora
ISOs
MD5SUM
Memo: Red Hat Linux & Fedora
Yes. Do the following:
1. As root, switch to runlevel 3 (init 3).
2. Login again as root.
3. before running the NVidia Installer, set the CC veriable to use gcc32 with the command: export "CC=gcc32"
4. run the NVidia Installer program and let it compile the modules as normal.
5. Update XF86Config as usual (stuff like getting rid of "load dri")
6. Test with startx, but it should be OK.
7. Switch back to runlevel 5 (init 5)
8. You're done!
Happily running Severn2 with the latest NVidia drivers with no troubles so far...
Gary Benson has made rpms and .src.rpms of some open source java packages
compiled with gcj.
Try jpackage.org. They have a full suite of rpms for java stuff, right
up to eclipse too. And you can use apt or yum on it. Is this what you
want?
> How about /usr/sbin/ntsysv
The beta for the next version of AS is called taroon
PogoLinux IDE Raid Storage
The mozilla project's
calendaring app has spun off on its own
and I think it's got a lot of potential. Check it out:
You might take a look at "jpilot". It's meant to provide desktop
PDA support, but there's no need to synchronize with a PDA. It gives
the core functionality of a Palm-pilot PDA. It has a nice calendar
(and nice printout) with reminders.
Install linux via console
ipp://192.168.0.12/ipp/lp1
OR
ipp://192.168.0.12/lp1
SATA problems
Try installing k12ltsp.org - their distro is based on redhat 9 and includes
the latest kernel. You can rsync against your redhat 9 cds and it wont take
long.
Macromedia Flash-plugin
RedHat 9 (Shrike)
Resources
a) Enterprise Linux Today
b) HP.com
c) IBM.com
d) Linux Documentation Project
e) Linux Journal
f) Linux Lookup
g) Linux Today
h) Linux World
i) NewsForge
j) Red Hat
k) SearchEnterpriseLinux.com
l) Slashdot.org
m) Tech Republic
03/07/23
install apt
fromhttp://ayo.freshrpms.net/
rpm -ivhhttp://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/apt/apt-0.5.5cnc6-fr0.rh80.1.i386.rpm
vi /etc/apt/sources.list
apt-get update
apt-get -f install
apt-get -u upgrade
apt-get -u dist-upgrade
03/05/15
Hacking Redhat Kickstart
To add a checksum to the ISO image, use the following command:
implantisomd5 /RH80/mydist.iso
A companion tool, checkisomd5, can be used to verify the checksum for you:
checkisomd5 /RH80/mydist.iso
03/03/08
> The 1.4a rpms from mozilla.org werent very good. I'm running a
> 1.4nightly rpm from there and all is good. 1.3 is fine and I'd say
> 1.3.1 will be too.
>
> To get the java plugin to work you need to be using a plugin that is
> compiled with gcc3.2 as that is what mozilla is now built with.
> There are 2 places you can get this, that is www.blackdown.org who
> provide java1.4.1 built with gcc3.2 or the latest Sun java1.4.2beta
> which has a plugin that is built with gcc3.2. You need to sym-link
> this plugin to "/usr/lib/mozilla/plugins/". I'd recommend the Sun
> beta as the blackdown plugin was having troubles with the new
> threading libraries, at least for me.
>
> Hope this helps.
Sun plugin didn't work with applets for me and last blackdown fcs
(1.4.1-2) does.
>
> -Damien
>
> Gregory Gulik wrote:
>
>>
>> Yes, it is shipped with a gtk2 build.
>>
>> I had trouble upgrading to gtk2 version of Mozilla 1.4a from the
>> contributed RPMs on Mozilla's website. There were several glitches,
>> the most serious of which was that I couldn't get the Java plug-in
>> to work at all. I tried everything I could think of.
>>
>> I ended up reverting back to the version that came with it.
>>
>>
>> Nikos Charonitakis wrote:
>>
>>> is mozilla that shiped with 9 a gtk2 build?
>>> is it safe to download and upgrade via rpm a later
>>> version than 1.2.1 without break anything?
RedHat 8 (phoebe)
03/02/19
For phoebe updates you need to use the daily releases:
get the most current one - available
here
a 'yum update' should work - except that some pkgs have been pulled from
phoebe3 that were in phoebe2 - yum will just bail and tell you what you
should remove. Automatical removal w/o explicitly requesting it is evil
and dangerous imo.
Fast Phoebe
mirrors
Real Player
for Linux,Sun,HP
> I did see a previous post about "kickstart file from nfs server in dhcp no
> longer works" Does this apply to ks=floppy and an attempted FTP network
> install?
Bug that was fixed Friday afternoon. Workaround is to add --device=eth0
to your network line.
> > > When I build from a src.rpm, I don't what to get the debuginfo rpm.
> > > I do want it to strip the debugging info off, however. I've tried
> > > this the /etc/rpm/macros:
> Thanks for the reply. No luck. I tried:
>
> %_enable_debug_packages 0
> %__debug_package=""
>
> I tried both one and two underscores before debug.
Have you tried putting them in ~/.rpmmacros ? Changes in /etc/rpm/macros
will be lost during an rpm upgrade, for one thing. The search order may
make a difference as well.
> In phoebe2 I often get this error with ldap* :
> $ ldapadd -f bard2.ldif
> ldap_sasl_interactive_bind_s: No such attribute
>
> Indeed, man ldap_bind doesn't list this function.
>
> Am I doing something wrong?
Use 'ldapadd -x' for "simple" authentication, rather than SASL.
> Add to Panel -> Utility -> Show Desktop Button
Spamassin: 10.8.x is the latest.
rpm -ivh --oldpackage
Don't use --force to lightly ;-)
03/01/24
To restore stock default icons
Preferences -> Desktop Theme -> Details. Click on the icon tab, select GNOME.
There have been two Phoebe betas: Phoebe (8.0.92) and Phoebe2 (8.0.93)
apt-rpmrepository for phoebe
Further, if it'll stay umask=033, it should be covered in the
release notes that users may need to adjust their fstab with option
umask=022 to get the old behaviour.
For a patch against util-linux, see bug #81201.
It sounds like a bug in phoebe1 is still in phoebe2. There is some junk
left over from replaced 8.0 packages. The fix (from a previous thread) is
rm -rf /usr/lib/python2.2/site-packages/bonobo
02/11/13
Optical Mice:
For smooth operation, add:
Option "Resolution" "1600"
to the mouse "Input Device" section of your XF86Config.
Mounting DOS Partitions read/write:
/dev/hda12 /mnt/vfat_32 vfat noauto,user,uid=hgp,gid=hgp
How can I keep my DHCP server from overriding the local settings on RH 8?
In RH 8, you can now create a file called /etc/dhclient-ifname.conf. So if you get your DHCP stuff through your eth0 interface, you would call it /etc/dhclient-eth0.conf. In this file, you can override pretty much any setting that would normally be delivered by the server, and much, much more. Try 'man dhclient.conf' for more details.
Where has Xconfigurator gone?
It's been deprecated in RH 8 in favor of redhat-config-xfree86.
Psyche
FAQ
vmware does not have compiled kernel modules for either the base 8.0 kernel or
the errata kernel (they are usually do not for errata kernels and the 8.0
errata kernel should be considered a must). Therefore, when you run
/usr/bin/vmware-config.pl, it will try to compile the modules such as
vmnet.o. To get the compile to run successfully on any system, you need to
have the kernel-source installed and configured to look like the running
kernel. On 8.0, you need to "CC=/usr/bin/gcc" prefix or you will get an
error when you run vmware-config.pl.
/usr/share/doc/initscripts-*/sysconfig.txt
Memory Stick
vi /etc/updfstab.conf
mount /dev/sda /mnt/memorystick
My way of backing up things is to rsync it to a partition on a different disk:
rsync --delete -rv /home /mnt/backup/hal
Many tarballs now include a .spec file, and if that is the case then
"rpbbuild -tb package.tar.gz" will produce an rpm for you to install
it as a managed package.
02/10/16
NVidia
Permissions
RedHat 7.2 on
Dell Inspiron 8100
Make DVD
VMWare Bug
$ rpm -qa --qf "%{name}\n"
sysadmin CD
rsync rsync://rsync.dulug.duke.edu
Hanging kernel
What kind of machine? Try 'linux noapic' 'linux pic' 'linux apm=off'
Does the numlock key work when it hangs? If not, try
'linux vga=extended nmi_watchdog=1'. That should dump where the
kernel is when it hangs.
Anyway can you please try
apm=idle-threshold=100
instead of apm=off to narrow down the breakage?
And can you send me (off list) the output of the dmidecode program (part
of the kernel-utils package) so that I can mark your machine as "can't
do APM" (or can't do APM idle, if that's the only thing that turns out
bust)
The full list:
> Google turns this up and I've used to install RHES on 1850's:
> linux text apm=off lowres noapic noht nomce nousb nousbstorage skipddc
Open Samba ports in firewall
yes, ports 137:139 (tcp)
in /etc/php.ini you should change
short_open_tag = Off to short_open_tag = On then restart httpd
Beware turning on the short_open_tag in php.ini. It was turned off for a
reason. The web server won't know if your short tags are php or xml.
Psyche article
You can also boot off the first CD and type: linux askmethod
whichcd
RPM
corrupts database
/etc/lpd.perms. The as-shipped LPRng configuration rejects all
non-local jobs, for better security. You can add a line like:
ACCEPT SERVICE=X REMOTEIP=192.168.1.0/255.255.255.0
to allow printing from hosts on your subnet.
iptables
fiaif
MonMotha's
IPTables Firewall Script
Sshorewall
GuardDog
rc.firewalls
You can download the CD labelled "psyche-docs.iso" and install the
documentation
from the RPM's named:
rhl-sg-en-8.0-2
rhl-gsg-en-8.0-4
rhl-ig-x86-en-8.0-2
rhl-rg-en-8.0-2
rhl-cg-en-8.0-2
They are then available from the Panel menu and are opened with "mozilla".
Remote
GLX
Finally, samba is working with firewall!
I tested many ports, and eventually I figured out that ports 137 and 139
are needed. By adding the following two lines in ipchains, samba is working:
-A input -s 128.252.85.0/24 -d 128.252.85.0/24 139 -p tcp -y -j ACCEPT
-A input -s 128.252.85.0/24 137 -d 128.252.85.0/24 -p udp -j ACCEPT
Reconfigure X
'Xconfigurator --expert' is the command I think.
> How can I create an ISO image from a given set of files (directory structure)?
mkisofs -R -J -V -v -o name-of-iso.iso /directory/to/make/into/iso
mkisofs -r -v -J -o file.iso directory/
This is Andy McFadden's
CD-Recordable FAQ
This
one is also "essential" reading:
Mondo-- better than Ghost and free
I have cloned linux partition on to other partitions on the same disk...
and from disk to disk...
dd if=/dev/hda1 of=/dev/hda2 or
dd if=/dev/hda of=/dev/hdb, have worked fine for me on many occasions...
RedHat's
University User Group Program
Add the following to/etc/popt to continue invoking rpmbuild from the rpm command line:
rpm exec --bp rpmb -bp
rpm exec --bc rpmb -bc
rpm exec --bi rpmb -bi
rpm exec --bl rpmb -bl
rpm exec --ba rpmb -ba
rpm exec --bb rpmb -bb
rpm exec --bs rpmb -bs
rpm exec --tp rpmb -tp
rpm exec --tc rpmb -tc
rpm exec --ti rpmb -ti
rpm exec --tl rpmb -tl
rpm exec --ta rpmb -ta
rpm exec --tb rpmb -tb
rpm exec --ts rpmb -ts
rpm exec --rebuild rpmb --rebuild
rpm exec --recompile rpmb --recompile
rpm exec --clean rpmb --clean
rpm exec --rmsource rpmb --rmsource
rpm exec --rmspec rpmb --rmspec
rpm exec --target rpmb --target
rpm exec --short-circuit rpmb --short-circuit
02/01/15
Linux Distributions:
http://www.linux.org/dist/list.html
Single Floppy:
DLX Linux (full featured)
Fli4L (ISDN, DSL and Ethernet-Router)
Freesco (free cisco router replacement)
hal91 Floppy Linux (rescue disk and a portable linux system)
LOAF (Linux on a floppy)
Pocket Linux (convert a PC workstation into a secure, Linux-based workstation)
spyLinux (Python interpreter web/email server)
tomsrtbt (repair tools)
Trinux (ramdisk)
Secure:
EnGarde Secure Linux (advanced security techniques)
Immunix OS (DARPA)
Kaladix Linux ("hyper-secure" system)
Security-Enhanced Linux (NSA & Univ of Utah)
Trustix Secure Linux (hardened Linux distribution for servers)
(OpenSSL, OpenSSH, Apache w/SSL&PHP, Postfix, POP3 and IMAP with SSL support,
ProFTP, and ftpd-BSD)
Trustix/Merdeka Linux (Desktop security out-of-the box)
Windows:
WinLinux 2001 $19.90 (kde)
DragonLinux
Clusters:
NPACI Rocks
Links to Vendors Selling Linux Systems:
http://www.linux.org/vendors/systems.html
SuSE Updates:
- Configure updates to use: dir:///misc/suse/suse
- ln -s /misc/suse/suse /media/suseupdate
Howto configure installation sources
For SUSE 10.0 and previous only. Using the bellow will not work on 10.1. For 10.1 substitute installation_sources -a, with rug sa.
installation_sources -a http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source/
Java 1.5 Install Source:
installation_sources -a http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source-java/
SuSE 10 Gold Master Extras Source:
installation_sources -a http://mirrors.kernel.org/suse/i386/10.0/SUSE-Linux10.0-GM-Extra/
To list current sources:
installation_sources -s
installation_sources -a http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source/
installation_sources -d -a http://suse.mirrors.tds.net/pub/opensuse/distribution/SL-10.0-OSS/inst-source-java/
installation_sources -d -a http://mirrors.kernel.org/suse/i386/10.0/SUSE-Linux10.0-GM-Extra/
CIFS/Samba Mounts
For samba change cifs to smbfs in the following commands.
Command Line:
smbmount //unrnas.unr.edu/Users /home/yourNetID/unrnas -o directory=YourNetID,username=YourNetID/unr,uid=11923,gid=100
mount.cifs //unrnas.unr.edu/Users /home/yourNetID/unrnas -o directory=YourNetID,username=YourNetID/unr,uid=11923,gid=100
smbmount //unrnas.unr.edu/Macusers /mnt/unrnas -o directory=YourNetID
mount.cifs //unrnas.unr.edu/Macusers /mnt/unrnas -o directory=YourNetID
mount -t cifs -o credentials=/root/.ccfs //ccfs.it.unr.edu/non-licensed /mnt/nonlic
mount -t cifs -o credentials=/root/.ccfs //ccfs.it.unr.edu/licensed /mnt/lic
mount -t cifs -o credentials=/root/.ccfs //ccfs.it.unr.edu/engrsoftware$ /mnt/engr
mount -t cifs -o credentials=/root/.ccfs //ccfs.it.unr.edu/ftp.suse.com /mnt/suse
mount -t cifs -o username=unr/YourNetID //ccfs.it.unr.edu/engrpublic /mnt
/etc/fstab:
//servername/sharename /mountdirectory cifs username=windowsuserename,password=windowspassword 0 0
//unrnas.unr.edu/Macusers /mnt/nas cifs credentials=/root/.nas,noauto,user 0 0
//ccfs.it.unr.edu/non-licensed /nonlic cifs credentials=/root/.ccfs,noauto,user 0 0
//ccfs.it.unr.edu/licensed /lic cifs credentials=/root/.ccfs,noauto,user 0 0
//ccfs.it.unr.edu/engrsoftware$ /engr cifs credentials=/root/.ccfs,noauto,user 0 0
//ccfs.it.unr.edu/engrpublic /engrpub cifs credentials=/root/.ccfs,noauto,user 0 0
//ccfs.it.unr.edu/ftp.suse.com /suse cifs credentials=/root/.ccfs,noauto,user 0 0
//ccfs.it.unr.edu/non-licensed /nonlic cifs credentials=/root/.ccfs,noauto,user 0 0
/etc/auto.misc:
nonlic -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/non-licensed
lic -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/licensed
engr -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/engrsoftware$
engrpub -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/engrpublic
suse -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/ftp.suse.com
nonlic -fstype=cifs,credentials=/root/.ccfs ://ccfs.it.unr.edu/non-licensed
/etc/auto.master:
/misc /etc/auto.misc --timeout=60
Contents of the credentials file: /root/.ccfs #
(no spaces around the =) (the file can be called anything you want)
username=unr/YourNetID
password=YourPwd
chmod 600 /root/.ccfs # (make sure others can't read your password)
smb mounts from Konquerer
smb://unr\YourNetID@unrnas.unr.edu/Users/YourNetID
smb://unr\YourNetID@unrnas.unr.edu/Macusers
smb://unr\YourNetID@ccfs.it.unr.edu/non-licensed
smb://unr\YourNetID@ccfs.it.unr.edu/UNRMac
smb://unr\YourNetID@ccfs.it.unr.edu/engrpublic