Check for mysql packages install
================================
rpm -qa | grep -i mysql
Remove previous mysql packages
===============================
rpm --nodeps --allmatches -e mysql-3.23.58-16.RHEL3.1
Download & install new packages
===============================
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-server-community-5.0.45-0.rhel3.i386.rpm/from/http://mysql.oss.eznetsols.org/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-client-community-5.0.45-0.rhel3.i386.rpm/from/http://mysql.oss.eznetsols.org/
wget http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-shared-compat-5.0.45-0.rhel3.i386.rpm/from/http://mysql.oss.eznetsols.org/
rpm -ivh MySQL-client-community-5.0.45-0.rhel3.i386.rpm
rpm -ivh MySQL-shared-compat-5.0.45-0.rhel3.i386.rpm
rpm -ivh MySQL-server-community-5.0.45-0.rhel3.i386.rpm
Installing NSCC
=======================================================
./NSCC_Setup_3.0_35_3.bin -console
chkconfig --add NSCCService
Weekly Dalai Lama Teaching
Knowing one's limitations
If a boss gives more work to do and it is beyond their capacity, then I think they have to say something. They have to say 'This is too much work for me' and talk to the boss and try to reduce it. If that doesn't work, then they may need to look for new work.
"However, at that point let's say that the boss agrees to extra pay, and the employee agrees, then that is a person's decision and there's no cause to complain about overload. But if the boss gives too much work without increase of salary, then this 'over-load' is just exploitation.
The Art of Happiness at Work - Dalai Lama
If a boss gives more work to do and it is beyond their capacity, then I think they have to say something. They have to say 'This is too much work for me' and talk to the boss and try to reduce it. If that doesn't work, then they may need to look for new work.
"However, at that point let's say that the boss agrees to extra pay, and the employee agrees, then that is a person's decision and there's no cause to complain about overload. But if the boss gives too much work without increase of salary, then this 'over-load' is just exploitation.
The Art of Happiness at Work - Dalai Lama
Wednesday, November 14, 2007
Monday, November 12, 2007
NSCC
Installing the library
=======================================================
rpm -iU compat-db-3.3.11-2.i386.rpm --nodeps
cd /lib
ln -s libdb-4.1.so libdb-3.2.so
Host is resolving to correct ip
=======================================================
[root@cc lib]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.0.0.180 cc.sn.com.sg cc
::1 localhost6.localdomain6 localhost6
[root@cc lib]# hostname -i
10.0.0.180
NSCC Setup
=======================================================
chmod 777 nscc
yum install mysql mysql-devel mysql-server
./nscc.sh
=======================================================
rpm -iU compat-db-3.3.11-2.i386.rpm --nodeps
cd /lib
ln -s libdb-4.1.so libdb-3.2.so
Host is resolving to correct ip
=======================================================
[root@cc lib]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.0.0.180 cc.sn.com.sg cc
::1 localhost6.localdomain6 localhost6
[root@cc lib]# hostname -i
10.0.0.180
NSCC Setup
=======================================================
chmod 777 nscc
yum install mysql mysql-devel mysql-server
./nscc.sh
Things learn today
Mount new hdd into centos
mkfs -t ext3 /dev/hdb1
mount -t ext3 /dev/hdb1 /opt
Cacti
============================
Services
mysqld
httpd
/etc/httpd/conf.d/cacti.conf -> permit ip address range
mkfs -t ext3 /dev/hdb1
mount -t ext3 /dev/hdb1 /opt
Cacti
============================
Services
mysqld
httpd
/etc/httpd/conf.d/cacti.conf -> permit ip address range
Subscribe to:
Posts (Atom)

