KerbyServer

  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com
Home

Fedora

Making bash ignore duplicates

EPKPhoto — 26 July 2007 - 7:49pm

This is a quick one, to make Fedora systems act like the Debian and Ubuntu's default of not putting duplicate commands in ~/.bash_history, add the following line to /etc/profile:

HISTCONTROL=ignoredups

  • bash
  • Debian
  • Fedora
  • Ubuntu
  • EPKPhoto's blog
  • Add new comment

package-cleanup

EPKPhoto — 12 July 2007 - 9:59pm

I recently found a useful tool for cleaning up unneeded RPMs and finding problems in the RPM database of installed packages. Just install yum-utils and then you can use the package-cleanup command with its various options.

  • Fedora
  • rpm
  • yum
  • EPKPhoto's blog
  • Add new comment

OpenVPN setup...finally!

EPKPhoto — 10 July 2007 - 9:41pm

With openvpn already installed via yum:

su -
cp -a /usr/share/openvpn/easy-rsa /etc/openvpn/
cd /etc/openvpn/easy-rsa/2.0
vim vars

Edit the following:
export KEY_COUNTRY="US"
export KEY_PROVINCE="VA"
export KEY_CITY="Chesapeake"
export KEY_ORG="KerbyServer"
export KEY_EMAIL="admin@kerbyserver.net"

Save the file, and more commands:

./vars
source vars
./clean-all
./build-ca
./build-key-server server

Go with all the default entries.

./build-key kerbspb

Again, go with the defaults.

./build-dh

  • Fedora
  • OpenVPN
  • Router
  • EPKPhoto's blog
  • Add new comment
  • Read more
  • 2 attachments

Bash-completion in Fedora

EPKPhoto — 8 July 2007 - 11:10pm

As much as I love Fedora, occasionally I find myself wishing it would do a certain thing like Debian or Ubuntu. A while ago, I posted a way to sort the ps command like Debian in Fedora. This time, I found out how to transplant another of Debian's defaults to Fedora.

  • bash
  • Debian
  • Fedora
  • tab completion
  • Ubuntu
  • EPKPhoto's blog
  • Add new comment
  • Read more
Syndicate content

Syndicate

Syndicate content

User login

  • Request new password
  • kerby's tech notes
  • kerbyserver.net
  • epkphoto.com

Content © Eric Kerby