After quite sometime figuring out where to download a 64-bit jdk, i found this download page. And I wouldn't like to undergo that same fate again.
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u16-oth-JPR@CDS-CDS_Developer
Friday, September 25, 2009
Wednesday, September 9, 2009
Installing Postgres in Fedora Core 10 and Setting of default password
Lately, I was trying to install a new postgresql server in my FC10 box. I thought it was as easy as 1,2,3 but I discovered it needed some technical knowledge to install postgresql server.
After reading few blogs and my personal google docs, I came up with the following procedure.
Installing postgresql server
- Go to System -> Add/Remove Software
- Search for postgresql
- install postgresql-server and postgresql client files
- after installation, you have to initialize your database
- open terminal
- su root
- su postgres
- cd ~
- initdb data
- then start postgresql server with pg_ctl -D data -l logfile start
Setting default password for user postgres
- without exiting the terminal or su postgres, type
psql -c "ALTER USER postgres WITH PASSWORD 'password'" -d template1
that's it for now....
After reading few blogs and my personal google docs, I came up with the following procedure.
Installing postgresql server
- Go to System -> Add/Remove Software
- Search for postgresql
- install postgresql-server and postgresql client files
- after installation, you have to initialize your database
- open terminal
- su root
- su postgres
- cd ~
- initdb data
- then start postgresql server with pg_ctl -D data -l logfile start
Setting default password for user postgres
- without exiting the terminal or su postgres, type
psql -c "ALTER USER postgres WITH PASSWORD 'password'" -d template1
that's it for now....
Tuesday, September 1, 2009
Changing Drive letter of your CDROM/DVD RW in Windows Vista
If you are using windows vista (or other windows version i think), and would like to change the letter of your drive, you can try the following:
Go to Control Panel -> Administrative Tools -> Computer Management
Click on Disk Management
Right Click on your CD/DVD Drive
Select Change Drive Letter and Paths
Select the Drive
Then Click Change
Assign a drive letter and then click ok.
Go to Control Panel -> Administrative Tools -> Computer Management
Click on Disk Management
Right Click on your CD/DVD Drive
Select Change Drive Letter and PathsSelect the Drive
Then Click Change
Assign a drive letter and then click ok.
Monday, August 10, 2009
Changing/setting default mysql root password
Changing/setting default mysql root password:
mysqladmin command to change root password
If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:
$ mysqladmin -u root password NEWPASSWORD
However, if you want to change (or update) a root password, then you need to use following command
$ mysqladmin -u root -p'oldpassword' password newpass
For example, If old password is abc, and set new password to pass, enter:
$ mysqladmin -u root -p'abc' password 'pass'
Wednesday, June 24, 2009
Installing flash player in fedora core 10
For 32-bit machines, run the following commands:
- sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
- sudo yum install flash-plugin
Then restart firefox. You should have a working flash player by then.
For 64-bit machines, (e.g. my 64-bit AMD machine), i followed the following steps:
- Download the file http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz (3.56 MB)
Extract libflashplayer.so and copied it into
- /usr/lib64/mozilla/plugins/libflashplayer.so
- sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
- sudo yum install flash-plugin
Then restart firefox. You should have a working flash player by then.
For 64-bit machines, (e.g. my 64-bit AMD machine), i followed the following steps:
- Download the file http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz (3.56 MB)
Extract libflashplayer.so and copied it into
- /usr/lib64/mozilla/plugins/libflashplayer.so
Display invisible mouse pointer in Fedora Core 10
I have recently installed fedora core 10 on a P4 machine in the office. During the installation, I have noticed that the mouse pointer is not showing. After the successful installation, still the mouse pointer is not showing. So in order to solve the problem, i followed this steps:
1. Open Terminal
2. become root by
- su
3. run the following command:
- yum install system-config-display
4. after installing system-config-display, enable it by:
- system-config-display
5. edit the file /etc/X11/xorg.conf
6. Add the following, under the "Section Device"
Option "HWCursor" "off"
Option "SWCursor" "on"
7. Reboot your system (ctl - alt - backspace) and hopefully you will have your mouse pointer now...
1. Open Terminal
2. become root by
- su
3. run the following command:
- yum install system-config-display
4. after installing system-config-display, enable it by:
- system-config-display
5. edit the file /etc/X11/xorg.conf
6. Add the following, under the "Section Device"
Option "HWCursor" "off"
Option "SWCursor" "on"
7. Reboot your system (ctl - alt - backspace) and hopefully you will have your mouse pointer now...
Wednesday, June 10, 2009
GD library and mod_rewrite issue in Fedora Core 10 (with file permission issues on htaccess and _config.php)
GD Library not Installed:
Lately, I was trying to install silverstripe CMS in my local machine. I have this warning that GD library is not enabled. The simplest thing to do to solve this problem is install GD. Good thing I about fedora core 10 is I no longer have to go to the terminal for simple install/uninstall. So, I just click on System->Add remove Software, then type GD in the search box of the window that appeared.
I just checked(selected) "A module for PHP Applications using GD", then clicked apply. The installer then will do the rest for you like checking for dependencies, downloading etc.
Then, go to System->Services then restart httpd. Then GD should be installed in your system by now.
Enable Mod_rewrite in Fedora Core 10
Aside from the GD library problem, I encountered also another problem during my Silverstripe installation.
"Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:
edit the httpd.conf file using vi, nano or gedit or any text editor of your choice.
Then, remove the # sign in
LoadModule rewrite_module modules/mod_rewrite.so line.
Then change
AllowOverride None to AllowOverride All
Then don't forget to restart the httpd service.
After solving those problems, I then have a working silverstripe installation in my box. Now, I'm off to exploring silverstripe CMS.....
* If you are having issues on .htaccess and _config.php files, like you have to make it writeable. Then after chmod 777 you still get the same warning, one quick solution to that is set SELinux to permissive.
Lately, I was trying to install silverstripe CMS in my local machine. I have this warning that GD library is not enabled. The simplest thing to do to solve this problem is install GD. Good thing I about fedora core 10 is I no longer have to go to the terminal for simple install/uninstall. So, I just click on System->Add remove Software, then type GD in the search box of the window that appeared.
I just checked(selected) "A module for PHP Applications using GD"
Then, go to System->Services then restart httpd. Then GD should be installed in your system by now.
Enable Mod_rewrite in Fedora Core 10
Aside from the GD library problem, I encountered also another problem during my Silverstripe installation.
"Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:
- mod_rewrite is enabled
- AllowOverride All is set for your directory"
edit the httpd.conf file using vi, nano or gedit or any text editor of your choice.
Then, remove the # sign in
LoadModule rewrite_module modules/mod_rewrite.so line.
Then change
AllowOverride None to AllowOverride All
Then don't forget to restart the httpd service.
After solving those problems, I then have a working silverstripe installation in my box. Now, I'm off to exploring silverstripe CMS.....
* If you are having issues on .htaccess and _config.php files, like you have to make it writeable. Then after chmod 777 you still get the same warning, one quick solution to that is set SELinux to permissive.
Subscribe to:
Posts (Atom)