How to change CentOS IP Address

Posted by cikul | Posted in Linux | Posted on 19-08-2008-05-2008

7

To change centOS IP Address, you must know what network interface used with your linux installation, to check network interface, you can use this command : Read the rest of this entry »

Incoming search terms:

centos ip address | centos ip configuration | centos change ip | centos change ip address | centos ip | change ip centos | centos ip config | change ip address centos | ip address centos | ip centos | 

Share and Enjoy

Repair Internal Server Error Cpanel account

Posted by cikul | Posted in Linux | Posted on 19-08-2008-05-2008

2

If you have cpanel server, and have phpsuexec or suphp installed and you get “Internal Server Error” message while accessing account on your server, you must see permission in users directory. If PHP runs with phpsuexec or suphp, all files under accounts must have correct ownership. If you see that your directory/account ownership still nobody, you must change it manually or you can use cpanel included scripts to repair permission for all accounts.

First, you must log into SSH, and then you can run this script :

root@server [/]# /scripts/chownpublichtmls

hope this helps

Incoming search terms:

internal server error cpanel | Internal Server Error in cpanel | 

Share and Enjoy

Securing your VPS /tmp

Posted by cikul | Posted in Linux | Posted on 26-07-2008-05-2008

0

tmp can be secured to be noexec in 1 minute, no reboot required. Nothing can execute there – /var/tmp remains a risk – unless that is mounted separately also:

/dev/VolGroup00/LogVol02 /tmp ext3 defaults,nosuid,noexec 1 2

edit the /etc/fstab file, then do a mount -o remount and it will remount /tmp and you are set – just don’t be in /tmp when remounting.

Share and Enjoy

Fantastico Release 2.10.4 r17

Posted by cikul | Posted in Internet, Linux | Posted on 16-07-2008-05-2008

0

After long time wait for update from netenberg, especially for register_global fix. Today Netenberg confirmed that they release Fantastico 2.10.4 r17, and what is update for this release :

Updates:
- b2evolution: 1.10.2 -> 2.4.2
- Coppermine Photo Gallery: 1.4.16 -> 1.4.18
- Drupal: 6.2 -> 6.3
- Gallery: 2.2.4 -> 2.2.5
- Joomla 1.5: 1.5.2 -> 1.5.4
- Mambo Open Source: 4.6.3 -> 4.6.5
- Moodle: 1.9 -> 1.9.2
- SMF: 1.1.4 -> 1.1.5
- TikiWiki: 1.9.10.1 -> 1.9.11
- WordPress: 2.5.1 -> 2.6
Changes/Fixes:
- Changed: “register_globals=off” Behaviour
- Fixed: Quota Bug

Now i will have updated Fantastico version in my server. I hope no register_global problem again after update, let’s we see..

Share and Enjoy

Fantastico Problem

Posted by cikul | Posted in Linux | Posted on 09-07-2008-05-2008

2

This is old problem, but while netenberg not release new fantastico which supports newest cpanel release, this problem still appears.

Fantastico, the most popular auto installer  plugin for cpanel, have compatibility problem with newest cpanel release. Newest cpanel release using register_global=off for their php backend, and this not supported by Fantastico.

Since May 2008, Netenberg promises will release updated fantastico that compatible with latest cpanel release, but until now no update release from netenberg, so we must temporary fix this problem until they release.

Read the rest of this entry »

Share and Enjoy

Initial Hardening & Optimization Cpanel Server (part 2)

Posted by cikul | Posted in Linux | Posted on 07-07-2008-05-2008

0

In Part 1 we have configured cpanel basic setting, now we will configure and install apache, php setting, firewall and other tool to secure our server.

Read the rest of this entry »

Incoming search terms:

cpanel server hardening | apache optimization cpanel | hardening cpanel server | step hardening cpanel server | 

Share and Enjoy

Check Hardware Information from CentOS

Posted by cikul | Posted in Linux | Posted on 11-06-2008-05-2008

1

This info not just for CentOS, but another Linux distros maybe have same command to show hardware information.

To check hardware information, we can get from DMI (or some say SMBIOS), DMI is short for Desktop Management Interface. An API to enable software to collect information about computer environtment.

Read the rest of this entry »

Incoming search terms:

centos hardware info | CentOS check hardware | centos hardware information | centos show hardware | check hardware centos | hardware info centos | centos view hardware | check hardware on centos | centos hardware check | centos find server hardware info | 

Share and Enjoy

Remove Cpanel securetmp

Posted by cikul | Posted in Linux | Posted on 11-06-2008-05-2008

3

if you used the securetmp script you need to remove it from boot up:

Check these files for securetmp

/etc/rc.d/rc.local
/etc/rc.local

Remove if it you see it. This runs the /scripts/securetmp upon booting.

Incoming search terms:

medi dhika | cpanel securetmp | 

Share and Enjoy

Initial Hardening & Optimization Cpanel Server (part 1)

Posted by cikul | Posted in Linux | Posted on 08-06-2008-05-2008

1

Here i will share about server Initial Hardening & Optimization, especially for server has used Cpanel for control panel.

Read the rest of this entry »

Incoming search terms:

hardening cpanel | dns hardening | 

Share and Enjoy

Log Slow Queries in MySQL

Posted by cikul | Posted in Linux | Posted on 01-06-2008-05-2008

0

logged slow queries by MySQL Server and you can optimize them.

# touch /var/log/slow-queries.log
# chmod 644 /var/log/slow-queries.log


Edit your /etc/my.cnf and under [mysqld] add following lines.

[mysqld]

log-slow-queries = /var/log/slow-queries.log

# /scripts/restartsrv_mysql

Incoming search terms:

mysql log | 

Share and Enjoy