<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://sys64738.dk/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="http://sys64738.dk/feed.php">
        <title>sys64738</title>
        <description></description>
        <link>http://sys64738.dk/</link>
        <image rdf:resource="http://sys64738.dk/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-18T20:37:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=lvm_handling&amp;rev=1492386641&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=start&amp;rev=1428859493&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=raid_controller_utils&amp;rev=1413972305&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=sorting&amp;rev=1412848233&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=linux_goodies&amp;rev=1412846956&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=san_fc&amp;rev=1387370427&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=ssl_handling_with_openssl&amp;rev=1386243852&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=list_webserver_information&amp;rev=1384961784&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=generate_hashed_password_string&amp;rev=1384421258&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=installing_fedora_16&amp;rev=1383901597&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=yum_rpm_handling&amp;rev=1380279312&amp;do=diff"/>
                <rdf:li rdf:resource="http://sys64738.dk/doku.php?id=time_calculations&amp;rev=1379578641&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://sys64738.dk/lib/tpl/dokuwiki/images/favicon.ico">
        <title>sys64738</title>
        <link>http://sys64738.dk/</link>
        <url>http://sys64738.dk/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://sys64738.dk/doku.php?id=lvm_handling&amp;rev=1492386641&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-16T23:50:41+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>lvm_handling - [Prepare new disk/VolumeGroup/Logical Volume] </title>
        <link>http://sys64738.dk/doku.php?id=lvm_handling&amp;rev=1492386641&amp;do=diff</link>
        <description>Prepare new disk/VolumeGroup/Logical Volume

Add disk/LUN to server. Have a look at Rescan SCSI bus for scanning the SCSI bus online. Alternative reboot the server.

Prepare PV's with
pvcreate /dev/&lt;device&gt;
For FC LUN's use /dev/mapper/mpath&lt;x&gt; according to Red Hat DM Multipath Configuration &amp; Administration</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=start&amp;rev=1428859493&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-04-12T17:24:53+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>start</title>
        <link>http://sys64738.dk/doku.php?id=start&amp;rev=1428859493&amp;do=diff</link>
        <description>This wiki is most about Linux/Unix stuff but all respect to the good old C64..

Linux Goodies

Solaris Goodies

Misc *NIX Goodies

MySQL

Oracle

AIX

Greetings from Peter Boysen alias pebo.</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=raid_controller_utils&amp;rev=1413972305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-10-22T10:05:05+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>raid_controller_utils</title>
        <link>http://sys64738.dk/doku.php?id=raid_controller_utils&amp;rev=1413972305&amp;do=diff</link>
        <description>HP has replaced command tool hpacucli with hpssacli for later versions of HP Raid Controllers. This is really stupid done by HP. The genius changing a command name should be punished by whip.

In order to get my existing scripts to work, I have created a soft link from hpacucli -&gt; hpssacli in /usr/sbin.</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=sorting&amp;rev=1412848233&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-10-09T09:50:33+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>sorting</title>
        <link>http://sys64738.dk/doku.php?id=sorting&amp;rev=1412848233&amp;do=diff</link>
        <description>sort -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n

&lt;http://www.cyberciti.biz/faq/unix-linux-shell-script-sorting-ip-addresses/&gt;</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=linux_goodies&amp;rev=1412846956&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-10-09T09:29:16+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>linux_goodies</title>
        <link>http://sys64738.dk/doku.php?id=linux_goodies&amp;rev=1412846956&amp;do=diff</link>
        <description>A collection of nice Linux commands/tips &amp; Tricks.
Mostly for Red Hat and Red Hat based distributions.

	*  Building and signing RPM packages

	*  Cluster SSH

	*  Deprecated Linux networking commands and their replacements

	*  Determine network driver in use</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=san_fc&amp;rev=1387370427&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-12-18T12:40:27+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>san_fc</title>
        <link>http://sys64738.dk/doku.php?id=san_fc&amp;rev=1387370427&amp;do=diff</link>
        <description>Determine FC ID (WWN)

RHEL 4.x or earlier

To find the WWN run the cat /proc/scsi/adapter_type/n command, where adapter_type is the host adapter type, and n is the host adapter number for your card. In most cases, the adapter type is qla2xxx.
cat /proc/scsi/adapter_type/&lt;n&gt;
RHEL 5.x or later

The adapter WWN information can be found:</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=ssl_handling_with_openssl&amp;rev=1386243852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-12-05T11:44:12+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>ssl_handling_with_openssl</title>
        <link>http://sys64738.dk/doku.php?id=ssl_handling_with_openssl&amp;rev=1386243852&amp;do=diff</link>
        <description>Generate private key

Generate private key with a bit lenght of 2048. 2048 bits is minimum for this time of writing.
openssl genrsa -out &lt;Filename of private key.key&gt; 2048
Generate CSR

Generate CSR (Customer Signing request) using private key.
openssl req -new -key &lt;Filename of private key.key&gt; -out &lt;Filename of CSR.csr&gt;

Fill out questions when asked. CN is very important. Provide CSR to CA for signing.</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=list_webserver_information&amp;rev=1384961784&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-20T15:36:24+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>list_webserver_information</title>
        <link>http://sys64738.dk/doku.php?id=list_webserver_information&amp;rev=1384961784&amp;do=diff</link>
        <description>In case you want to determine webserver and OS information for a given site use curl or wget.
Some sites will reveal a lot of information some is not so informative.
# curl -I http://&lt;domain&gt;# wget --server-response --spider http://&lt;domain&gt;
https can be used as well</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=generate_hashed_password_string&amp;rev=1384421258&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-14T09:27:38+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>generate_hashed_password_string</title>
        <link>http://sys64738.dk/doku.php?id=generate_hashed_password_string&amp;rev=1384421258&amp;do=diff</link>
        <description>If you manually want to change the password field in the shadow file, the md5 hashed string can be generated like this:
# openssl passwd -1 &lt;strongpassword&gt;
Where the parameter &lt;strongpassword&gt; is the password in clear text.
Output will be a md5 hashed string like this:
$1$t/Y0/ENi$PccO/XwuuZb4q/uhfh4Yf0

For RHEL6 following python code can be used:</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=installing_fedora_16&amp;rev=1383901597&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-08T09:06:37+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>installing_fedora_16 - [Configure kwallet] </title>
        <link>http://sys64738.dk/doku.php?id=installing_fedora_16&amp;rev=1383901597&amp;do=diff</link>
        <description>Please note: No guarantees it will work for you.

Activate RPMfusion repositories:
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'yum install bluefish
yum install smplayer
yum install clusterssh
yum install k3b-extras-freeworld
yum install gstreamer-plugins-bad gstreamer-ffmpeg gstreamer-plugins-ugly
yum install kate
yum install keepa…</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=yum_rpm_handling&amp;rev=1380279312&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-27T10:55:12+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>yum_rpm_handling</title>
        <link>http://sys64738.dk/doku.php?id=yum_rpm_handling&amp;rev=1380279312&amp;do=diff</link>
        <description>List query tags
rpm --querytags
List package that provide file
rpm -q --whatprovides &lt;filename&gt;
Example:
rpm -q --whatprovides /usr/bin/lsscsi
lsscsi-0.23-2.el6.x86_64

List files provided by installed rpm package
rpm -ql *package*

List files provided by rpm package placed in current folder
rpm -qlp *package*
List scripts provided by installed rpm package

rpm -q --scripts *package*

List scripts provided by rpm package placed in current folder

rpm -qp --scripts *package*
List package vendors
…</description>
    </item>
    <item rdf:about="http://sys64738.dk/doku.php?id=time_calculations&amp;rev=1379578641&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-19T08:17:21+00:00</dc:date>
        <dc:creator>root</dc:creator>
        <title>time_calculations</title>
        <link>http://sys64738.dk/doku.php?id=time_calculations&amp;rev=1379578641&amp;do=diff</link>
        <description>Epoch time calculations

Days since Epoch
echo $(date +%s)/86400 | bc
echo $(($(date +%s)/86400))
let days=$(date +%s)/86400 ; echo $days
Days since Epoch without GNU date

If perl is installed:
perl -e ' $days=int(time()/86400);print &quot;$days\n&quot;; '
Current Epoch time on system without GNU date
perl -e 'print time(), &quot;\n&quot; '

Convert from Epoch to date with GNU date
date -d @&lt;EPOCH time&gt;
Example:
date -d @1368023418
Wed May  8 16:30:18 CEST 2013
Convert from Epoch to date with perl

perl -e &quot;print …</description>
    </item>
</rdf:RDF>
