<?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-03T22:32:06+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/localeadm"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/generate_key"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/openssl/compare_key_with_certificate"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/dladm2dot"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/tomcat_upload_limit"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/dyndns_updates_without_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/exam_notes"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/pkg_repositories"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/java/jax-ws_debugging"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/tools"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/java/firefox_java-plugin"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/cleanup_packages"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/resize_instance"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/init"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/root_login_with_bash"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/spfile_and_pfiles"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/rman"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/sysadmin/list_open_ports"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/cryptography/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/prog/firefox/extensions"/>
            </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/info/solaris/localeadm">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:58:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>localeadm</title>
        <link>https://old.andunix.net/info/solaris/localeadm</link>
        <description>localeadm

The localeadm utility queries and configures Solaris locales through a command line interface.

	*  man page: localeadm(1M)

Preparation

Check your Solaris Release with cat /etc/release and get a matching DVD or ISO image.

If you're using an ISO image, you have to mount it (insert your path in the first line.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/generate_key">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-20T08:13:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generate a Test Key</title>
        <link>https://old.andunix.net/info/cryptography/openssl/generate_key</link>
        <description>Generate a Test Key
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout testkey.key -out testkey.crt
Informations about the used arguments from the OpenSSL man page:

	*  req: PKCS#10 certificate request and certificate generating utility.
	*  -x509: this option outputs a self signed certificate instead of a certificate request. This is typically used to generate a test certificate or a self signed root CA. The extensions added to the certificate (if any) are specified in the configurati…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T08:07:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Debug Server Certificate from Client</title>
        <link>https://old.andunix.net/info/cryptography/openssl/debug_server_certificate_from_client</link>
        <description>Debug Server Certificate from Client

Credit for this example goes to “ Checking A Remote Certificate Chain With OpenSSL” from langui.sh.
openssl s_client -showcerts -connect www.andunix.net:443
Informations about the used arguments from the OpenSSL man page:

	*  s_client: SSL/TLS client program
	*  -showcerts: display the whole server certificate chain: normally only the server certificate itself is displayed.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/openssl/compare_key_with_certificate">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-18T14:26:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Compare a Key with its Certificate</title>
        <link>https://old.andunix.net/info/cryptography/openssl/compare_key_with_certificate</link>
        <description>Compare a Key with its Certificate

Credit for this example goes to “Verifying that a Private Key Matches a Certificate” from the University of Wisconsin Knowledgebase.

To see if a key server.key belongs to the certificate server.crt, they need to have the same “modulus” and “exponent”.
openssl x509 -noout -text -in server.crt
openssl rsa -noout -text -in server.key</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/dladm2dot">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Network Visualization</title>
        <link>https://old.andunix.net/info/solaris/dladm2dot</link>
        <description>Virtual Network Visualization

OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches.
This feature was introduced with Project Crossbow in OpenSolaris 2009.06.
To visualize the internal network(s), I created a perl script which takes the output of</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/tomcat_upload_limit">
        <dc:format>text/html</dc:format>
        <dc:date>2017-01-04T09:33:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Increase the Tomcat Upload Limit</title>
        <link>https://old.andunix.net/info/sysadmin/tomcat_upload_limit</link>
        <description>Increase the Tomcat Upload Limit

The “manager”-App of the Tomcats has a limit of 50MiB. This limit is defined in the file WEB-INF/web.xml within the “manager”-App:


    &lt;multipart-config&gt;
      &lt;!-- 50MB max --&gt;
      &lt;max-file-size&gt;52428800&lt;/max-file-size&gt;
      &lt;max-request-size&gt;52428800&lt;/max-request-size&gt;
      &lt;file-size-threshold&gt;0&lt;/file-size-threshold&gt;
    &lt;/multipart-config&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/dyndns_updates_without_client">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DynDNS Updates without a Client</title>
        <link>https://old.andunix.net/info/script/dyndns_updates_without_client</link>
        <description>DynDNS Updates without a Client

My new hosting provide Strato offers DynDNS.
I was searching for a DynDNS client for my OpenSolaris Home Server, but a small bash script does the job as good as any other client.


#! /bin/bash
 
. ${HOME}/.dyndns.cfg
DOMAINS=$(cat ${HOME}/.dyndns.domains)
 
echo &quot;$(date '+%Y-%m-%d %H:%M') $(basename $0)&quot;
for domain in ${DOMAINS}; do
        echo -n &quot;  ${domain} - &quot;
        curl --silent --show-error --insecure --user ${LOGIN} &quot;${UPDATE_URL}?hostname=${domain}&quot;
d…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/exam_notes">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Notes for the Solaris 10 System Administration Exam (CX-310-200 &amp; -202)</title>
        <link>https://old.andunix.net/info/solaris/exam_notes</link>
        <description>Notes for the Solaris 10 System Administration Exam (CX-310-200 &amp; -202)

I'm preparing myself for the two exams to achieve the Sun Certified System Administrator (SCSA) certification.
This are my notes taken while studying the preparation books.

Managing File Systems

List Devices

To list the system's devices, you can use the following commands:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/pkg_repositories">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Package Repositories</title>
        <link>https://old.andunix.net/info/solaris/pkg_repositories</link>
        <description>Package Repositories

There's a list of multi-OS repositories at &lt;http://wikis.sun.com/display/IpsBestPractices/Directory+of+Package+Repositories&gt;.

More on IPS, the Image Package System can be found at:

	*  &lt;http://www.opensolaris.org/os/project/pkg/&gt;.
	*  &lt;http://wikis.sun.com/display/IpsBestPractices/&gt;
  Repository    Description  &lt;http://pkg.opensolaris.org/release/&gt;  OpenSolaris Distribution, Releases  &lt;http://pkg.opensolaris.org/dev/&gt;  OpenSolaris Distribution, Development Quality</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/java/jax-ws_debugging">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-25T10:40:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>JAX-WS Debugging</title>
        <link>https://old.andunix.net/info/java/jax-ws_debugging</link>
        <description>JAX-WS Debugging

If you use the builtin JAX-WS implementation and want to see the SOAP requests and responses, you have to turn on the “dump” option in the transport pipe.

The system property to set depends on your Java version.


com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true
com.sun.xml.ws.transport.http.HttpAdapter.dump=true
com.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/tools">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Command Line Tools Used in My Scripts</title>
        <link>https://old.andunix.net/info/script/tools</link>
        <description>Command Line Tools Used in My Scripts

This is a list of comman dline tools which I use in my scripts an which should be installed on every of my systems.
Basic tools (e.g. awk, find, grep, ps) which are always installed are not listed.

Audio/Video</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/java/firefox_java-plugin">
        <dc:format>text/html</dc:format>
        <dc:date>2014-09-05T12:12:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Install the Java-Plugin for Firefox</title>
        <link>https://old.andunix.net/info/java/firefox_java-plugin</link>
        <description>Install the Java-Plugin for Firefox

To install the Java plugin for Firefox, you have to create a symlink from Firefox's plugin directory /usr/lib/firefox-addons/plugins/ to the file libnpjp2.so in the JRE's “lib” dir.


sudo ln -s \
  ${JAVA_HOME}/jre/lib/amd64/libnpjp2.so \
  /usr/lib/firefox-addons/plugins/libnpjp2.so</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/debian/cleanup_packages">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T09:01:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Cleanup Packages</title>
        <link>https://old.andunix.net/info/linux/debian/cleanup_packages</link>
        <description>Cleanup Packages

Purge uninstalled Packages

If a package is removed, it is only uninstalled, but the configuration remains on the system.
This is a good thing, as you are able to reinstall the package and have it configured with the old configuration.
But if you want to cleanup this old stuff, you can ge a list of uninstalled (but not purged) packages with this command:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/resize_instance">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:38:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: Resize Instance</title>
        <link>https://old.andunix.net/info/oracle/resize_instance</link>
        <description>Oracle: Resize Instance

In this example, the SGA will be resized to 6GB and the PGA to 2GB.

First, change the SPFile:


ALTER SYSTEM SET pga_aggregate_target = 2G SCOPE=SPFILE;
ALTER SYSTEM SET sga_target = 6G SCOPE=SPFILE;


Then, (optionally) export the SPFile to a PFile:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/debian/init">
        <dc:format>text/html</dc:format>
        <dc:date>2013-07-03T13:03:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>init</title>
        <link>https://old.andunix.net/info/linux/debian/init</link>
        <description>init

Managing init Scripts

To activate an init script (“myscript”):
update-rc.d myscript enable
To deactivate an init script (“myscript”):
update-rc.d myscript remove
Further information can be found at Daemon - Debian Wiki

sysadmin linux debian cli</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/root_login_with_bash">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>root login with bash</title>
        <link>https://old.andunix.net/info/script/root_login_with_bash</link>
        <description>root login with bash

On our systems, the root account is set to be a role, so you can't login as root, just su to root from an user which has the root role.
Also, the root user has the bourne shell (/bin/sh), but working with /bin/bash is much easier.
Using this command, you can directly log in as</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/spfile_and_pfiles">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:36:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: SPFile and PFiles</title>
        <link>https://old.andunix.net/info/oracle/spfile_and_pfiles</link>
        <description>Oracle: SPFile and PFiles

Oracle reads its parameters from a file called “SPFile”.
You can't change it directly as it's a binary file.
Additionally, Oracle can read the parameters from “PFiles”, which are regular text files.

Create PFile

To export the SPFiles to a PFile, just enter the following in SQLplus:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/rman">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:24:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: Recovery Manager</title>
        <link>https://old.andunix.net/info/oracle/rman</link>
        <description>Oracle: Recovery Manager

Start Recovery Manager


rman target /


Delete Archive Logs

Delete all archive logs but keep the last 45 days:


DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45';


To remove archive logs older than 3 days without prompting, e.g. via cron, after backup run:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/sysadmin/list_open_ports">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-13T20:11:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List Open Ports</title>
        <link>https://old.andunix.net/info/sysadmin/list_open_ports</link>
        <description>List Open Ports

To list the open ports together with the listening processes:


netstat -tulpn


Here is an example output:


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      695/sshd        
tcp6       0      0 :::22                   :::*                    LISTEN      695/sshd        
udp        0      0 0.0.0.0:55872      …</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/cryptography/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Cryptography</title>
        <link>https://old.andunix.net/info/cryptography/index</link>
        <description>Cryptography

This guide tries to easily describe the terms used in cryptography.
As all pages on this site, it's meant as a mnemonic for myself, but I'm happy if someone else finds it helpful too.
cryptography index


cryptography guide</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/prog/firefox/extensions">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-02T20:37:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Firefox Extensions</title>
        <link>https://old.andunix.net/info/prog/firefox/extensions</link>
        <description>Firefox Extensions

Browsing Extensions
  Extension    Description  Adblock Plus  A must-have. Blocks all these blinking ads which are so anoying.  Greasemonkey  Customize webpages using JavaScript.  WOT, Web of Trust  Information about the reputation of a page.  Self-Destructing Cookies  Removes cookies after closing the tab or navigating to another site.</description>
    </item>
</rdf:RDF>
