Install Joomla 1.5.3 On Ubuntu 9.04


Install the LAMP stack

Use any method to install the Apache2, Mysql and Php stack. You will need the following packages:

apache2 php5-mysql libapache2-mod-php5 mysql-server

Set a mysql-root password (not the same as a root password, but a password for mysql)
mysql -u root

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); mysql> SET PASSWORD FOR 'root'@'yourhostname' = PASSWORD('yourpassword');

Where you should change 'yourhostname' in last line. Each successful mysql command will show:

Query OK, 0 rows affected (0.00 sec)

Quit the mysql prompt:

$ mysql> \q

You should now have a functional LAMP stack and a password for the mysql root user.

Visit Apache PHP MySQL for more information on LAMP. Get the most recent version of Joomla! Download it here. Unpack it and then copy it to your webserver directory.

# Change for new version SOURCEPKG=Joomla_1.5.3-Stable-Full_Package.tar.bz2 SOURCEWWW=http://joomlacode.org/gf/download/frsrelease/111/264/Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Get it mkdir joomla cd joomla wget $http://www.joomla.org/content/blogcategory/32/66/ # Unpack it tar xvjf $Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Cleanup rm -f $Joomla_1.5.3-Stable-Full_Package.tar.bz2 # Move $ cd .. $ sudo mv joomla /var/www/

Handle ownership (choose one option):

# 1. Allow writting in whole joomla subtree

$ sudo chown -R www-data:www-data /var/www/joomla

# 2. Allow writting only in places Joomla! needs to write to (more secure)

$ sudo chown -R root:root /var/www/joomla $ cd /var/www/joomla

PLACES=' administrator/backups administrator/components administrator/modules administrator/templates cache components images images/banners images/stories language mambots mambots/content mambots/editors mambots/editors-xtd mambots/search media modules templates ' for i in $PLACES; do $ sudo chown -R www-data:www-data $i
done

Handle file and directory permissions:

$ cd /var/www/joomla $ sudo find . -type f -exec chmod 644 {} \; $ sudo find . -type d -exec chmod 755 {} \;

Joomla needs a database, user and password

You need to create a database. You can do this with PhpMyAdmin or via the command line:

$ mysqladmin -u root -p create joomla

Where joomla is the name you picked for the mysql database that joomla will use. You can call it anything you want.

$ mysql -u root -p

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';

You do not want to have Joomla use the mysql root user to access the database. The above command creates a mysql user (other than the mysql root user) with some priviledges to use the joomla database. You will need to chose the yourusername and yourpassword. If the command was successful, activate the new permissions:

mysql> FLUSH PRIVILEGES;

Quit the mysql prompt:


$ mysql> \q

Open history file for MySQL commands and delete the above SQL, since the password is in readable format!


$ gedit ~/.mysql_history

Reload Apache2

You may need to force-reload apache2 so that it knows to use the php module if you haven't done so since you installed the LAMP stack.


$ sudo /etc/init.d/apache2 restart

Finish installation

Point your browser to localhost/joomla, and follow the onscreen instructions.

Happy Testing..!!
Read More...!!

Install Ubuntu 8.10 On Playstation 3 (PS3)


I just find the install ubuntu on the playstation 3 after i search from google. To install it, follow these steps:

This guide will help you set up Ubuntu 8.10 on your PS3 there is no risk of leaving the PS3 dead you if you cant get it set up and you cant get back to the PS3 system you just turn off the PS3 and then hold the power button for a about 5 seconds untill the second beeps then it will reset and boot the standard PS3 system

Requirements: USB Keyboard & Mouse, Either a copy of Ubuntu 8.10 for the PS3 ready burnt onto a CD or you will need a PC and a blank CD to burn the ununtu download onto.

This guide assumes that you have burnt Ubuntu to CD and installed the new OtherOS on your PS3, If you need help follow instructions 1 and 2 on PS3 Linux How To: Install Ubuntu on the PS3

Please note you do not burn the ISO file onto the CD the ISO file is a copy of a CD and must be opened properly so the files it contains will be burnt to the CD if you have Nero or any quality burning software all you will need to do it double click the file it should then open up your burning software with the required settings and ask you to start burning .

Ubuntu 8.10 PS3 ISO Download

Make sure you have updated your Other OS in the XMB menu. Intrepid will not install using an old Other OS.
Start up the PS3s XMB system (if in kboot/terminal write: “ps3-boot-game-os” or “boot-game-os”).
With the Intrepid disk loaded, go to [Settings > System Settings > Install Other OS]. The otheros.bld file will be detected on the disc. Hit [Start] to update your Other OS.

Go to Default System and switch from PS3 to “Other OS”.
Loading the installer

With the Ubuntu disk loaded and OtherOS activated, start up your console, and wait for the installer to begin.

You will be greeted by two penguins and some lines of text. After a few seconds the terminal will display:
This is an Ubuntu installation CDROM
built on 20081030.
…
If in doubt, just press Enter.

kboot: _

Pressing Enter will start the installation with the kernel loading the system. Never mind the usb error message(s), just let the installer start up.
Installing the base system

These instructions are only tested on a ps3 connected to the internet via cable. If you’re installing without internet access the process might vary somewhat from the steps below

* First choose a language for the installation process, then your geographical location.
* The system can try to determine your keyboard or you can choose it from a list.
* The CD ROM is scanned, and additional components are loaded.
* If your PS3 is connected to the internet via cable, choose eth0: Ethernet. (unless you are using WEP encryption - wireless networks can be hard to configure from here.)
* Enter a hostname for the system - like “ubuntuPS3″.
* Disks and hardware is dectected. If asked if you want to Activate Serial ATA RAID devices just choose yes .
* When asked how to partition the disks, choose option 2: “Guided - use entire disk” (meaning the 10.7GB you formatted from the XMB in step 1∞).
* On the overview screen, hit “Finish partitioning and write changes to disk”. If asked to confirm, choose yes.
* The partition is formatted and base system installed. It should take about 6 minutes.
* Set up your user information (full name, username and password twice), and choose whether you would like to create a private encrypted directory for your user.
* Unless you’re using a proxy, leave the HTTP proxy information field blank (just hit enter).
* The system will start installing software. It might appear to hang at 6%, but just give the installer time and it will move on. The process will take about an hour.
* System clock - Yes to UTC.

You’re done! The CD will automatically eject itself, but you have to manually take it out of its slot (if you don’t, the PS3 will load it upon reboot). Hit Continue to boot into Ubuntu.

At the kboot screen, hit enter. Once greeted by the Ubuntu screen, enter the user name and password you chose during installation.

Congratulations! You should now have a working (X)Ubuntu 8.10 Operating System installed on your Playstation 3. Move on to Setup Ubuntu for tips on how to configure the screen resolution and making the OS run more smoothly.

PS: If you’ve chosen to install Xubuntu there is currently a bug that avoids you from opening the file manager Thunar. A quick fix for this is to install the alternative and lightweight file manager pcmanfm:

sudo apt-get install pcmanfm

**************** Additional Info **************

Install Problems

An ISO file is a disk image it is not a file that needs to be burn to disk it is a file containing instructions of how it should be burnt and the files that need to be on the disk most good burning software will work if you just double click the ISO file, otherwise you have to find the option to create disk from disk image.

When you have burnt the disk view the disk contents in windows and if there is only one file on the disk then you have burnt it wrong but if you can see multiple files and/or folders then the disk is ready.


Happy Testing..!!

Sources :

http://www.ps3linuxworld.com/
Read More...!!

Create Ubuntu packages (deb)


GiftWrap is made for the artist who wants to share their theme, the developer who wants to share their software, or the common user who wants to install from packages and not source code.

It helps you in creating Ubuntu .deb packages by guiding through the process with minimal fuss and maximum automation. GiftWrap also aims to help you in creating high-quality packages by helping you fill in as most of the package meta-information as possible - either by automatically detecting or explaining the options in an easy to understand manner.

Features:
  • Creation of basic packages from source archives or folders
  • Creation of debian package rules - so maintainer name, email, description, build-depends, recomments & etc. fields
  • Automatic building of packages - so at the end of the process you get an installable .deb that you can share with others (along with a .changes & .oFeaturesrig.tar.gz file for uploading to a PPA)

Installation:
Copy/paste the following into the terminal to quickly install:
 

$echo deb http://ppa.launchpad.net/giftwrap/ppa/ubuntu `lsb_release -cs` main | sudo tee /etc/apt/sources.list.d/ppa.list  
$sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 207CAD03  
 $sudo apt-get update && sudo apt-get install giftwrap


Happy Testing...!!

Sources :

http://linuxpoison.blogspot.com/

Read More...!!

Install GUI and Webmin in Ubuntu Server 9.04 (Jaunty)


We have already discussed how to install ubuntu 9.04 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using the 2 options

1) Install desktop Environment
2) Install Webmin
1) Install desktop Environment

First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI

$ sudo apt-get install ubuntu-desktop

The above command will install GNOME desktop


If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command


$ sudo aptitude install --no-install-recommends ubuntu-desktop


If you want to install light weight desktop install xfce using the following command


$ sudo apt-get install xubuntu-desktop


If you want to install KDE desktop use the following command


$ sudo apt-get install kubuntu-desktop


2) Install Webmin in Ubuntu


Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.Currently There is no Webmin package in the Ubuntu repositories.This tutorial will explain how to Install Webmin in Ubuntu Jaunty


You can install webmin for your server web interface to configure apache2,mysql,FTp servers and many more.Now we will see how to install webmin in Ubuntu 9.04


Preparing your system


First you need to install the following packages


sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl


Now download the latest webmin using the following command or from here


$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.470_all.deb


Now we have webmin_1.470_all.deb package install this package using the following command


$ sudo dpkg -i webmin_1.470_all.deb


This will complete the installation.
Using the Webmin APT repository
If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system

$ sudo vi /etc/apt/sources.list

add the line

deb http://download.webmin.com/download/repository sarge contrib

Save and exit the file
You should also fetch and install my GPG key with which the repository is signed, with the commands : 

$ cd /root
$ wget http://www.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc

You will now be able to install with the commands


$ sudo apt-get update
$ sudo apt-get install webmin

All dependencies should be resolved automatically.

Ubuntu in particular don’t allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.


Now you need to open your web browser and enter the following


https://your-server-ip:10000/


Now you should see similar to the following Screen
After login if you want to configure Apache,Mysql server you need to click on Servers on your lefthand side you should many servers are ready to configure
This is very Easy to configure most of the servers and Enjoy your new Ubuntu Jaunty LAMP Server.


Happy Testing...!!!


Sources :


http://www.ubuntugeek.com/
Read More...!!

Enable Read Write Permissions Ubuntu Folders


If you have problems with copying, deleting or moving files in your Ubuntu folders, you have limited access permissions for file operations in certain folder. Even you are administrator on your Linux system, Linux is double protected, so some files and folders from higher hierarchy are restricted and cannot be changed if you don't have root permissions. Here is easy tutorial how to get root access:

1. For changing that, press Alt+F2 and enter “gksudo nautilus” without quotes. This will
start nautilus – default window manager with root access. Now be careful, you can
delete any file on your system and your Ubuntu machine can be broken.
2. Next, go to your Linux file system
3. Find the folder that you want to change in this case choose usr/share/ and find vuze
4. right click on vuze folder and choose properties
5. Next, on on tab permissions choose: On all Folder access – create and delete files
6. Click Apply and close the window


Now you can update Vuze to the latest version.

This tutorial can be used for any Ubuntu folder and file in the system. But, again, if you don't know what you are doing don't change permissions to system files and folders!

Happy Testing...!!!

Souces :

http://www.detector-pro.com/
Read More...!!