<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.1" -->
<rss version="0.92">
<channel>
	<title>Vicky's server guides</title>
	<link>http://www.vickysguide.com</link>
	<description>Linux server administration tips and tricks</description>
	<lastBuildDate>Sun, 07 Feb 2010 10:54:46 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Enable PhpMyAdmin import zip files</title>
		<description><![CDATA[To enable phpmyadmin at cpanel server to import zipped mysql dumps you need to reconfigure internal cpanel php installation..
Edit /var/cpanel/easy/apache/profile/makecpphp.profile.yaml
Change: Cpanel::Easy::PHP5::Zip: 0=0
To: Cpanel::Easy::PHP5::Zip: 1
Save the file
Run `/scripts/makecpphp`
before running the last command make sure the file /var/cpanel/easy/apache/profile/makecpphp.profile.yaml is chattr +i.
]]></description>
		<link>http://www.vickysguide.com/enable-phpmyadmin-import-zip-files/</link>
			</item>
	<item>
		<title>My nginx installation procedure</title>
		<description><![CDATA[I really started to like nginx web server, and here is my procedure step by step how to install this server on CentOS 5.4
yum install gcc pcre-devel openssl-devel
wget http://nginx.org/download/nginx-0.7.65.tar.gz &#38;&#38; tar xvfz nginx-0.7.65.tar.gz
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module
make
make install
ln -s /usr/local/nginx/conf  /etc/nginx
ln -s /usr/local/nginx/logs  /var/log/nginx
ln -s /usr/local/nginx/sbin/nginx /usr/sbin/nginx
Then grab this init script for red hat from [...]]]></description>
		<link>http://www.vickysguide.com/my-nginx-installation-procedure/</link>
			</item>
	<item>
		<title>Mytop error &#8220;long&#124;!&#8221;</title>
		<description><![CDATA[If you run mytop on RHEL server (or CentOS 5.x) you may get error message saying
Error in option spec: &#8220;long&#124;!&#8221;
You should edit file /usr/bin/mytop and comment out this line
&#8220;long&#124;!&#8221; =&#62; \$config{long_nums},
after that, run mytop and all should work fine.
Enjoy!  
]]></description>
		<link>http://www.vickysguide.com/mytop-error-long/</link>
			</item>
	<item>
		<title>Audit still logging even when stoped</title>
		<description><![CDATA[I had strange problem on one of my CentOS 5.4 servers. I stoped auditd service and disables SElinux, the server, however, was still logging all those annoying things like
Nov 10 18:27:01 server kernel: type=1105 audit(1257874021.909:87975): user pid=27986 uid=0 auid=0 msg=&#8217;PAM: session open acct=&#8221;root&#8221; : exe=&#8221;/usr/sbin/crond&#8221; (hostname=?, addr=?, terminal=cron res=success)&#8217;
Nov 10 18:27:02 server kernel: type=1104 audit(1257874022.828:87976): [...]]]></description>
		<link>http://www.vickysguide.com/audit-still-logging-even-when-stoped/</link>
			</item>
	<item>
		<title>Show line numbers in vi or vim</title>
		<description><![CDATA[Have you ever wondered how to show line numbers in vi or vim while editing file? I do that always when I patch some software or install MODs that come with &#8220;go to line xxx and rewrite this&#8230;&#8221;. And the solution is really simple.
In vi/vim type :set number to show line numbers and :set nonumber [...]]]></description>
		<link>http://www.vickysguide.com/show-line-numbers-in-vi-or-vim/</link>
			</item>
	<item>
		<title>Lynis &#8211; security and system auditing tool</title>
		<description><![CDATA[Michael Boelen, the author of RKHUNTER rootkit checker has made another nice auditing tool &#8211; Lynis. It works on many Linux/Debian/MacOS/BSD systems and provides you the admin important information about system configuration and security issues.
Update: On 1st November 2009 there was version 1.2.7 released. I updated this how-to.

The installation is very simple.
cd /root/
wget http://www.rootkit.nl/files/lynis-1.2.7.tar.gz
tar xvfz [...]]]></description>
		<link>http://www.vickysguide.com/lynis-security-and-system-auditing-tool/</link>
			</item>
	<item>
		<title>EnsimX maintenance mode</title>
		<description><![CDATA[After OS upgrades and updates it is needed to run EnsimX through maintenance mode. Here is info how to do it:
/usr/local/sbin/set_maintenance
/usr/local/sbin/set_pre_maintenance
/usr/local/sbin/set_post_maintenance
/etc/init.d/epld restart
If you encounter any problems you can exit the maintenance mode by issuing this command:
/usr/local/sbin/exit_post_maintenance
]]></description>
		<link>http://www.vickysguide.com/ensimx-maintenance-mode/</link>
			</item>
	<item>
		<title>Vhimport failing to restore site backup</title>
		<description><![CDATA[When you experience error during EnsimX import script like this:
Unknown Error: Traceback (most recent call last):
File &#8220;vhbackuplib.py&#8221;, line 54, in call_backend_import
File &#8220;virtualhosting/virthost.py&#8221;, line 4575, in vhimport
File &#8220;virtualhosting/virthost.py&#8221;, line 4730, in __do_import
File &#8220;virtualhosting/virthost.py&#8221;, line 5030, in __site_import
File &#8220;virtualhosting/virthost.py&#8221;, line 3300, in handle_remaining_files
File &#8220;virtualhosting/virthost.py&#8221;, line 3380, in link
OSError: [Errno 17] File exists
the cause may be in X11 [...]]]></description>
		<link>http://www.vickysguide.com/vhimport-failing-to-restore-site-backup/</link>
			</item>
	<item>
		<title>Rebuild sendmail.cf file in EnsimX (Parallels Pro)</title>
		<description><![CDATA[The file to rebuild is located in /usr/lib/opcenter/sendmail/install/sendmail.mc
Make sure you do backups first:
cp /usr/lib/opcenter/sendmail/install/sendmail.mc /usr/lib/opcenter/sendmail/install/sendmail.mc.bak
After editing the file /usr/lib/opcenter/sendmail/install/sendmail.mc you need to rebuild it to macro format which will be located in /etc/mail/sendmail.cf
m4 /usr/lib/opcenter/sendmail/install/sendmail.mc &#62; /etc/mail/sendmail.cf
voila! it is done, now restart sendmail by &#8220;service sendmail restart&#8221; and your changes are applied.
]]></description>
		<link>http://www.vickysguide.com/rebuild-sendmailcf-file-in-ensimx-parallels-pro/</link>
			</item>
	<item>
		<title>proftpd show hidden files</title>
		<description><![CDATA[
Not seeing hidden linux files ( dot beginning files) in your ftp you can enable this option in your ftp client. (show linux hidden files). It it does not work you can force your linux ftp server to show them via this command in /etc/proftpd.conf
ListOptions -a
Put it into the conf file and restart proftpd service.
]]></description>
		<link>http://www.vickysguide.com/proftpd-show-hidden-files/</link>
			</item>
</channel>
</rss>
