User account menu

  • Log in
BXTra.net

Breadcrumb

  • Home
  • CentOS

CentOS

How to secure /tmp and /dev/shm Partition

By BXTra | 7:51 PM PDT, Sun August 29, 2010
CentOS

How to secure /tmp if we didn't partition /tmp when installed CentOS. Also, secure /dev/shm to protect rootkits. 1. Secure /tmp partition 1.1: Backup your fstab file cp /etc/fstab /etc/fstab.bak 1.2: Creating tmpMnt partition file (~ 1Gb in size) cd /var dd if=/dev/zero of=tmpMnt bs=1024 count=1048576 1.3: Format new partition mkfs.ext3 -j /var/tmpMnt It will show /var/tmpMnt is not a block special device. Proceed anyway? (y,n) Just press Y

  • Read more about How to secure /tmp and /dev/shm Partition
  • Add new comment

How to install Memcached on CentOS (with DirectAdmin installed) + Memcached PECL

By BXTra | 10:24 PM PDT, Mon April 26, 2010
CentOS
DirectAdmin
Memcached

After I was done with install Memcached on CentOS a while ago, I just know today that there are 2 different PECL modules. One is "Memcache PECL" while another is "Memcached PECL". The one I did before is "Memcache PECL", so, now, I try to install "Memcached PECL" which is newer and require libmemcached library. The content below is almost exactly to my previous Memcache PECL installed. Only a few changes to install Memcached PECL instead.

  • Read more about How to install Memcached on CentOS (with DirectAdmin installed) + Memcached PECL
  • 1 comment
  • Add new comment

How to install Memcached on CentOS (with DirectAdmin installed) + Memcache PECL

By BXTra | 12:28 AM PDT, Fri April 09, 2010
CentOS
DirectAdmin
Memcached

I just want to try if Memcached can really help my server load or not. So, I look around to find the way how to do it. There are a couple ways but to me, below are what I did to installed it. Get Libevent which is require to install Memcached. Their homepage is here -> http://www.monkey.org/~provos/libevent/ wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar -xvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure;make;make install; Then, get Memcached from http://memcached.org

  • Read more about How to install Memcached on CentOS (with DirectAdmin installed) + Memcache PECL
  • 3 comments
  • Add new comment

[ HOW-TO] Install XCache on CentOS 5.2 64-bit that has DirectAdmin installed

By BXTra | 8:18 PM PDT, Thu October 16, 2008
CentOS
DirectAdmin
XCache
PHP Opcode Cache

First of all, if you are using DirectAdmin in PHP-CGI (suPHP) mode, don't waste your time follow this HOW-TO. Although these steps work with PHP-CGI but you will get nothing from doing it. For PHP-CLI, I found that it help to decrease my server load from about 10 or more down to about 1 but always less than 2. (I have quad core CPU and my problem before is that CPU usage is almost always 100%.) It's useful module that you should have it installed. Step 1 : Get XCache and uncompress it shell> cd /tmp

  • Read more about [ HOW-TO] Install XCache on CentOS 5.2 64-bit that has DirectAdmin installed
  • 4 comments
  • Add new comment

CentOS 5.2 - 64 bits - error while loading shared libraries : libresolv.so.2 : cannot open shared object file

By BXTra | 3:49 AM PDT, Fri October 03, 2008
CentOS

My server was running great for about a month without reboot. Yesterday, I just thought about what many people said that if a server is running fine, don't try to restart it. If you do, there is a chance that a server won't start back up normally. No one explain why but then, I thought about it and for some reason, I wanted to try to restart it that night. I didn't think I will run into any problem but I was wrong.

  • Read more about CentOS 5.2 - 64 bits - error while loading shared libraries : libresolv.so.2 : cannot open shared object file
  • 5 comments
  • Add new comment

Yum install perl-DBD-mysql, perl-DBI to use "mysqlreport" under CentOS 5.2 + DirectAdmin

By BXTra | 10:38 PM PDT, Mon September 22, 2008
mysqlreport
CentOS
DirectAdmin
MySQL

mysqlreport makes a friendly report of important MySQL status values. mysqlreport transforms the values from SHOW STATUS into an easy-to-read report that provides an in-depth understanding of how well MySQL is running. mysqlreport is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS.

When I was trying to use mysqlreport under CentOS 5.2 64 bit + DirectAdmin 1.3.2.3 Custom Build 1.1. I got error when run "./mysqlreport"

  • Read more about Yum install perl-DBD-mysql, perl-DBI to use "mysqlreport" under CentOS 5.2 + DirectAdmin
  • 2 comments
  • Add new comment

Steps how to install Cacti on CentOS 5.2 + DirectAdmin

By BXTra | 12:04 AM PDT, Thu September 18, 2008
Software
CentOS
DirectAdmin
Cacti

First of all, I'm not an Linux/DirectAdmin expert. I just played around with them and found the way to do it. I tried to install Cacti on my server but I couldn't find a complete instruction to do it. So, I just gathered all information I found into one place so that it is easier for many others. I hope it can help someone that needs the same thing that I did.

The software I use:

  • Read more about Steps how to install Cacti on CentOS 5.2 + DirectAdmin
  • 9 comments
  • Add new comment

Dell Perc6/i RAID Monitoring Script using MegaCli (LSI) on CentOS 5.2 - 64 bits

By BXTra | 11:46 PM PDT, Mon September 15, 2008
Computer Hardware
CentOS
RAID

I got a Dell Perc6/i Integrated RAID card a few days ago. By using it with CentOS 5.2 64 bits without GUI, I'm looking the way to monitor RAID status. I then, found that I can use MegaCLI from LSI to do the task. (Dell Perc6/i uses LSI Chip) First, get MegaCLI from LSI website -> MegaCLI 2.00.11 for Linux

  • Read more about Dell Perc6/i RAID Monitoring Script using MegaCli (LSI) on CentOS 5.2 - 64 bits
  • 13 comments
  • Add new comment
Pagination
  • Previous page ‹‹
  • Page 2
Subscribe to CentOS

  • Will the router get the Openvpn as a client option?
    6 years 1 month ago
  • cancellation
    6 years 2 months ago
  • Router ASUS RT-N12 D1 tomatoes passwort falsch
    7 years 9 months ago
  • WPS button = 30/30/30 hard reset button
    7 years 9 months ago
  • Save my day!
    8 years 4 months ago
  • How to
    8 years 6 months ago
  • Can i still access my modem (the one with the ISP provided)?
    8 years 6 months ago
  • A saving step!
    8 years 11 months ago
  • Problem with Asus n12e-c1
    9 years ago
  • don't use Hostgator
    9 years 2 months ago

© 2007 - 2023 BXTra.net. All Rights Reserved. 
Certain other content, photos and artwork displayed on BXTra.net are protected by copyright and are the property of their respective owners.

Privacy Policy