Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Saturday, January 26, 2013

XAMPP For Windows



1) Download XAMPP for Windows, http://www.apachefriends.org/en/xampp-windows.html.



2) Unzip to Windows Root, i.e C:\



3) Right-Hand Click xampp-control, Select Run as Administrator.


NOTE:
=====

1) If XAMPP is not installed at the root, you must run the setup_xampp.bat file in order for the XAMPP to reconfigure itself to new path.


2) Take note that PHP in this package needs the Microsoft Visual C++ 2008 Redistributable package from http://www.microsoft.com/en-us/download/details.aspx?id=5582. Please ensure that the VC++ 2008 runtime libraries are installed on your system.

3) If XAMPP is installed to a PC running VMWARE, there may be a Port 443 Conflict issue, refer http://setup-steps.blogspot.com/2013/01/xampp-and-vmware-workstation-on-windows.html for troubleshooting.

4) Run Apache if you want to run a Web Server and PHP application.

5) If you want to run Java application, run Tomcat.

6) If you need a database server, run MySQL.

XAMPP and VMWARE Workstation on Windows

copied from: http://edwardsamuel.wordpress.com/2012/06/27/port-conflict-vmware-8-workstation-vs-apache-2-xampp/




By default, when you install VMWare 8 Workstation and Apache 2 (or XAMPP), you can’t run these programs in same host. Both of them use port 443. So, when you have Apache 2 running, you can’t start VMWare 8 Workstation and vice versa. If you want to run both, you must tell one of them to not use port 443.

Apache 2 Configuration
1) Open your Apache 2 configuration directory (if you use XAMPP for Windows, the default directory C:\xampp\apache\conf)

2) Open extra folder

3) Edit httpd-ssl.conf

4) Find all 443 and replace with 4431 (or else)

5) Restart Apache

Conclusion: Apache SSL module usually use port 433. By editing the Apache configuration, you can configure port usage. And now, SSL module use port 4431 (or else).

Friday, January 25, 2013

Flash Builder 4.6 - Windows



1) Download from http://download.adobe.com/pub/adobe/flex/win/FlashBuilder_4_6_LS10.exe

2)

Android ADT Bundle on Centos 6.3


Setup steps for Android ADT Bundle on Centos 6.3


1) Go to http://developer.android.com/sdk/index.html . Scroll down to section "DOWNLOAD FOR OTHER PLATFORMS/ADT Bundle".




2) In Centos 6.3, run Terminal Window as Root.

[centos@localhost ~]$ su 
Password: 


3) If your Centos 6.3 doesn't have Java, install Java first.
[root@localhost centos]# yum install java 

4) Download ADT bundle:
[root@localhost centos]# wget http://dl.google.com/android/adt/adt-bundle-linux-x86.zip 

4) Unzip the zipped ADT file
[root@localhost centos]# unzip adt-bundle-linux-x86.zip 

5) Move the extracted folder to /opt
[root@localhost centos]# mv adt-bundle-linux-x86 /opt 

6) The executable eclipse program is ready for execution
[root@localhost centos]# cd /opt/adt-bundle-linux-x86/eclipse 
root@localhost centos]# ./eclipse  

7) As an alternative to Step 6, we can register the path so that Centos recognize eclipse name called from any location. Follow steps 8-11.

8) Create eclipse executable binary file

[root@localhost centos]#  touch /usr/bin/eclipse 

9) Set permission to the file
[root@localhost centos]#  chmod 755 /usr/bin/eclipse 

10) Create the file using VI editor
[root@localhost centos]#  vi /usr/bin/eclipse 

11) Add entries to the file
export ECLIPSE_HOME="/opt/adt-bundle-linux-x86/eclipse"
$ECLIPSE_HOME/eclipse $*


12) Now you can just type eclipse in the terminal and Centos would know where to find its binary file.

The following is the ADT Splash Screen (a modified Eclipse)



Android SDK and Eclipse on Centos 6.3





1) Refer main download site for Android Software Development Kit (SDK):
http://developer.android.com/sdk/index.html

2) Copy the download link.
android-sdk_r21.0.1-linux.tgz




3) Run Centos Terminal. Switch to root user.


4) Download the zipped SDK
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz

The file will be downloaded to /home/centos directory.

5) Unzip the zipped SDK
tar -xvzf android-sdk_r21.0.1-linux.tgz 


 6) Move SDK file
mv android-sdk-linux /opt/android-sdk-linux


7) Change Directory Access Mode
chmod -R a+w /opt/android-sdk-linux

8) Edit Bash Profile
vi $HOME/.bash_profile

9) Add the following code before the last line.
PATH=$PATH:/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools


10) Run Eclipse.

11) Go to Help/Install New Software.
Type "https://dl-ssl.google.com/android/eclipse/" at text box labeled "Work with"
Click Add.
Click Select All.
Click Next.




11) Review items to be installed. Click Next.


12) At the time of this writing, there is probably a bug that halts installation.




The Details section says:
Cannot complete the install because one or more required items could not be found.

  Software being installed: Android Development Tools 21.0.1.v201212060256-543035 (com.android.ide.eclipse.adt.feature.group 21.0.1.v201212060256-543035)

  Missing requirement: Android Development Tools 21.0.1.v201212060256-543035 (com.android.ide.eclipse.adt.feature.group 21.0.1.v201212060256-543035) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Read more here, http://stackoverflow.com/questions/14465960/unable-to-install-adt-in-win7-64-bit .


13) Alternatively, you may try installing a complete ADT. Follow this, http://setup-steps.blogspot.com/2013/01/android-adt-bundle-on-centos-63.html .








Install Eclipse Classic 4.2.1 in RHEL/CentOS 6.3/5.6, Fedora 17-12

copied from: http://www.tecmint.com/install-eclipse-classic-in-rhel-centos-fedora/
cached image


Install Eclipse Classic 4.2.1 in RHEL/CentOS 6.3/5.6, Fedora 17-12

Eclipse is an open source and free multi-language and multi-platform software development program that used to build JAVA based web applications. It is written in Java program and can be used to develop Java based applications and other various plugins, including languages like C,C++, PHP, Perl, Python, Ruby and Rails framework.
Install Eclipse SDK Juno
Install Eclipse 4.2.1 in RHEL / CentOS / Fedora
It provides common UI (User Interface) navigation model for working with tools and it was developed to run on multiple OS (Operating Systems) by providing robust integration with each OS. Eclipse was one of the first IDE’s (Integrated Development Environment) program to run under GNU operating system.

This guide shows you how to install latest version of Eclipse Classic 4.2.1 on RHEL 6.3/6.2/6.1/6/5.8/5.6, CentOS 6.3/6.2/6.1/6/5.8/5.6 and Fedora 17,16,15,14,13,12using Eclipse source files.

Install Eclipse Classic 4.2.1 in RHEL, CentOS and Fedora

Install Java SDK 6

First, you need to install Java SDK 6 package using the following YUM command.
# yum install java

Download Eclipse Classic 4.2.1

Download Eclipse Classic 4.2.1 for system OS bit, by choosing following link with Wgetcommand or you can also download it from http://www.eclipse.org/downloads/?osType=linux.
For RHEL/CentOS/Fedora 32-bit OS
# wget http://ftp.jaist.ac.jp/pub/eclipse/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk.tar.gz
For RHEL/CentOS/Fedora 64-bit OS
# wget http://ftp.jaist.ac.jp/pub/eclipse/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz
THE FILE WILL BE DOWNLOADED TO /HOME/CENTOS DIRECTORY

Extracting Eclipse Classic 4.2.1

Unpack it under /opt directory with the help of Tar command with -C switch. For more examples of tar command visit THIS PAGE.
## For 32-Bit OS ##
# tar -xvzf eclipse-SDK-4.2.1-linux-gtk.tar.gz -C /opt

## For 64-Bit OS ##
# tar -xvzf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz -C /opt

Setting Execute Permissions to Eclipse files

Set executable permission on all files under eclipse directory.
# chmod -R +r /opt/eclipse

Creating Eclipse executable Binary file

Create eclipse executable binary file and set permission to it as shown below.
# touch /usr/bin/eclipse
# chmod 755 /usr/bin/eclipse
Create the following file with VI editor.
# vi /usr/bin/eclipse
Add the following lines to it save and close the file.
export ECLIPSE_HOME="/opt/eclipse"

$ECLIPSE_HOME/eclipse $*

Creating GNOME Desktop Launcher

Create the GNOME desktop launcher file for eclipse with VI editor.
# vi /usr/share/applications/eclipse.desktop
Add the following lines of code it, save and close the file.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 4.2.1
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

Starting Eclipse Launcher

From Desktop terminal run the following command to launch Eclipse.
# eclipse

Eclipse Screenshots

Check out running Eclipse screenshots under my CentOS 6.3 system.
Eclipse Startup Screen
Start Eclipse SDK
Eclipse Startup Screen
Eclipse Create WorkPlace
Eclipse Create WorkPlace
Eclipse Create WorkPlace Screen
Eclipse Welcome Screen
Eclipse Welcome
Eclipse Welcome Screen


CentOS 6.3 Step by Step Installation Guide with Screenshots

copied from: http://www.tecmint.com/centos-6-3-step-by-step-installation-guide-with-screenshots/
view cached page.



CentOS 6.3 Step by Step Installation Guide with Screenshots

This post will guide you a step-by-step installation of Community ENTerprise Operating System 6.3 (CentOS) with screenshots. Less than three weeks after the release of Red Hat Enterprise Linux (RHEL) 6.3. The CentOS Project has released its clone of RHEL 6.3distribution on 09 July 2012.

CentOS 6.3 Features

CentOS Linux Distribution contains some new exciting features like.
  1. OpenOffice 3.2 has been replaced by LibreOffice 3.4, if you update from previous version of CentOS 6 using ‘yum update’ and have openoffice installed, the update will automatically remove openoffice and install libreoffice.
  2. Many drivers have been updated and improved in virtulisation.
  3. Upstream has deprecated the Matahari API for operating system management has been deprecated, and there’s new tools for moving physical and virtual machines into Virtual KVM machine instances. These new tools from Red Hat are virt-p2v and virt-v2v for physical-to-virtual and virtual-to-virtual migration, respectively.

Download CentOS 6.3 DVD ISO

  1. Download CentOS 6.3 32-bit DVD ISO – (3.6 GB)
  2. Download CentOS 6.3 64-bit DVD ISO – (4.0 GB)
  3. Download both 32-bit and 64-bit DVD ISO.

CentOS 6.3 Step by Step Graphical Installation Guide

Boot Computer with CentOS 6.3 OS Installation CD/DVD.

1. Select Install or Upgrade existing system options.
Select Install or Upgrade
Select Install or Upgrade
2. Choose skip media test as it may take long time to check media.
Skip CentOS 6.3 Media Test
Skip CentOS 6.3 Media Test
3. CentOS 6.3 Welcome Screen press Next.
CentOS 6.3 Welcome Screen
CentOS 6.3 Welcome Screen
4. Language Selection.
CentOS 6.3 Language Selection
CentOS 6.3 Language Selection
5. Select appropriate Keyboard.
CentOS 6.3 Keyboard Selection
CentOS 6.3 Keyboard Selection
6. Select Basic Storage Device if your hard drive is attached locally.
CentOS 6.3 Storage Device Selection
CentOS 6.3 Storage Device Selection
7. You may get Storage Device warning, you can click Yes, discard any data button toContinue.
CentOS 6.3 Storage Device Warning
CentOS 6.3 Storage Device Warning
8. Give a Hostname to the server and click on Configure Network button if you want to configure network while installation.
CentOS 6.3 Hostname and Network Setup
CentOS 6.3 Hostname and Network Setup
9. Click Wired tab and click on Add button.
CentOS 6.3 Network Setup
CentOS 6.3 Network Setup
10. Select Connect Automatically, go to ipv4 settings tab and select Method and selectManual in drop down. Click on Add tab to fill address box with IP Address, Netmask,Gateway and DNS Server. Here I’m using IP Address 192.168.1.6 and DNS Server is 4.2.2.2 for demo. This IP Address may vary in your environment.
CentOS 6.3 Network Configuration
CentOS 6.3 Network Configuration
11. Select Time Zone.
CentOS 6.3 Set Timezone
CentOS 6.3 Set Timezone
12. Give a root password.
CentOS 6.3 root Password
CentOS 6.3 root Password
13. Select appropriate partitioning as per your requirement.
CentOS 6.3 Partition Selection
CentOS 6.3 Partition Selection
14. Verify filesystem. Here, you can edit filesystem If you want.
CentOS 6.3 Partition Verify
CentOS 6.3 Partition Verify
15. Disk Format Warning, click on Format.
CentOS 6.3 Disk Format
CentOS 6.3 Disk Format
16. Select Write Changes to disk.
CentOS 6.3 Disk Changes
CentOS 6.3 Disk Changes
17. Hard Drive is Formatting.
CentOS 6.3 Disk Formatting
CentOS 6.3 Disk Formatting
18. Here, you can give Boot loader Password for better security.
CentOS 6.3 Boot Loader Password
CentOS 6.3 Boot Loader Password
19. Select the applications you want to install, you can choose Customize now and click Next.
CentOS 6.3 Package Selection
CentOS 6.3 Package Selection
20. Select the applications you want to install and click Next.
CentOS 6.3 Packages Selection
CentOS 6.3 Packages Selection
21. Installation started, this may take several minutes as per selection of packages.
CentOS 6.3 Installation
CentOS 6.3 Installation
22. Installation completed, Please remove CD/DVD and reboot system.
CentOS 6.3 Installation Completes
CentOS 6.3 Installation Completes
23. Welcome to CentOS 6.3 Login Screen.
CentOS 6.3 Login Screen
CentOS 6.3 Login Screen
24. CentOS 6.3 Desktop Screen.
CentOS 6.3 Desktop Screen
CentOS 6.3 Desktop Screen
Liked the article? Sharing is the best way to say thank you!