Nxl67002 - AndLinux - Files: Difference between revisions

From miki
Jump to navigation Jump to search
Line 679: Line 679:


=== Directory ~/etc ===
=== Directory ~/etc ===
{{hiddenSourceFile|~/etc/|backup_definition|<source lang="bash" class="backup_definition">
BACKUPPREFIX=wiki
BACKUPID=www.noekeon.org_miki
BACKUPEXT=sql.gz
BACKUPCMD="ssh noekeon '~daemenj/private/backup_wiki ~daemenj/kiwi.noekeon.org/miki/LocalSettings.php'"

BACKUPPREFIX=wiki
BACKUPID=www.noekeon.org_miki
BACKUPEXT=tar.gz
BACKUPCMD="ssh noekeon 'cd ~daemenj/kiwi.noekeon.org; /usr/bin/nice -n 19 tar -cz miki/'"

BACKUPPREFIX=wiki
BACKUPID=www.noekeon.org_crypto
BACKUPEXT=sql.gz
BACKUPCMD="ssh noekeon '~daemenj/private/backup_wiki ~daemenj/kiwi.noekeon.org/crypto/LocalSettings.php'"

BACKUPPREFIX=wiki
BACKUPID=www.noekeon.org_crypto
BACKUPEXT=tar.gz
BACKUPCMD="ssh noekeon 'cd ~daemenj/kiwi.noekeon.org; /usr/bin/nice -n 19 tar -cz crypto/'"
</source>
}}


'''crontab''' - Install this file with <source lang="bash">crontab -u beq06659 ~/etc/crontab</source>
'''crontab''' - Install this file with <source lang="bash">crontab -u beq06659 ~/etc/crontab</source>
{{hiddenSourceFile|~/etc/|crontab|<source lang="bash" class="crontab">
{{hiddenSourceFile|~/etc/|crontab|<source lang="bash" class="crontab">
# Crontab for user beq06659
# usr /bin/bash to run commands, instead of the default /bin/sh
#
# Install this crontab with
#
# crontab -u beq06659 crontab
#
# Use /bin/bash to run commands, instead of the default /bin/sh
SHELL=/bin/bash
SHELL=/bin/bash
# Define variable USER because we need it in our job scripts
# mail any output to 'beq06659', no matter whose crontab this is
USER=beq06659
MAILTO=beq0665
# Mail any output to 'beq06659', no matter whose crontab this is
MAILTO=beq06659
#
#
#
#
# m h dom mon dow command (dow=0|7 is sunday)
# m h dom mon dow command (dow=0|7 is sunday)
15 12 * * * ~beq06659/bin/backup_noekeon
37 * * * * ~beq06659/bin/backup_main ~beq06659/etc/backup_definition
</source>
</source>
}}
}}

Revision as of 22:55, 16 November 2009

These are the configuration files on Configuration NXP Dell Latitude D620 - AndLinux.

Windows Host files

settings.txt

AndLinux files

Directory /etc

Directory /usr/local/bin

be - This script would ideally require to add the following line to /etc/sudoers:

ALL ALL=(ALL) NOPASSWD: /bin/loadkeys

directory ~

.bashrc - Everything before #### CUSTOMIZATION is the original file.

Directory ~/.ssh

Directory ~/etc


crontab - Install this file with

crontab -u beq06659 ~/etc/crontab

Directory ~/bin

backup_main - This file must be chmod +700.

set-network.sh - This file must be chmod +700.

sshproxy - This file must be chmod +700.

startup.sh - This file must be chmod +700.