Linux

From DigitalBlacksmith

Jump to: navigation, search

Contents

[edit] Linux Stuff

[edit] Tutorials

These are some of my favorite tutorials from Ubuntu's Tutorial of the Week Thread. Some of these are scattered through the rest of the page, but here is a consolidated list.

[edit] Change /tmp dir

http://ubuntuforums.org/showthread.php?t=945595


[edit] Kernel Hacking

Linux Kernel Hacking Stuff

in /etc/fstab

/new  /tmp  none bind

[edit] LTSP

LTSP

[edit] Alias

Add these shortcuts to .bashrc in your home directory

[edit] Shell and Console

[edit] Search

  • CTRL-R : Search history

[edit] Whois

ldapsearch -x uid=whoever

[edit] G4L - Ghost for Linux

G4L - Ghost for Linux

  • Awesome utility
  • Can masquerade as an ISO but remote mount a file system
  • Google for tutorials


[edit] git

My git page


[edit] Programming

Linux Programming Wiki Page

[edit] Backup

Many Ways

[edit] Epoch Time Converter

http://www.epochconverter.com/

[edit] Linux Killer Apps

Essential tools and such for Linux

[edit] Ready NAS Mount

Specify a password and user

sudo mount -t cifs //<ip>/backup /mnt/mnt_point -o username=myuser,password=mypasswd


mount -t cifs //<ip of readnas>/<share> /mnt/mnt_point

It will ask for the admin passed

Or this way:

mount <ip of readynas>:/<share> /mnt/mnt_point

[edit] Init.d Scripts

http://eightpence.com/a-subversion-initd-script-for-ubuntu-linux/ http://www.unix-tutorials.com/go.php?id=3327 http://gentoo-wiki.com/HOWTO_Make_an_rc_script

A Fedora init script to start synergy

An example Ubuntu init.d script

[edit] CGYWin

Cygwin is an awesome way to bring linux into the Win XP world.

Check out my Cygwin Portal.

[edit] Rsynch

[edit] General

http://www.linux.com/feature/117236

A script to automate remote backup

Rsynch ssh and non ssh

Rsynch daemon


[edit] Setting up for SSH Keyed login

http://troy.jdmz.net/rsync/index.html

[edit] Monet Stuff

MonetUpgrade

Monet

[edit] RedHat ipChains

http://www-1.ibm.com/support/docview.wss?uid=swg21147107

[edit] MOUNT

All about Redhat Mounting

http://www.ba.infn.it/calcolo/documenti/NFSServer.htm

[edit] AMD

Automount

amd.conf man page

[edit] NAS

TODO:

  • Set up exclusions for obj, exe, and others...


Push to NAS:

rsync -av Desktop <nas_ip>::linux_bu
http://digitalblacksmith.com/wiki/index.php/MAMP

Push to NAS/delete files from destination:

rsync -av --del . 192.168.1.150::eva_bu/rsync/folder

Works like a champ.

[edit] CGUI

Push to magritte:

rsync -azv -e ssh /n magritte:/monet_bu/

Note: you don't need trailing slashes. Just tried it after 24 hours of use and update finished in < 5 min with 2 log files updated...Sweet. --Admin 23:31, 9 March 2008 (EDT)

[edit] SUDO

Adding users to SUDO list (FEDORA)

[edit] TAR example to external share

Set up a mount point using mount. Then do this:

tar -v --create  --absolute-names --preserve-permissions --file=/mnt/warhol/monet_bu/blaine.tar ./blaine


[edit] USB External

Setting up and formatting an external USB


[edit] Installing Meidawiki on a MAC Server

here

[edit] Display Configuration

On Ubuntu/Kubuntu type this on in the console to get root access to the display config gui:

sudo /usr/bin/displayconfig

[edit] Restrict Users

bash2

[edit] Win Domain

http://www.csn.ul.ie/~airlied/pam_smb/


[edit] Rescue CD

Trinity Rescue CD

  • Excellent Knoppix CD with lots of recovery goodies
  • Here is a tutorial on using it to recover/undelete ext3]


[edit] LDAP

http://www.linux.com/articles/40983

[edit] Kerberos

http://www.isi.edu/~brian/security/kerberos.html

http://www.windowsnetworking.com/articles_tutorials/Authenticating-Linux-Active-Directory.html

[edit] Samba

http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#adssdm

[edit] Global Search and Replace

Use rpl:

rpl  -b -x'.html' 'www1.cs.columbia.edu/graphics/' 'graphics.cs.columbia.edu/' /var/www/html/projects/mars/Authoring.html

[edit] X Win

Using Windows and XMing to remotely work with X11

Like remote desktop but better..this lets you keep you Windows XP/Vista environment intact, and bring in the windows from linux that you need

Personal tools