Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.

Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.

If you want to support my work, please consider a small donation:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:slug [2010/04/24 18:30] – Minor edit. alienlinux:slug [2010/04/24 19:20] (current) – More slashes at the end of directories removed. alien
Line 131: Line 131:
 </code> </code>
  
-Please follow carefully the post-installation instructions shown on-screen after installing some of these packages (such as syslog-ng, nfs-utils) or they will not work properly.+Please follow carefully the post-installation instructions shown on-screen after installing some of these packages (such as syslog-ng, nfs-utils) or they will not work properly. Sendmail will for instance state: <code bash> 
 +sendmail will run as a daemon now. Alternatively, execute: 
 +echo 'smtp    stream  tcp     nowait  root    /opt/sbin/sendmail -bs' >> /etc/inetd.conf 
 +echo '0-59/15 * * * * root /opt/sbin/sendmail -q  & > /dev/null 2>&1' >> /etc/crontab 
 +</code>
  
 Installing these base packages will automatically install their dependencies as well: Installing these base packages will automatically install their dependencies as well:
Line 194: Line 198:
 # mkdir /mnt/thevault/.snapshots # mkdir /mnt/thevault/.snapshots
 </code> Set the proper permissions on all directories: <code> </code> Set the proper permissions on all directories: <code>
-# chmod 0700 /mnt/thevault/.private/ +# chmod 0700 /mnt/thevault/.private 
-# chmod 0755 /mnt/thevault/.private/.snapshots/ +# chmod 0755 /mnt/thevault/.private/.snapshots 
-# chmod 0755 /mnt/thevault/.snapshots/ +# chmod 0755 /mnt/thevault/.snapshots 
-</code> In ''/opt/etc/exports'', add the directory ''.private/.snapshots/'' as a read only NFS export: <code> +</code> In ''/opt/etc/exports'', add the directory ''.private/.snapshots'' as a read only NFS export: <code> 
-  /mnt/thevault/.private/.snapshots 127.0.0.1(ro,no_root_squash) +  /mnt/thevault/.private/.snapshots  127.0.0.1(ro,no_root_squash) 
-</code> In ''/etc/fstab'', mount ''.private/.snapshots/'' read-only under ''.snapshots/'' <code> +</code> In ''/etc/fstab'', mount ''.private/.snapshots'' read-only under ''.snapshots'' <code> 
-  localhost:/mnt/thevault/.private/.snapshots /mnt/thevault/.snapshots nfs  ro   0 0+  localhost:/mnt/thevault/.private/.snapshots  /mnt/thevault/.snapshots  nfs  ro   0 0
 </code> Now restart the NFS daemon: <code> </code> Now restart the NFS daemon: <code>
 /opt/etc/init.d/S56nfs-utils condrestart /opt/etc/init.d/S56nfs-utils condrestart
 </code> Now mount the read-only snapshot root (happens automatically at boot): <code> </code> Now mount the read-only snapshot root (happens automatically at boot): <code>
-# mount /mnt/thevault/.snapshots/</code>+# mount /mnt/thevault/.snapshots</code>
  
   * In ''/opt/etc/mail/aliases'' add an email alias for user root so that you will receive emails generated from root's cronjobs.   * In ''/opt/etc/mail/aliases'' add an email alias for user root so that you will receive emails generated from root's cronjobs.
 A backup server using NSLU2, unslung and rsnapshot ()
SlackDocs