<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://old.andunix.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://old.andunix.net/feed.php">
        <title>andunix.net</title>
        <description></description>
        <link>https://old.andunix.net/</link>
        <image rdf:resource="https://old.andunix.net/_media/favicon.ico" />
       <dc:date>2026-06-03T21:03:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-exec-superuser"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-exec-user"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-ssh-login"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/set_php_variables_htaccess_files"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/compare_directories"/>
                <rdf:li rdf:resource="https://old.andunix.net/p/andunix-tool/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/virtualbox/cli"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mysql/database/backup"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/ips_repository_appliance"/>
                <rdf:li rdf:resource="https://old.andunix.net/wiki/syntax"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/travian_map_download_script"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/make_your_mac_feel_home"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/code/eclipse/java_vm"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://old.andunix.net/_media/favicon.ico">
        <title>andunix.net</title>
        <link>https://old.andunix.net/</link>
        <url>https://old.andunix.net/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-exec-superuser">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-exec-superuser</title>
        <link>https://old.andunix.net/z/relax/api/base/base-exec-superuser</link>
        <description>base-exec-superuser

Executes a command as a given user.
Command is executed using ssh if the user is not on localhost.
Before executing the command, the privileges will be elevated.
This privilege elevation method is defined by $RIGHT_ELEVATION in the
service configuration and can be either</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-exec-user">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-exec-user</title>
        <link>https://old.andunix.net/z/relax/api/base/base-exec-user</link>
        <description>base-exec-user

Executes a command as a given user.
Command is executed using ssh if the user is not on localhost.

Usage
base-exec-user USER COMMAND
	*  USER: A key of an user definition in the repository. From this, the following properties are used:</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-ssh-login">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-ssh-login</title>
        <link>https://old.andunix.net/z/relax/api/base/base-ssh-login</link>
        <description>base-ssh-login

Logs into a remote host using ssh.
This can be used to open a remote sesssion, but ususally it's used by other methods (especially base-exec-user) to remotely execute a command.

Usage
base-ssh-login SERVICE [ COMMAND ]
	*  SERVICE: a key of an user or host definition in the repository. From this, the following properties are used:</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-11T10:16:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>OpenSolaris / VirtualBox: Mount Shared Folder</title>
        <link>https://old.andunix.net/blog/2009/opensolaris_virtualbox_mount_shared_folder</link>
        <description>OpenSolaris / VirtualBox: Mount Shared Folder

To mount a shared folder in a OpenSolaris guest in VirtualBox, you have to install the Guest Additions and then mount the file system type vboxfs.
The Usage is:


mount -F vboxfs &lt;share&gt; &lt;mountpoint&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/set_php_variables_htaccess_files">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-29T14:07:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Set PHP Variables in .htaccess Files</title>
        <link>https://old.andunix.net/blog/2010/set_php_variables_htaccess_files</link>
        <description>Set PHP Variables in .htaccess Files

If your PHP scripts run longer than the maximum execution time set by your webhoster, then you will see a message like this:


Fatal error: Maximum execution time of 30 seconds exceeded in ...


To override the default for your webspace, you can use the php_value directive in a .htaccess file.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/compare_directories">
        <dc:format>text/html</dc:format>
        <dc:date>2018-09-19T12:34:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Compare directories</title>
        <link>https://old.andunix.net/info/script/compare_directories</link>
        <description>Compare directories

For each of the directories, generate a digest file:


find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 &gt; shasums.txt


It's important to use LC_ALL=C and the option -d of sort, to get compareable results on different machines.</description>
    </item>
    <item rdf:about="https://old.andunix.net/p/andunix-tool/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T11:12:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>andunix-tool</title>
        <link>https://old.andunix.net/p/andunix-tool/index</link>
        <description>andunix-tool

Usage:
java -jar andunix-tool.jar &lt;Global Options&gt; &lt;Command&gt; &lt;Command Options&gt;
Tip: I suggest to create a shell-script to ease the java starting:


#! /bin/sh

# Change this to the directory in which you put ''andunix-tool.jar''
# and the corresponding ''lib'' directory
ANDUNIX_TOOL_DIR=${HOME}/opt/andunix-tool

# Use this to define the path to your Java-Intallation
JAVA_HOME=/opt/jdk

exec ${JAVA_HOME}/bin/java -jar ${ANDUNIX_TOOL_DIR}/andunix-tool.jar $*</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/virtualbox/cli">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-22T13:16:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VBoxManage (The VirtualBox CLI)</title>
        <link>https://old.andunix.net/info/virtualbox/cli</link>
        <description>VBoxManage (The VirtualBox CLI)

This is a online reference of the output of VBoxManage without options.


Oracle VM VirtualBox Command Line Management Interface Version 4.2.16
(C) 2005-2013 Oracle Corporation
All rights reserved.


Usage:
VBoxManage [&lt;general option&gt;] &lt;command&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mysql/database/backup">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MySQL: Backup</title>
        <link>https://old.andunix.net/info/mysql/database/backup</link>
        <description>MySQL: Backup

Export a Database


# set or replace the variables $USER, $PASS and $DB
mysqldump --add-drop-table -u${USER} -p${PASS} ${DB}


Export all Databases individually


# set or replace the variables $USER and $PASS
DATE_YMD=$(date &quot;+%Y-%m-%d&quot;)
DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases')
for db in ${DATABASES}
do
    mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} &gt; ${DB}_${DATE_YMD}.sql &amp;
    bzip2 ${DB}_${DATE_YMD}.sql &amp;
    # sleep 10 # option…</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/ips_repository_appliance">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-27T12:36:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IPS Repository Appliance</title>
        <link>https://old.andunix.net/blog/2010/ips_repository_appliance</link>
        <description>IPS Repository Appliance

Brian Leonard wrote a good guide how to setup a Local Repository Mirror.

If you are in a hurry, it's good to know that you don't need to copy the entire repository of about 8GB to a local disk. You can use the repository image directly. Here is how you can do that.</description>
    </item>
    <item rdf:about="https://old.andunix.net/wiki/syntax">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-15T19:10:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Formatting Syntax</title>
        <link>https://old.andunix.net/wiki/syntax</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/travian/travian_map_download_script">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:18:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Map Download Script</title>
        <link>https://old.andunix.net/z/travian/travian_map_download_script</link>
        <description>Travian Map Download Script

This is my script(s) which I use to downoad the map.sql from Travian and import it to the database.

config.inc


#
# database
DB_USER=&quot;travian&quot; # set this to your database user
DB_PASS=&quot;travian&quot; # set this to your database password
DB_INST=&quot;travian&quot; # set this to your database instance
#
# directories
MAP_DIR=${HOME}/opt/travian
DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql
#
# executables
MYSQL=&quot;/srv/mysql/bin/mysql --default-character-set=utf8 -u${DB_USER} -…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/make_your_mac_feel_home">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:53:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Make your Mac feel at Home</title>
        <link>https://old.andunix.net/info/mac/make_your_mac_feel_home</link>
        <description>Make your Mac feel at Home

A small snippet from one of my scripts which tests whether your Mac is in the given (home) WLAN.


#
# Path to 'airport' executeable, as of Mac OS X 10.5.
AIRPORT=&quot;/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport&quot;
#
# Set this to your Home WLAN SSID (name):
HOMESSID=&quot;mycastle&quot;
#
# Get SSID info from 'airport' and search for $HOMESSID
SSID=$(${AIRPORT} --getinfo | grep ' SSID:')
SSID=$(echo ${SSID} | grep &quot;^SSID: ${HOMESSID}\$&quot;)…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/code/eclipse/java_vm">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-22T11:34:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Specify Java VM for Eclipse</title>
        <link>https://old.andunix.net/info/code/eclipse/java_vm</link>
        <description>Specify Java VM for Eclipse

To let Eclipse use the Java VM from /opt/jdk/bin/java add these two lines to the eclipse.ini in the Eclipse installation directory:


-vm
/opt/jdk/bin/java

-vmjava
Source: Eclipsepedia: eclipse.ini - Specifying the JVM

eclipse java settings</description>
    </item>
</rdf:RDF>
