Maintenance reference: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 51: Line 51:
   
   
     all is full of light
     all is full of light
|}
{| class="mw-collapsible mw-collapsed wikitable"
! Back up a linux system to a second bootable drive
|-
| We want to copy all files from the root drive to a new drive.
| We also want to update the boot menu to boot off the new drive.
| We also want to change /etc/fstab on the second drive to use the new root path.
|}
|}



Revision as of 20:50, 26 May 2013

Reference

Updating mediawiki
cd /var/www/localhost/htdocs/mediawiki
emacs LocalSettings_redirector.php (to hardcode each site)
php maintenance/update.php
(repeat for each site)
emacs LocalSettings_redirector.php (to reset dynamic behavior)
Creating a new ssh key pair for no-password access to a remote system
wow I just had serious issues with basic ssh usage, so i'll put a summary on the wiki
   basically most misunderstandings stem from describing these two:
       client: machine that is trying to ssh into the server
       server: machine that the client user wants to get to
   most poor sots are just sitting on the client
   and they create a pair and push their public key to the server
   but in my case, more often, i want to create a pair on the server
   and push the private key to the multiple places i need to connect FROM
   when doing that, you have to push the public key into the server's authorized_keys
   and configure the client to juggle multiple private keys

       create a key pair:
           ssh suser@server
           ssh-keygen
               use defaults
               will create:
                   .ssh/id_rsa (private key)
                   .ssh/id_rsa.pub (public key)

       put the public key in place:
           cd .ssh
           cat id_rsa.pub >>authorized_keys

       put the private key on the client and configure:
           scp id_rsa cuser@client:.ssh/id_rsa_server
           ssh cuser@client
           em .ssh/config
               Host tdm thedigitalmachine.com
                 Hostname thedigitalmachine.com
                 IdentityFile ~/.ssh/id_rsa
                 User m
               Host server
                 Hostname server.com
                 IdentityFile ~/.ssh/id_rsa_server
                 User suser

   all is full of light
Back up a linux system to a second bootable drive
We want to copy all files from the root drive to a new drive. We also want to update the boot menu to boot off the new drive. We also want to change /etc/fstab on the second drive to use the new root path.


git

Basic linux commands

Bash basics

Update gentoo kernel

Maintenance of my Gentoo boxes

Maintenance of my music collection

OS X basics

DOS basics

Update Boost

udev: Assign unique names to your devices

Automatically mount and unmount your devices

udev: Autorun programs when connecting your devices

Add ssh users to internet-facing boxes

Configure Eclipse

Configure Emacs

Configure MythTV

Basic MythTV plugin configuration