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ŀcomC) 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 unzip Oracle 10gR2 Database SW.Edit [阅读全文]

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.0.4 Installation… Loading taskdefs… Taskdefs loaded Choose which software to install: 1: Hyperic HQ Server 2: Hyperic HQ Shell 3: Hyperic HQ Agent You may enter multiple choices, separated by commas. [阅读全文]

How to install Cacti on OpenSuse 10.2

1.Download Extract the distribution tarballSuse:/opt # wget http://www.cacti.net/downloads/cacti-0.8.6j.tar.gzSuse:/opt # tar zxvf cacti-0.8.6j.tar.gz2.Create the MySQL database:Suse:/opt # mysqladmin –user=root create cacti3.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> quite5.Edit include/config.php and specify the MySQL user, password and database for your Cacti configuration.Suse:/opt/cacti-0.8.6j # vi include/config.php/* make sure these values refect your actual database/host/user/password */$database_type = “mysql”;$database_default = “cacti”;$database_hostname = “localhost”;$database_username = “cactiuser”;$database_password = “cacti”;$database_port = “3306”;6. [阅读全文]

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

1>Install dependence packageszliu3:~yast -i rrdtoolzliu3:~yast -i postgresqlzliu3:~ # rpm -qa |grep rrdtoolrrdtool-1.2.15-25zliu3:~ # rpm -qa |grep postgresqlpostgresql-8.1.5-13postgresql-libs-8.1.5-13postgresql-contrib-8.1.5-13postgresql-pl-8.1.5-15postgresql-server-8.1.5-13rcpostgresql startcopy jdk/tomcat 5.5 package files to /optcd /opttar xzvf jdk1.5.tar.gztar xzvf tomcat5.5.tar.gzexport JAVA_HOME=/opt/jdk1.5.0_09export OPENNMS_HOME=/opt/opennmsexport CATALINA_HOME=/opt/apache-tomcat-5.5.20export PATH=$PATH:$JAVA_HOME/binjava -version$CATALINA_HOME/bin/startup.shTest Tomcat 5.5 http://Ip_address:8080/vi /var/lib/pgsql/data/postgresql.conf# - Connection Settings - max_connections = 256vi /var/lib/pgsql/data/pg_hba.conf[refer to install guide] #local all all ident sameuserlocal all all trusthost all all trusthost all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trustrcpostgresql restart2>Install and configure OpenNMSCopy OpenNMS rpm packages to /rootrpm -ivh opennms*$OPENNMS_HOME/bin/runjava -s$OPENNMS_HOME/bin/install -dis$OPENNMS_HOME/bin/install -y -w $CATALINA_HOME/conf/Catalina/localhost$CATALINA_HOME/bin/shutdown. [阅读全文]