Pages

How to set up ( Fedora php ruby on rails )

Friday, October 2, 2009

How to install Ruby On Rails on Fedora 11 12 . . . .

Installation of ruby on rails on fedora was never easy before and this type installing ruby on rails on fedora is one step task . In Past installing ruby on rails was just a mess have to issue lots of commands now just one command and every thing is setup and rails is ready to go on than.and best thing about this type of installation is about mysql binding which also get install without any error

Now open firefox and put URL of your project folder which is sites in this case

[root@localhost default]# firefox localhost/sites &

Select Install Drupal in English

Now enter the database name in our case its drupal_db database user name its root in my case and your password for database

and click continue to start installing drupal

Now we need to remove write permissions from folders and files

[root@localhost default]# chmod a-w settings.php

[root@localhost default]# chmod a-w ../default/

Enter site name you wish , site e-mail , user name which will be used to edit your site and email for it and password for it and keep in mind while typing password , password must contain capital and small both letters and if possible also symbols also.

Now we need to create a configuration file and make it read and write able

[root@localhost mysite]# vi configuration.php

[root@localhost mysite]# chmod 666 configuration.php

[root@localhost mysite]# firefox localhost/mysite &

Now configuring joomla

open your browser and type following on url

localhost/mysite

Click next after selecting your language default is english

Click next again its telling you your stats about your configuration

Click next to accept the agreement statement

Now first select database (Mysql) than tell your host name most probably your will be also localhost Next select username of mysql server i choosed root and than entered the password of your database server of root and last box is of database name i have choosed mysite_db as my database for my project of joomla. Now click next

Now select yes if you want ftp support on i choosed it as off and click next

Now enter your site configuratins such as site Name your Email address and your password for administrator Admin password now don't bother next steps i recommend to click next afer filling site name , email , password and confirm password and now click next pop up will come click ok to continue

Alright now you have done with configuration now you jsut need to delete a folder from installation folder folder name installation in mysite folder delete that

Folder you have to delete will be in following location /var/www/html/mysite/installation

[ismail@localhost ~]$ sudo rm -r /var/www/html/mysite/installation/

After you have deleted installation folder just type this url on your browser

localhost/mysite

Now you see is your home page and now to get start working type following url on browser

localhost/mysite/administrator

Enter user name as admin and password what you choosed during installation

Here you are done with installation and configuration of Joomla and now you can create manage your joomla site

3. Install skype using yum

Saturday, August 8, 2009

How to setup up fedora php ruby on rails

This blog is about post installation of fedora. This blog will help you about setting up audio and video on feodra operating system. Fedora is not shipped with audio video code that we use in our daily life. like avi , mpeg , wmv , wma and many others but now you can play every thing on feodra.

How to play audio video on fedora Other thing that is here about development tools help like installing ruby on rails on fedora 10 and 11 . and other thing is after installation giving you choice of different servers. To setup fedora with apache will never be easy before now just few commands you can run rails application on apache server.

Tuesday, August 4, 2009

How to play audio video music files on linux (VLC mplayer )

playing audio video on fedora is kinda easy work to do you need to just follow these commands and in end you will have number of player with which you can play almost all video format on your fedora operating system

Fedora is not shipped with audio video codec like mp3 or avi so first of all you need some repositories so copy and paste into your terminal the below commands

Monday, August 3, 2009

Apache 2 user home directory

First create a directory with name public_html in your home directory (user directory

[ismail@localhost ~]$ mkdir public_html

Now open you apache server config file and edit to enable public_html for that uncomment UserDir public_html and comment UserDir disabled and also uncomments the lines below from where Directory start to ends

[ismail@localhost ~]$ sudo vi /etc/httpd/conf/httpd.conf

Now next step to save the configuration file and setting up permissions on public_html folder in your home directory. Our home directory need permission of 711 and public_html permission of 755 that we set by following commands.

[ismail@localhost ~]$ chmod 711 ~ismail/

where ismail is username you have your own you username you can check that by issuing command

[ismail@localhost ~]$ whoami

Alright now next step is to set permission of public_html

[ismail@localhost ~]$ chmod 755 public_html/

If SElinux is turned on you have to give extra permission on public_html folder

[ismail@localhost ~]$ sudo chcon -t httpd_sys_content_t public_html

last thing we have to do is comment welcome file in the following location