M$ Windows is eating your hard driver

No matter Bill says how friendly M$ Windows is. It is eating more and more my free disk space. Toady I figured out some tips for releasing disk space. In Windows file explore, you can not see the folder size without checking on property. So you may need a tool, something like FolderSizes. FolderSize helps me to know more about my heard diver. It shows me there is a folder ‘System Volume information”, this folder is 6.20GB big. What the hell is that??? I can not even see it in file explore. Then I check on Folder Options, here are so many hiding options for you. In order to take out that big folder, I unchecked ‘“Hide protected operating system files and folders”, then the folder shows up. But I can not open it sine I really wants to know what hell is been hidden in that folder. A error message box popup up”Assess is denied.” WOW this is my laptop, I am not able to access the folder. Is this a M$ asset? In FolderSize, I can go inside this folder; it has so many files. Everything in this folder looks like patch file. I have no idea where and when it went down my computer; or this dame OS made it. Now I’m deleting these files and folders in folder ‘System Volume information” from FolderSize. Another error message box popup up; it says “Cannot delete XXX000.ps1: It is being used by another person or program”. Kidding me? Does anyone share this laptop with me at this moment? Fortunately I have openSuSe, I issued rm -rf command after booted into openSuse. Now 6.2GB space was released.

[阅读全文]

Xen quick start guide on openSuSE Linux 10.3

If you had installed VMWare workstation on any Linux, you may have kernel source problem. Because a default Linux installation do not include kernel source package. I’m just saying that you should always play with open source Virtualization, Xen or Virtial Box are all good stuff to run ;)  . I got some screen-shots for you if you don’t have idea how do install Xen. The true is Xen is faster then VMWare on my laptop. I would not work with VMWare anymore.

My laptop is a DELL D630 with openSuSE Linux 10.3 and XP (just for work).

1) Install Xen packages via yast from DVD.


[阅读全文]

Install Oracle 10.2.01 on OpenSuSE 10.3

A) Download 10201_database_linux32.zip from Oracle website. B) Download 10gR2_openSUSE102_introduction.pdf and ora.rpm from ftp ftp.novelŀcom C) Install Oracle, following quick steps: 1. Install openSUSE 10.2 with “C/C++ Development” selection. 2. Download and Install orarun package. 3. Enable and set password for newly created user oracle by orarun. 4. Set updated kernel parameters by executing /etc/init.d/oracle start. 5. Download and [阅读全文]

How to install hyperic-hq on openSuse 10.2

* *Make the hq and group* groupadd hq useradd -c ‘hyperic hq’ -d /home/hq -g hq -s /bin/bash hq mkdir /home/hq chown -R hq.hq /home/hq * ****Untar installer package and install **** cd /home/hq tar zxf hyperic-hq-installer-3.0.4-389-x86-linux.tgz chown -R hq.hq . su hq [email protected]:~> cd hyperic-hq-installer/ [email protected]:~/hyperic-hq-installer> ls LICENSES.txt agent-3.0.4.tgz installer-3.0.4 server-3.0.4.tgz setup.bat setup.sh shell-3.0.4.tgz [email protected]:~/hyperic-hq-installer> ./setup.sh Unpacking JRE to temporary directory /tmp/jre Initializing Hyperic HQ 3. [阅读全文]

How to install Cacti on OpenSuse 10.2

1. Download Extract the distribution tarball Suse:/opt # wget http://www.cacti.net/downloads/cacti-0.8.6j.tar.gz Suse:/opt # tar zxvf cacti-0.8.6j.tar.gz 2. Create the MySQL database: Suse:/opt # mysqladmin –user=root create cacti 3. Import the default cacti database: Suse:/opt/cacti-0.8.6j # mysql cacti < user=“root”> GRANT ALL ON cacti.* TO [email protected] IDENTIFIED BY ‘cacti’; Query OK, 0 rows affected (0.03 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> quite 5. Edit include/config.php and specify the MySQL user, password and database for your Cacti configuration. [阅读全文]

Install OpenNMS 1.3.2 on OpenSuse 10.2 system (The simplest version )

1>Install dependence packages zliu3:~yast -i rrdtool zliu3:~yast -i postgresql zliu3:~ # rpm -qa |grep rrdtool rrdtool-1.2.15-25 zliu3:~ # rpm -qa |grep postgresql postgresql-8.1.5-13 postgresql-libs-8.1.5-13 postgresql-contrib-8.1.5-13 postgresql-pl-8.1.5-15 postgresql-server-8.1.5-13 rcpostgresql start copy jdk/tomcat 5.5 package files to /opt cd /opt tar xzvf jdk1.5.tar.gz tar xzvf tomcat5.5.tar.gz export JAVA_HOME=/opt/jdk1.5.0_09 export OPENNMS_HOME=/opt/opennms export CATALINA_HOME=/opt/apache-tomcat-5.5.20 export PATH=$PATH:$JAVA_HOME/bin java -version $CATALINA_HOME/bin/startup.sh Test Tomcat 5.5 http://Ip_address:8080/ vi /var/lib/pgsql/data/postgresql.conf # - Connection Settings - max_connections = 256 vi /var/lib/pgsql/data/pg_hba. [阅读全文]