|
Blog > Open Source Tech. Personal Fedora 14 Installation Guide
Posted on January 13, 11 @ 09:33 pm under Open Source Tech. and has no comments.
Personal Fedora 14 Installation Guide - http://www.mjmwired.net/resources/mjm-fedora-f14.html 
Installing Apache, PHP, MySQL on Ubuntu
Posted on September 06, 09 @ 06:13 pm under Open Source Tech. and has no comments.
Installing Apache
1. Open Terminal (Application -> Accessories -> Terminal) and execute the following command:
sudo apt-get install apache2
2. When the setup is complete you can check if the Apache is working properly by pointing your browser to http://localhost. If you see the text “It works!”, it means Apache is working just fine.
3. Towards the end of the installation if you see a message like this inside Terminal, “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName“, you can fix this by executing the following command. It will open Gedit (text editor).
gksu gedit /etc/apache2/conf.d/fqdn
4. When Gedit opens, type “ServerName localhost” inside the file and click Save. Then close the file.
Installing php5
1. Inside Terminal, execute the following command:
sudo apt-get install php5 libapache2-mod-php5
2. When setup is complete, you have to restart Apache so that php5 will work on Apache. Execute the following command in Terminal:
sudo /etc/init.d/apache2 restart
3. You can now test to see if php5 works with Apache. To do this you can create a new php file inside your /var/www/ folder. (The text in red is the filename. You can put any name.)
sudo gedit /var/www/phpinfo.php
4. The command above will open Gedit. Just type in the following php code, save and close the file:
<? phpInfo(); ?>
5. Now point your browser to “http://localhost/phpinfo.php” and see if you can see the text “yoo hooo!” and a lot of information about your php5 installation. If you see that, it means your have successfully installed php5.
Installing MySQL
1. Inside Terminal, execute the following command:
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
2. Towards the end of the installation you will be prompted to set your root or admin password. Set root password.
Ref: http://ubuntuexperiment.wordpress.com/2008/11/10/installing-apache-php-mysql/ 
Installing Microsoft fonts in Ubuntu
Posted on December 22, 08 @ 07:12 am under Open Source Tech. and has no comments.
Give following commands to get the Microsoft fonts installed on Ubuntu. The fonts include Andale Mono, Arial Black, Arial (Bold, Italic, Bold Italic), Comic Sans MS (Bold), Courier New (Bold, Italic, Bold Italic), Georgia (Bold, Italic, Bold Italic), Impact, Times New Roman (Bold, Italic, Bold Italic), Trebuchet (Bold, Italic, Bold Italic), Verdana (Bold, Italic, Bold Italic), Webdings
$ sudo apt-get install msttcorefonts
After issuing this, fonts will be downloaded one by one. The download size of all fonts is around 5 MB.
After installing, to flush the font cache, give the following command.
$ sudo fc-cache -fv

Viewing Unicode characters in Firefox
Posted on October 20, 07 @ 01:13 am under Open Source Tech. and has no comments.
For Windows Vista:
No need to do any thing, its already working
For Windows XP:
You need to install indic support. For this you need to have the XP OS cd. If you don’t have CD, forget about firefox. Go and use Internet Explorer.
CD installation procedure
1. Go to Control Panel > REgional and Language options.
2. Click Languages tab.
3. Check the option “Install files for complex script and right-to-left languages”
4. It will ask for cd and insert it.
5. After a while, it will ask for reboot. Reboot with confidence.
After rebooting, find yourself supported with unicode in firefox.
For further info see: http://en.wikipedia.org/wiki/Wikipedia:Enabling_complex_text_support_for_Indic_scripts 
Accessing PHP MSSQL extension in APACHE
Posted on October 20, 07 @ 01:02 am under Open Source Tech. and has no comments.
If apache-php is not able to load php_mssql.dll (DLL for Microsoft sql server connections), though you have specified extension_dir correctly and that extension=php_mssql.dll is uncommented in php.ini, simply do one thing.
Copy ntwdblib.dll into 2 places c:windows and c:windowssystem32 and restart apache.
check your extension with phpinfo() script.

Configuring PHP - MYSQL Extensions on APACHE
Posted on October 20, 07 @ 01:01 am under Open Source Tech. and has no comments.
I presume you have windows installed with php 5.2 and apache 2.2, with mysql 5.0 installed and running on 3306 port.
Suppose you have downloaded and installed php from zip file, these dlls are already in ext folder in your php5.2 installation folder. If you have installed from installer, then you will not have extension dlls.
Then download php-mysql connectors from http://dev.mysql.com/downloads/connector/php/ You will have 2 dll files in that downloaded zip file – php_mysql.dll and libmysql.dll
Put libmysql.dll in your php folder (C:php5). Make a folder “ext” in your php installation and put php_mysql.dll in that folder (C:php5ext)
Now in your php.ini, specify the extension_dir like this (with double slashes).
extension_dir=c://php5//ext//
Having extension_dir=”./ext” will work for IIS but not for APACHE. So now its all done. to check that these xtensions are available, run phpinfo() script.

Configuring APACHE2.2 and PHP5.2 on windows
Posted on October 20, 07 @ 01:01 am under Open Source Tech. and has no comments.
I assume that you have installed APACHE2.2 webserver and PHP5.2 seperately on windows. So I am focussing on configuring both of them to work.
You have to do 3 things for apache.
1. Tell which module to load for PHP5. For this you need to have some thing like this in your httpd.conf file. There will be 2 modules for APACHE in PHP folder. php5apache2.dll and php5apache2_2.dll. You need to declare the second one. Suppose your php engine is in D:php5.2, then declare like this.
LoadModule php5_module “D:/php5.2/php5apache2_2.dll”
Note the forward slashes, not back slashes.
2. Then you need to tell apache which files to send to php engine to parse and where the PHP.ini file is. Add these lines to your httpd.conf file.
AddType application/x-httpd-php .php
PHPIniDir “D:/php5.2/”
If for some reason you need to run PHP as a CGI binary, add these lines to your httpd.conf file instead.
ScriptAlias /php/ “D:/php5.2/”
AddType application/x-httpd-php .php
Action application/x-httpd-php “/PHP/php-cgi.exe”
3. Finally, tell the apache that directory index can have index.php as index file. so add index.php entry for DirectoryIndex at this place.
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
After following these steps issue phpinfo(); in a php file and check whether apache is able to process php files. Once its done, you should be able to get apache+php running on your windows machine.

Pages: [1]
|