<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ISP-Panel IT Blog &#187; Anleitungen</title>
	<atom:link href="http://blog.isp-panel.de/category/anleitungen/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.isp-panel.de</link>
	<description>News und Wissenswertes aus dem IT Bereich</description>
	<lastBuildDate>Mon, 13 Dec 2010 11:18:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>VMWare Server 2.X stürzt und CentOs 5.4 ab &#8211; Glibc Problem</title>
		<link>http://blog.isp-panel.de/2010/03/13/vmware-server-2-x-sturzt-und-centos-5-4-ab-glibc-problem/</link>
		<comments>http://blog.isp-panel.de/2010/03/13/vmware-server-2-x-sturzt-und-centos-5-4-ab-glibc-problem/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 11:24:49 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Glibc]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lösung]]></category>
		<category><![CDATA[Problem]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vmware-hostd]]></category>

		<guid isPermaLink="false">http://isp-panel.de/?p=235</guid>
		<description><![CDATA[Derzeit besteht eine große Inkompatiblität der aktuelleren Glibc Versionen von CentOs 5.4 in Verbindung mit VMWare Server 2.x. Folge sind ständige Abstürze des vmware-hostd Prozesses so das auch die virtuellen Maschinen mit abstürzen. In den Logs ist nur Worker#0&#124; Child process 24539 failed to dump core (status 0&#215;6). Worker#0&#124; Core dump limit is 0 KB. [...]]]></description>
			<content:encoded><![CDATA[<p>Derzeit besteht eine große Inkompatiblität der aktuelleren Glibc Versionen von CentOs 5.4 in Verbindung mit VMWare Server 2.x.</p>
<p>Folge sind ständige Abstürze des vmware-hostd Prozesses so das auch die virtuellen Maschinen mit abstürzen. In den Logs ist nur</p>
<blockquote><p>Worker#0| Child process 24539 failed to dump core (status 0&#215;6).</p>
<p>Worker#0| Core dump limit is 0 KB.</p>
<p>Worker#0| Unexpected signal: 6.</p>
<p>[msg.log.error.unrecoverable] VMware Server unrecoverable error: (vmx)<br />
vmx| Unexpected signal: 6.</p></blockquote>
<p>zu finden.</p>
<p>Hierfür gibt es aber eine einfache Lösung. Wir werden mit folgenden Anleitung einfach eine ältere Glibc aus dem CentOs 5.3 Repository in VMWare einbinden. Der Server selbst arbeitet aber weiterhin mit der aktuellen Version, somit entstehen mit dieser Lösung auch keinerlei Sicherheitsprobleme.</p>
<p>&#8211; ANLEITUNG Fix VMWare CentOs Glibc Problem (für CentOs 5.x 64 Bit Systeme):</p>
<p>1. Login als Root per SSH auf den Hostserver</p>
<p>2.  folgende Befehle als Root ausführen:</p>
<blockquote><p>mkdir /usr/lib/vmware/lib/libc.so.6<br />
cd /tmp<br />
mkdir tmp<br />
cd tmp<br />
wget http://vault.centos.org/5.3/os/x86_64/CentOS/glibc-2.5-34.x86_64.rpm<br />
rpm2cpio glibc-2.5-34.x86_64.rpm | cpio -ivd<br />
mv lib64/libc-2.5.so /usr/lib/vmware/lib/libc.so.6/libc.so.6</p></blockquote>
<p>3. Danach die Datei &#8220;/usr/sbin/vmware-hostd&#8221; mit einem beliebigen Editor bearbeiten, z.B. mit dem Midnight Commander (yum install mc):</p>
<p>mcedit /usr/sbin/vmware-hostd</p>
<p>4. In diese Datei vor die letzte Zeile am Ende der Datei folgendes einfügen und die Datei danach speichern:</p>
<blockquote><p>export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH</p></blockquote>
<p>5. Zum Schluss jetzt noch den VMWare Dienst neu starten:</p>
<blockquote><p>/etc/init.d/vmware-mgmt restart</p></blockquote>
<p>FERTIG, ich wünsche viel Spaß mit der jetzt stabil arbeitenden VMWare 2.x Version.</p>

	Tags:<a href="http://blog.isp-panel.de/tag/bug/" title="Bug" rel="tag">Bug</a>, <a href="http://blog.isp-panel.de/tag/fix/" title="Fix" rel="tag">Fix</a>, <a href="http://blog.isp-panel.de/tag/glibc/" title="Glibc" rel="tag">Glibc</a>, <a href="http://blog.isp-panel.de/tag/kernel/" title="Kernel" rel="tag">Kernel</a>, <a href="http://blog.isp-panel.de/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://blog.isp-panel.de/tag/losung/" title="Lösung" rel="tag">Lösung</a>, <a href="http://blog.isp-panel.de/tag/problem/" title="Problem" rel="tag">Problem</a>, <a href="http://blog.isp-panel.de/tag/vmware/" title="VMWare" rel="tag">VMWare</a>, <a href="http://blog.isp-panel.de/tag/vmware-hostd/" title="vmware-hostd" rel="tag">vmware-hostd</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.isp-panel.de/2010/03/13/vmware-server-2-x-sturzt-und-centos-5-4-ab-glibc-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSF Firewall installieren</title>
		<link>http://blog.isp-panel.de/2008/11/06/csf-firewall-installieren/</link>
		<comments>http://blog.isp-panel.de/2008/11/06/csf-firewall-installieren/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 11:48:24 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[CSF]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[installieren]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://isp-panel.de/?p=78</guid>
		<description><![CDATA[  Die CSF Firewall ist ein professionelles Firewall-System für CPanel Server. Der große Vorteil dieser Firewall liegt in der direkten Verwaltbarkeit über den WHM per Webbrowser. Informationen zu dieser Firewall finden Sie direkt auf der Herstellerseite: http://www.configserver.com/cp/csf.html Installationsanleitung: Loggen Sie sich als Root per SSH auf Ihren Server ein Laden Sie die aktuelle Version der [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<div id="post_message_12">Die CSF Firewall ist ein professionelles Firewall-System für CPanel Server. Der große Vorteil dieser Firewall liegt in der direkten Verwaltbarkeit über den WHM per Webbrowser.</p>
<p>Informationen zu dieser Firewall finden Sie direkt auf der Herstellerseite:</p>
<p><a href="http://www.configserver.com/cp/csf.html" target="_blank"><span style="color: #5d5d5e;">http://www.configserver.com/cp/csf.html</span></a></p>
<p><strong>Installationsanleitung:</strong></p>
<ol style="list-style-type: decimal;">
<li>Loggen Sie sich als Root per SSH auf Ihren Server ein</li>
<li>Laden Sie die aktuelle Version der CSF Firewall vom Hersteller herunter:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">wget <a href="http://www.configserver.com/free/csf.tgz" target="_blank"><span style="color: #5d5d5e;">http://www.configserver.com/free/csf.tgz</span></a></td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Entpacken Sie das heruntergeladene Archiv:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tar -xzf csf.tgz</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Wechseln Sie in das Installationsverzeichnis:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">cd csf</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Starten Sie das Installationsskript:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">sh install.sh</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Nach Abschluss der Installation finden Sie nun folgenden Menüpunkt im WHM (:2086) im Bereich &#8220;Add-Ons&#8221;, über den Sie die Firewall administrieren können:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">ConfigServer Security&amp;Firewall</td>
</tr>
</tbody>
</table>
</div>
</li>
</ol>
</div>

	Tags:<a href="http://blog.isp-panel.de/tag/cpanel/" title="cPanel" rel="tag">cPanel</a>, <a href="http://blog.isp-panel.de/tag/csf/" title="CSF" rel="tag">CSF</a>, <a href="http://blog.isp-panel.de/tag/firewall/" title="Firewall" rel="tag">Firewall</a>, <a href="http://blog.isp-panel.de/tag/installieren/" title="installieren" rel="tag">installieren</a>, <a href="http://blog.isp-panel.de/tag/whm/" title="WHM" rel="tag">WHM</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.isp-panel.de/2008/11/06/csf-firewall-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyTop (MySql Monitor) installieren</title>
		<link>http://blog.isp-panel.de/2008/10/14/mytop-mysql-monitor-installieren/</link>
		<comments>http://blog.isp-panel.de/2008/10/14/mytop-mysql-monitor-installieren/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 15:22:29 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[Monitor]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MyTop]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://isp-panel.de/?p=75</guid>
		<description><![CDATA[MyTop ist ein MySql-Monitor mit dem Sie in Echtzeit auf der Shell die Aktivitäten Ihres MySql-Servers verfolgen und steuern können. Installationsanleitung: Loggen Sie sich als Root per SSH auf Ihren Server ein Installieren Sie das Perl-Modul &#8220;TermReadKey&#8221; mit folgenden Befehlen: Zitat: cd /usr/local/src wget http://cpanel-forum.de/anleitungen/TermReadKey.tar.gz tar -zxf TermReadKey.tar.gz cd TermRead* perl Makefile.PL make test make [...]]]></description>
			<content:encoded><![CDATA[<div>MyTop ist ein MySql-Monitor mit dem Sie in Echtzeit auf der Shell die Aktivitäten Ihres MySql-Servers verfolgen und steuern können.</div>
<p><strong><span style="text-decoration: underline;">Installationsanleitung:</span></strong></p>
<ol style="list-style-type: decimal;">
<li>Loggen Sie sich als Root per SSH auf Ihren Server ein</li>
<li>Installieren Sie das Perl-Modul &#8220;TermReadKey&#8221; mit folgenden Befehlen:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">cd /usr/local/src<br />
wget <a href="http://cpanel-forum.de/anleitungen/TermReadKey.tar.gz" target="_blank"><span style="color: #5d5d5e;">http://cpanel-forum.de/anleitungen/TermReadKey.tar.gz</span></a><br />
tar -zxf TermReadKey.tar.gz<br />
cd TermRead*<br />
perl Makefile.PL<br />
make test<br />
make<br />
make install<br />
cd ..</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Installieren Sie das Perl-Modul &#8220;DBI&#8221; mit folgenden Befehlen:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">wget <a href="http://cpanel-forum.de/anleitungen/DBI-1.48.tar.gz" target="_blank"><span style="color: #5d5d5e;">http://cpanel-forum.de/anleitungen/DBI-1.48.tar.gz</span></a><br />
tar -zxf DBI-1.48.tar.gz<br />
cd DBI*<br />
perl Makefile.PL<br />
make test<br />
make<br />
make install<br />
cd ..</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Installieren Sie nun das MyTop Skript mit folgenden Befehlen:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">wget <a href="http://cpanel-forum.de/anleitungen/mytop-1.4.tar.gz" target="_blank"><span style="color: #5d5d5e;">http://cpanel-forum.de/anleitungen/mytop-1.4.tar.gz</span></a><br />
tar -zxf mytop-1.4.tar.gz<br />
cd mytop*<br />
perl Makefile.PL<br />
make test<br />
make<br />
make install</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Legen Sie die Konfigurationsdatei von MyTop an:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">touch /root/.mytop</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Öffnen Sie die neue Datei mit einem Editor wie vi oder mc:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">vi /root/.mytop</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Fügen Sie dort folgende Zeilen ein (ergänzen Sie die Einträge mit dem MySql-Root-Kennwort):
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">user=root<br />
pass=IHR MYSQL-ROOT KENNWORT<br />
host=localhost<br />
db=test<br />
delay=5<br />
port=3306<br />
socket=<br />
batchmode=0<br />
header=1<br />
color=1<br />
idle=1</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Speichern Sie die Änderungen ab</li>
<li>Sie können nun mit folgendem Befehl MyTop aufrufen:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">mytop</td>
</tr>
</tbody>
</table>
</div>
</li>
</ol>

	Tags:<a href="http://blog.isp-panel.de/tag/monitor/" title="Monitor" rel="tag">Monitor</a>, <a href="http://blog.isp-panel.de/tag/mysql/" title="MySql" rel="tag">MySql</a>, <a href="http://blog.isp-panel.de/tag/mytop/" title="MyTop" rel="tag">MyTop</a>, <a href="http://blog.isp-panel.de/tag/server/" title="Server" rel="tag">Server</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.isp-panel.de/2008/10/14/mytop-mysql-monitor-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Optimizer installieren</title>
		<link>http://blog.isp-panel.de/2008/05/11/zend-optimizer-installieren/</link>
		<comments>http://blog.isp-panel.de/2008/05/11/zend-optimizer-installieren/#comments</comments>
		<pubDate>Sun, 11 May 2008 13:15:03 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[installieren]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Optimizer]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://isp-panel.de/?p=82</guid>
		<description><![CDATA[  Der Zend Optimizer ist ein Beschleuniger für PHP-Skripte. Dies verbessert zum einen die Performance von vielen PHP Skripten und senkt auch die von PHP Skripten entstehende Serverlast. Zusätzlich dazu gibt es Skripte welche mit Zend verschlüsselt sind. Diese können nur genutzt werden, wenn der Zend Optimizer installiert ist. Loggen Sie sich als Root per [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<div>Der Zend Optimizer ist ein Beschleuniger für PHP-Skripte. Dies verbessert zum einen die Performance von vielen PHP Skripten und senkt auch die von PHP Skripten entstehende Serverlast.</p>
<p>Zusätzlich dazu gibt es Skripte welche mit Zend verschlüsselt sind. Diese können nur genutzt werden, wenn der Zend Optimizer installiert ist.</p></div>
<div>
<ol style="list-style-type: decimal;">
<li>Loggen Sie sich als Root per SSH auf Ihren Server ein</li>
<li>Führen Sie folgenden Befehl aus:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">/scripts/installzendopt</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>Folgenden Sie den Anweisungen des Skriptes</li>
</ol>
</div>

	Tags:<a href="http://blog.isp-panel.de/tag/installieren/" title="installieren" rel="tag">installieren</a>, <a href="http://blog.isp-panel.de/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://blog.isp-panel.de/tag/optimizer/" title="Optimizer" rel="tag">Optimizer</a>, <a href="http://blog.isp-panel.de/tag/zend/" title="Zend" rel="tag">Zend</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.isp-panel.de/2008/05/11/zend-optimizer-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>häufig benötigte Linux-Shell Grundbefehle</title>
		<link>http://blog.isp-panel.de/2008/02/21/haufig-benotigte-linux-shell-grundbefehle/</link>
		<comments>http://blog.isp-panel.de/2008/02/21/haufig-benotigte-linux-shell-grundbefehle/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 16:13:27 +0000</pubDate>
		<dc:creator>Marcus</dc:creator>
				<category><![CDATA[Anleitungen]]></category>
		<category><![CDATA[Befehle]]></category>
		<category><![CDATA[Grundbefehle]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://isp-panel.de/?p=80</guid>
		<description><![CDATA[  Wir haben Ihnen hier eine kleine Liste der häufig benötigten Linuxshell Grundbefehle zusammengestellt. TIP: Die meisten Befehle können mit dem Parameter Zitat: &#8211;help aufgerufen werden. Es werden Ihnen dort dann in Kurzform alle möglichen Parameter des Befehls erklärt. cat cat zeigt den Inhalt von Textdateien an. Zitat: cat ./DATEINAME cd &#8211; Verzeichnis wechseln Mit [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<div id="post_message_9">Wir haben Ihnen hier eine kleine Liste der häufig benötigten Linuxshell Grundbefehle zusammengestellt.</p>
<p><strong><em>TIP:</em></strong> Die meisten Befehle können mit dem Parameter</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">&#8211;help</td>
</tr>
</tbody>
</table>
</div>
<p>aufgerufen werden. Es werden Ihnen dort dann in Kurzform alle möglichen Parameter des Befehls erklärt.</p>
<p><strong>cat</strong></p>
<p>cat zeigt den Inhalt von Textdateien an.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">cat ./DATEINAME</td>
</tr>
</tbody>
</table>
</div>
<p><strong>cd</strong> &#8211; Verzeichnis wechseln</p>
<p>Mit dem cd Befehl können Sie das aktuelle Arbeitsverzeichnis wechseln.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">cd /VERZEICHNISNAME</td>
</tr>
</tbody>
</table>
</div>
<p><strong>chmod</strong> &#8211; Datei/Verzeichnisrechte setzen</p>
<p>Mit dem Befehl CHMOD können Sie die Rechte von Verzeichnissen und Dateien festlegen.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">chmod 755 ./DATEINAME</td>
</tr>
</tbody>
</table>
</div>
<p>Die häufigsten CHMODS im Überblick:</p>
<p>777 = Benutzer, Gruppe und sonsten dürfen alles<br />
775 = Lese- und Ausführbar-Recht für alle, Schreibrecht nur für Benutzer und Gruppe<br />
666 = Lese- und Schreib-Recht für alle<br />
664 = Lese-Recht für alle, Schreib-Recht für Benutzer und Gruppe<br />
644 = Lese-Recht für alle, Schreib-Recht nur für Benutzer</p>
<p><strong>chown</strong> &#8211; Inhaber ändern</p>
<p>Mit diesem Befehl können Sie den Inhaber sowie die Gruppe einer Datei festlegen.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">chown root:nobody ./test.txt</td>
</tr>
</tbody>
</table>
</div>
<p>In diesem Beispiel wird bei der Datei test.txt der Inhaber als &#8220;root&#8221; und die Gruppe als &#8220;nobody&#8221; gesetzt.</p>
<p><strong>cp</strong> &#8211; Dateien kopieren</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">cp ./test.txt /home/test.txt</td>
</tr>
</tbody>
</table>
</div>
<p>In diesem Beispiel wird eine vorhandene test.txt Datei vom aktuellen Verzeichnis in das /home/ Verzeichnis kopiert.</p>
<p><strong>df</strong> &#8211; Speicherplatzübersicht</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">df -h</td>
</tr>
</tbody>
</table>
</div>
<p>Dieser Befehl zeigt den verfügbaren Speicherplatz aller vorhandenen Laufwerke an.</p>
<p><strong>dir</strong> &#8211; Inhalte von Verzeichnissen anzeigen</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">dir -lh</td>
</tr>
</tbody>
</table>
</div>
<p>Liestet den Inhalt des aktuellen Verzeichnisses ausführlich mit allen Dateien, dessen Rechten, Größe, Erstellungsdatum &#8230; auf</p>
<p><strong>du</strong> &#8211; Speicherplatzverbrauch eines Verzeichnisses</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">du -h</td>
</tr>
</tbody>
</table>
</div>
<p>Sie erhalten eine Übersicht des Speicherplatzverbrauches des aktuellen Verzeichnisses und dessen Unterverzeichnisse.</p>
<p><strong>find</strong> Dateien suchen</p>
<p>Mit find können Sie schnell komplexe Verzeichnisse nach Dateien durchsuchen.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">find SUCHWORT</td>
</tr>
</tbody>
</table>
</div>
<p><strong>grep</strong> &#8211; Dateien durchsuchen</p>
<p>Dieser Befehl durchsucht Textdateien nach Wörtern.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">grep SUCHWORT ./DATEINAME</td>
</tr>
</tbody>
</table>
</div>
<p><strong>gzip</strong> &#8211; Dateien de- / komprimieren</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">gzip ./archiv.tar</td>
</tr>
</tbody>
</table>
</div>
<p>Komprimiert das Tar-Archiv &#8220;archiv.tar&#8221;</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">gzip -d ./archiv.tar.gz</td>
</tr>
</tbody>
</table>
</div>
<p>Dekomprimiert das Archiv &#8220;archiv.tar.gz&#8221;</p>
<p><strong>mkdir</strong> &#8211; Verzeichnis erstellen</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">mkdir /test</td>
</tr>
</tbody>
</table>
</div>
<p>Hier wird ein Verzeichnis mit Namen &#8220;test&#8221; angelegt.</p>
<p><strong>netstat</strong> &#8211; Netzwerkverbindungen anzeigen</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">netstat -an</td>
</tr>
</tbody>
</table>
</div>
<p>Dieser Befehl zeigt Ihnen alle Netzwerkverbindungen Ihres Servers mit Quell- und Ziel-IP sowie dessen genutzer Port.</p>
<p><strong>rm</strong> &#8211; Dateien löschen</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">rm ./DATEINAME</td>
</tr>
</tbody>
</table>
</div>
<p><strong>rmdir</strong> &#8211; leere Verzeichnisse löschen</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">rm ./VERZEICHNIS</td>
</tr>
</tbody>
</table>
</div>
<p><strong>shutdown</strong> &#8211; Server rebooten und herunterfahren</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">shutdown -r now</td>
</tr>
</tbody>
</table>
</div>
<p>Rebootet den Server</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">shutdown -h now</td>
</tr>
</tbody>
</table>
</div>
<p>Fährt den Server herunter und schaltet diesen aus.</p>
<p><strong>tail</strong></p>
<p>tail arbeitet ähnlich wie cat, aber zeigt immer nur das Ende einer Datei an.Dies ist hilfreich wenn Sie zum Beispiel eine Log-Datei beobachten möchten.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tail /var/log/messages</td>
</tr>
</tbody>
</table>
</div>
<p>Zeigt die letzten 20 Zeilen der messages Logdatei an</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tail -f /var/log/messages</td>
</tr>
</tbody>
</table>
</div>
<p>Zeigt immer die letzten Zeilen der Datei an und beobachtet diese so lange weiter, bis der Prozess mit einem &lt;strg&gt;+C beendet wird.</p>
<p><strong>tar</strong> &#8211; Dateien Archivieren</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tar -xf ./archiv.tar</td>
</tr>
</tbody>
</table>
</div>
<p>Entpackt das Archiv &#8220;archiv.tar&#8221; im aktuellen Verzeichnis</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tar -tvf archiv.tar</td>
</tr>
</tbody>
</table>
</div>
<p>Zeigt den Inhalt des Archives &#8220;archiv.tar&#8221; ausführlich an</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tar -cf archiv.tar ./DATEI1 ./DATEI2</td>
</tr>
</tbody>
</table>
</div>
<p>Erstellt im aktuellen Verzeichnis ein Archiv mit Namen &#8220;archiv.tar&#8221; und fügt in dieses die 2 Dateien ein.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tar -cf archiv.tar ./*</td>
</tr>
</tbody>
</table>
</div>
<p>Erstellt im aktuellen Verzeichnis ein Archiv mit Namen &#8220;archiv.tar&#8221; und fügt in dieses alle Dateien und Unterzeichnisse des aktuellen Verzeichnisses ein.</p>
<p><strong>top</strong> &#8211; Prozessübersicht</p>
<p>Der Befehl top liefert Ihnen eine Echtzeitübersicht der laufenden Prozesse, deren verursachende Last, Laufzeit und Prozessnummer. Zusätzlich dazu sehen Sie wichtige Informationen Ihres Systems wie z.B. Ram- und CPU-Auslastung, Uptime, Serverload uvm&#8230;</p>
<p><strong>touch</strong> &#8211; Dateien anlegen</p>
<p>Mit touch können Sie leere Dateien erstellen.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">touch test.txt</td>
</tr>
</tbody>
</table>
</div>
<p>In diesem Beispiel wird eine leere Datei mit Namen test.txt im aktuellen Verzeichnis angelegt.</p>
<p><strong>passwd</strong> &#8211; Kennwort ändern</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">passwd BENUTZERNAME</td>
</tr>
</tbody>
</table>
</div>
<p><strong>vi</strong> &#8211; Texteditor</p>
<p>vi ist ein textbasierter Editor, mit dem Sie schnell und einfach Dateien bearbeiten können.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Zitat:</div>
<table border="0" cellspacing="0" cellpadding="6" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">vi ./DATEINAME</td>
</tr>
</tbody>
</table>
</div>
</div>
<p><!-- / message --><!-- sig --></p>

	Tags:<a href="http://blog.isp-panel.de/tag/befehle/" title="Befehle" rel="tag">Befehle</a>, <a href="http://blog.isp-panel.de/tag/grundbefehle/" title="Grundbefehle" rel="tag">Grundbefehle</a>, <a href="http://blog.isp-panel.de/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://blog.isp-panel.de/tag/shell/" title="Shell" rel="tag">Shell</a><br />
]]></content:encoded>
			<wfw:commentRss>http://blog.isp-panel.de/2008/02/21/haufig-benotigte-linux-shell-grundbefehle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

