Sunday, February 26, 2012

INTRO TO OPENSHIFT EXPRESS (FEDORA)

This video demonstrates how to install the OpenShift Express client utilities on the Fedora operating system. Furthermore, it provides a walk through of signing up for an RHN account using the OpenShift website and details steps to allow a user to create their first express domain.

Please go to openshift.redhat.com for more details.

http://www.youtube.com/watch?v=2thWRlvVB7U&feature=colike

Friday, February 17, 2012

Install phpMyAdmin on Fedora 16/15, CentOS/RHEL 6.2/5.7

1. Install Needed Web and Database Servers[Apache]

1.1a  Install the whole LAMP environment with following guideLAMP (Linux/Apache/MySQL/PHP) on Fedora, CentOS/Red Hat (RHEL)


[Nginx]


1.1b Install the whole LEMP environment with following guideLEMP (Linux/Nginx/MySQL/PHP) on Fedora, CentOS/Red Hat (RHEL)


##OR##


[Apache]


1.2a  Install just MySQL and Apache with PHP using following guidesInstall MySQL 5.5 on Fedora, CentOS, Red Hat (RHEL)Install Apache (httpd) and PHP 5.3 on Fedora, CentOS, Red Hat (RHEL)[Nginx]


1.2b  Install just MySQL and Nginx with PHP (PHP-FPM) using following guidesInstall MySQL 5.5 on Fedora, CentOS, Red Hat (RHEL)Install Nginx and PHP 5.3 (PHP-FPM) on Fedora, CentOS, Red Hat (RHEL)


2. Install phpMyAdmin 3.4.9 on Fedora 16/15/14/13, CentOS/Red Hat (RHEL) 6.2/6.1/6/5.7

2.1 Change root user


su


##OR##


sudo -i


2.2 Install Remi repository


Fedora


## Remi Dependency on Fedora


rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm


rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


## Fedora 16 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-16.rpm


## Fedora 15 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm


## Fedora 14 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm


## Fedora 13 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm


CentOS and Red Hat (RHEL)


## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##


rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm


## CentOS 6 and Red Hat (RHEL) 6 ##


rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm


## Remi Dependency on CentOS 5 and Red Hat (RHEL) 5 ##


rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm


## CentOS 5 and Red Hat (RHEL) 5 ##


rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm


Note: You can also use original Fedora phpMyAdmin builds or EPEL packages.


2.3 Install phpMyAdmin


yum –-enablerepo=remi install phpmyadmin


3. Setup phpMyAdmin with Apache or Nginx[Apache]

3.1a Check phpMyAdmin Apache Virtual Host


When you install phpMyAdmin you got working Apache Virtual Host automatically, but if you want change it, then check /etc/httpd/conf.d/phpMyAdmin.conf file and modify it


3.1b Create phpMyAdmin Nginx Virtual Host and Other Setup's


Create /etc/nginx/sites-available/phpMyAdmin file with following content:


server


{


listen   80;


server_name pma;


access_log /var/log/nginx/phpmyadmin/access.log;


error_log /var/log/nginx/phpmyadmin/error.log;


root /usr/share/phpMyAdmin;


location /


{


index  index.php;


}


## Images and static content is treated different


location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|xml)$


{


access_log        off;


expires           360d;


}


location ~ /.ht


{


deny  all;


}


location ~ /(libraries|setup/frames|setup/libs)


{


deny all;


return 404;


}


location ~ .php$


{


include /etc/nginx/fastcgi_params;


fastcgi_pass 127.0.0.1:9000;


fastcgi_index index.php


fastcgi_param SCRIPT_FILENAME /usr/share/phpMyAdmin$fastcgi_script_name;


}


}


This is Nginx phpMyAdmin virtual host configuration which works pretty much like original phpMyAdmin Apache configuration. I use here server_name pma you could freely change this real host name or some other.


Set pma pointing to localhost, add following to /etc/hosts file:


127.0.0.1  pma


Create needed directory and enable Nginx virtual host:


mkdir -p /var/log/nginx/phpmyadmin


cd /etc/nginx/sites-enabled


ln -s /etc/nginx/sites-available/phpMyAdmin


3.2a Restart Apache Web Server


/etc/init.d/httpd restart


3.2b Restart Nginx Web Server


/etc/init.d/nginx restart

Wednesday, February 15, 2012

Install MySQL on Fedora 16/15/14/13/12



1.) Change to root user

su


##OR##


sudo -i


2.) Install remi repository(not needed if you are running fc16)

## Remi Dependency on Fedora 15, 14, 13, 12, 11, 10, 9, 8##


rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm


rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm


## Fedora 15 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm


## Fedora 14 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm


## Fedora 13 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm


## Fedora 12 ##


rpm -Uvh http://rpms.famillecollet.com/remi-release-12.rpm


3.) Check for latest version

In Fedora 16


yum list mysql mysql-server


in Fedora 15/14/13/12


yum –enablerepo=remi list mysql mysql-server


4.) Update or Install MySQL

Fedora 16


yum install mysql mysql-server


Fedora  15/14/13/12


yum –enablerepo=remi,remi-test install mysql mysql-server


5.) Start MySQL server and autostart MySQL on boot

Fedora 16


systemctl start mysqld.service ##use restart after update##


systemctl enable mysqld.service


Fedora 15/14/13/12/11


etc/init.d/mysqld start  ## use restart after update##


## OR ##


service mysqld start ## use restart after update


chkconfig –levels 235 mysqld on


6.) MySQL Secure Installation

/usr/bin/mysql_secure_installation


7.) Change the root user’s password

mysqladmin -u root password (your password)


8.)Connect to MySQL database (localhost) with password

mysql -u root -p

Tuesday, February 14, 2012

Install oVirt Engine from the stable Fedora 16 x86_64 packages



oVirt project released the first official version 3.0.

This release includes three components, SDK engine and node.

Engine 3.0: provide feature-rich virtualization management system, application server based on the Jboss AS7 to support the process priority management.

SDK 1.3: use Python for the engine exposed API for application development, REST style.

The Node 2.2.2: Minimize the Linux image as a virtual host, and provides the function of oVirt engine links, the use of a component part of Fedora 16

oVirt by Canonical, Cisco, IBM, Intel, NetApp, the Red Hat, SUSE cooperative development, the project initiated by Red Hat in 2008, both in the establishment of an open virtualization solutions.

Install oVirt engine under Fedora 16:

sudo wget http://www.ovirt.org/releases/stable/fedora/16/ovirt-engine.repo -P /etc/yum.repos.dsudo yum install -y ovirt-engine

Distribution-specific work/instructions

Sunday, February 12, 2012

Hangouts On Air: Google Recruiters Share Technical Interview Tips

http://www.youtube.com/watch?v=qc1owf2-220&feature=colike

Friday, February 10, 2012

FEDORA 16 FREEDOM,FRIENDS,Features,FIRST

Jared Smith,Fedora project leader tells about new features and add-ons on Fedora 16

http://www.youtube.com/watch?v=c-k8JEHKVAQ&feature=colike

Nokia Lumia 900 Specs Review

The AT&T-bound Nokia Lumia 900 is one of the smartphones that we got the chance to play with back at CES. And judging by its specs, it is shaping up like a very promising Windows Phone device. What makes us believe it is so promising? Check out our Nokia Lumia 900 specs review to find out…

http://www.youtube.com/watch?v=gFpRn905EA0&feature=colike
Related Posts Plugin for WordPress, Blogger...