schlitt.info - php, photography and private stuff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Author: Tobias Schlitt
:Date: Thu, 27 Nov 2008 18:00:29 +0100
:Revision: 2
:Copyright: CC by-nc-sa
============================
Set up your own PEAR channel
============================
:Description:
**UPDATE**: This guide to set up a PEAR channel server has been deprecated
by this howto, written by Greg Beaver. Anyway, the following text might
still give you a few good hints.
**UPDATE**: This guide to set up a PEAR channel server has been deprecated by
`this howto`__, written by Greg Beaver. Anyway, the following text might still
give you a few good hints.
.. __: http://greg.chiaraquartet.net/archives/123-Setting-up-your-own-PEAR-channel-with-Chiara_PEAR_Server-the-official-way.html
Another little tutorial in my little series on `PEAR 1.4`__, which has been
`released`__ gracefully a couple of hours ago in it's first alpha versions.
This time, I will give you some hints on setting up your own `PEAR channel
server`__.
.. __: /opensource/blog/0304_pear_1_4_at_the_horizon.html
.. __: http://pear.php.net/package/PEAR/download/
.. __: http://greg.chiaraquartet.net/archives/19-Its-official-pear.chiaraquartet.net-is-live.html
Btw. you can discover and use my onw little test channel (as long as I'm
online at home), using (`PEAR`__ 1.4 presumed):
.. __: http://pear.php.net/package/PEAR
pear channel-discover pear.schlitt.info
pear install -f schlitt/Services_Trackback
A working PEAR 1.4 installation presumed.
.. contents::
-------------
Preconditions
-------------
Precodinditions for the installation of PEAR_Server are the following:
- PHP 5.0.3 (or later).
- PEAR 1.4.0a2 (or later) installed.
- Access to a MySQL database.
- A full qualified domain name to run the server in a dedicated environment.
Basic info's on how to install PHP5 can be found `here`__. MySQL and a domain
name (such as pear.schlitt.info) seem to be common preconditions and need no
further introduction. The dependency to a domain name will be dropped in
future.
.. __: http://php.net/manual/en/install.php
-------
Warning
-------
**Warning**: What follows is the handling of software which is rated "alpha"
quality. NEVER use this in a production environment. Everything you do from
this point on is at your own risk.
----------------
Getting PEAR 1.4
----------------
To get an actual version of PEAR use `go-pear.org`__ (if you have no running
PEAR installation, yet) and type
.. __: http://go-pear.org/
pear clear-cache
pear upgrade PEAR
If you have problems installing this version, it maybe you have set another
preferred_state than "alpha" (of course, this is nothing wrong!). To self this
problem simple us
pear upgrade -f PEAR
which allows you to install the package even if it's not available in your
preferred state. Finishing this, you've upgraded to PEAR 1.4. Easy, wasn't
that? ;)
---------------------
Discovering a channel
---------------------
Next thing todo is discovering Gregs channel, which is located at
pear.chiaraquartet.net, because the PEAR_Server package is not officially
released, yet:
pear channel-discover pear.chiaraquartet.net
The channel.xml for this channel is automatically downloaded and the channel
is registered locally. Some more info is provided by pear list-channels and
pear channel-info chiara. As one can see here, the channel also publicated
it's shortcut (chiara) to our PEAR installer.
----------------------
Installing PEAR_Server
----------------------
Now we will go on installing the PEAR_Server package, which should work like a
charme when typing
pear install -f --alldeps PEAR_Server
if that does not work (I experienced problems with the channel and channel
name resolutions in an older version), try one of the following:
pear install -f --alldeps chiara/PEAR_Server
pear install -f --alldeps pear.chiaraquartet.net/PEAR_Server
Finishing installation, the installer will tell us, that the package
PEAR_Server has some post-install script to run. This should be done now, if
all preconditions are fulfilled (meaning a virgin MySQL database, proper
credentials for that and a virgin htdocs root):
pear run-scripts PEAR_Server
You will be asked several questions about your database, the htdocs, the
details of your channel and you as the intial administrator. If everything
works correct, the PEAR installer should create necessary tables and entries
inside the database (4 tables and some entries for the user and the channel)
and create the directory structure of your channel server below the htdocs
directory you provided. Your channel should also be registered in your PEAR
installer immediatelly.
------------------
Manual adjustments
------------------
Some adjustments have to be done to the current installation. First of all,
the creation of an index.htm is recommended in the htdocs folder, to avoid
people browsing the directory. Next is to rename the file frontend.php
(created by the installer) to any other name to avoid people accessing your
admin interface.
----------------
Adding a release
----------------
The admin interface brings us to the next steps. Open the website
http:://your.channel.domain/your_frontend_filename.php in a webbrowser, you
should get a login form. Provide your user credentials, chosen during the
installation and enter the administration of your PEAR server.
What we have to do first is register a new package. Enter the necessary info
about your package (especially the correct name) and submit the form. After
that we need edit the recently created package again. Doing this a new link
appears beside the package details form named "Manage Package Maintainers".
Here we should add ourself as the lead maintainer of the package, so we can
upload releases.
So, what we need now is a package release to upload. The release package must
fulfill the following preconditions:
- Having a package2.xml (so being build by PEAR 1.4).
- Your channel configured in the package2.xml.
I provided information on how to deal with package2.xml in my last article.
Simply replace the pear.php.net inside the tag with the URI of
your channel. Having build that package correctly, you might upload it through
the webinterface of your server.
--------------------
Testing your channel
--------------------
Congratulations, you have recently set up your own PEAR channel, which
provides the first release. :)
Testing your own channel is very easy, simply try to install the package you
recently added to the channel using:
pear install Your_Package_Name
Please note, *that package names currently seem to be casesensitive (in some
cases)*. If the shown syntax does not work, please try using one of the
following:
pear install your_channel_alias/Your_Package_Name
pear install your_channel_URI/Your_Package_Name
One of those commaned should work, if it doesn't something might be wrong with
your server or client installation.
-------
Support
-------
If you experience any difficulties while processing the above shown steps,
please first try debugging a little bit yourself using the verbose option of
the PEAR installer. Next steps for getting help should be a) emailing
`pear-general`__ and/or b) asking for help in #pear on Efnet. If you're sure
to have found a bug, please file a bug report at `pear.php.net`__.
.. __: mailto:pear-general--at--lists.php.net
.. __: http://pear.php.net/package/PEAR/bugs
..
Local Variables:
mode: rst
fill-column: 79
End:
vim: et syn=rst tw=79
Trackbacks
==========
- Services_Trackback - let your site get tracked back. on Wed, 02 Mar 2005 14:00:24 +0100 in Tobias Schlitt - Weblog
Today I called for votes in the PEAR proposal system for my new package
Services_Trackback. If you are reading this and don't know, what a trackback
is, please read the MT introduction into trackbacks or the technical specs.
The idea to Services_Trackbac
- eZ publish Enterprise Components on Tue, 02 Aug 2005 13:05:49 +0200 in Tobias Schlitt - a passion for php
eZ systems recently announced the development of eZ publish Enterprise
Components, a high quality framework for development of large scale web
applications. The Components will be extracted from eZ publish during
migration to the new version 4.0 (which al
- Mettre en place son channel PEAR on Mon, 26 Sep 2005 18:23:55 +0200 in The Kamelot Blog
original par Tobias Schlitt
Par exemple Vous pouvez "découvrir" et utiliser son propre petit channel
de test:
pear channel-discover pear.schlitt.info pear install -f
schlitt/Services_Trackback
Une installation PEAR 1.4 presumée fonctionnelle. Conditions
préliminaires
Les conditions préliminaire pour l'installation de PEAR_Server sont:
PHP 5.0.3 (ou plus récent). PEAR 1.4.0a2 (ou plus récent) installé.
Un accès a une base MySQL. Un nom de domaine valide pour faire tourner le
serveur dans un environement dédié.
Les infos de base pour installer PHP5 sont ici
MySQL le nom de domaine (tel que pear.schlitt.info) semblent des conditions
préliminaires comunes et ne nécéssitent pas d'autre introduction La
dépendance à un nom de domaine devraient être supprimée dans le
futur. Précautions
Avertissement: Ce qui suit est la manipulation du logiciel qui est
considéré en "alpha". N'employez jamais ceci dans un environnement de
production. Tout ce que que vous faites est à partir de ce moment lÃ
à votre propre risque. Récuperer PEAR 1.4
Pour récuperer la version actuelle de PEAR utilisez go-pear.org (si vous
n'avez pas encore de PEAR installé) ensuite passez les commandes
pear clear-cache pear upgrade PEAR
Si vous rencontrez un quelconque problème en installant cette version,
c'est que peut-être vous avez setté un autre preferred_state que
"alpha" (ce qui n'aurait rien d'anormal!). Pour résoudre ce problème
lancez la commande
pear upgrade -f PEAR
Ce qui vous permet d'installer le paquet même si il n'est pas disponible
dans votre preferred_state. Une fois fini, vous avez upgradé PEAR Ã
1.4. Facile, ce n'était pas? Découvrir un channel
"discover" est la commande pear pour ajouter un channel
L'étape suivante est de "découvrir" le channel de Greg, qui se trouve
...
- New PEARs for the community on Wed, 28 Sep 2005 04:00:57 +0200 in Tobias Schlitt - a passion for php
On September 20th Greg Beaver (for a longer time now the main man behind the
PEAR Installer) announced the stable release of the new PEAR Installer
Version 1.4.0. Yesterday Gerg updated the release to an even more advanced
version 1.4.1 which solves some
- Everything about Xdebug on Tue, 11 Oct 2005 17:05:51 +0200 in Welcome to the PHP Cult
So apparently the latest version of php|arch (still waiting for my september
and october issues in the mail) talks about Xdebug, a great debugger for
PHP. I’ve used it extensively for the past 2 years and I love it.
It’s always nice to see...
- Latest News on Tue, 05 Feb 2008 12:23:30 +0100 in Latest News
Latest News
Comments
========
- Greg Beaver at Sun, 27 Feb 2005 22:26:30 +0100
Note that unless you
$ pear config-set default_channel chiara
you will always need to prefix a package name with the channel as in
chiara/PEAR_Server.
If it works without this, that's a bug :)
Also, don't forget to channel-discover your own channel before you attempt
to administer in the frontend.
Another neat trick is the auto_discover configuration variable. If you set
it to 1 as in:
$ pear config-set auto_discover 1
then this will work
$ pear install pear.chiaraquartet.net/PEAR_Server
without the need of channel-discover.
However, this is disabled by default, and I would only enable it on a
private local installation for security reasons.
Greg
- Greg Beaver at Thu, 30 Mar 2006 05:52:01 +0200
I have posted an up-to-date tutorial on setting up a channel server on my
blog at
http://greg.chiaraquartet.net/archives/123-Setting-up-your-own-PEAR-channel-the-official-way.html
This supersedes all the information here.
Cheers, Greg
- Emily at Thu, 06 Jan 2011 07:34:58 +0100
jimmy choo shoes
can change a woman's personality. These Jimmy Choos have really
revolutionized footwear that you should be glad to add to your collection
– chick, cool and functional. You could not ask for more and it’s well
worth the money you spent on them. Jimmy Choo is known as models with
incredible shoes and designer bags to cool it creates. jimmy choo shoes is the
creator of shoes for Princess Diana, Queen of Denmark, Paris Hilton, Nicole
Ritchie, Natalie Umbrulia, Katie Holmes and many other celebrities. Mr. Cho
was born in Malaysia, but after graduating college in London he established
his design studio there. If you need to describe the products of Jimmy Choo
three words are: comfort, elegance, sophistication.
- emilyoo at Thu, 06 Jan 2011 07:36:11 +0100
Ladies love to wear fashionable boots especially during the winter months
and the designer
manolo blahnik outlet never disappoints when it comes to trendy
footwear.A good pair of manolo blahnik boots is a great way to keep the feet
warm and dry and with so many to choose from there are styles that will
match any personality.Madden Girl boots come in a variety of colors and
designs that are suitable for any occasion. Most of the fashion rules have
been abandoned when it comes to this type of footwear. manolo blahnik outlet
Ankle Boots were originally created to be worn with classic trousers only
but trendier styles have seen them paired with skinny jeans,skirts and even
dresses.Most women are familiar with which brands and styles they prefer. If
you’ve bought a pair of shoes that makes your toes look like some
kindergartener’s Play-Doh creation, then you’re not going to be keen on
buying from that designer again. manolo blahnik outlet Shoes Onsale.If you’re unsure
of a brand,do a little online research.There are a lot of people out there
just dying to complain about something; Google it, you’ll find them.
- emilyoo at Thu, 06 Jan 2011 07:37:06 +0100
Today, the
Christian Louboutin Outletn brand can be found in 20 eponymous
boutiques, 46 countries and in world famous department stores such as:
Sak’s, Nieman-Marcus, Barney’s, Harvey Nichol’s, and Bergdorf-Goodman.
His boutiques are magically popping up all over the globe as the spell of Christian Louboutin
Outletsweeps the world. His latest place of conjure is Jeddah, Saudi
Arabia. Located in Al Khayyat Center, this store is the perfect haven of
congregation for fashionistas who are gladly possessed by the red magic.
And, much like Louboutin’s career, we’re sure to see more boutiques,
spread throughout the Middle East, with the flick of a wand.
- jimmychooshoes at Sat, 19 Feb 2011 03:58:11 +0100
manolo blahnik
outlet Ladies love to wear fashionable boots especially during the
winter months and the designer Manolo Blahnik never disappoints when it
comes to trendy footwear.A good pair of manolo blahnik boots is a great way
to keep the feet warm and dry and with so many to choose from there are
styles that will match any personality.Madden Girl boots come in a variety
of colors and designs that are suitable for any occasion. christian louboutin outlet
christian louboutin
outlet
- shoes outlet store at Thu, 07 Apr 2011 07:22:42 +0200
To come here is not easy.It took me some time.But now I am here,I am so
happy.I think many women want to be fashionable.I also want.Christian
Louboutin outlet is very popular which offers us to buy the famous shoes.
- shoes outlet store at Thu, 07 Apr 2011 07:23:38 +0200
many women want to be fashionable.I also want.Christian Louboutin outlet is
very popular which offers us to buy the famous shoes.
- AssetsOsteona at Fri, 20 May 2011 06:20:24 +0200
We Purchase Houses With No Even-handedness,We Bribe Any Houses,We peculate
Floor Payments.Please close form on http://www.cashsellfast.com and get
tender in 48 hours or invite us 410-978-7981,entertain refer to friends who
needfulness help.Bless lifetime!
Acclaim Landlords and Rehabbers: If you are a serious investor buying at
least inseparable descendants per thirteen weeks after rental or rehab, then
you are in the healthy situation right now. http://www.renewreality.com.
Proprietress Financing May Be The Occult Colloidal suspension Learn How To
Own A Domestic Without Dealing With A Bank! Chance The Horrific Actuality
About Renting & Why It May Be Setting You Back Financially??¦ Get better
Insider Secrets on How Owner Financing Honestly Works
http://www.reimatcher.com/Baltimore/Reality_properties/sp1.
Be in want of Fresh Start? We can help.Painting ensemble can paint your
homestead within desired time shape, in colors of your realm of
possibilities with master discounts with a view paints,with admissible not
later than client quality. Objective
prices,references,certify,bond,insuranse.For pictures of your works suit
stopover http://www.renewhouse4u.com.
- Bloowmelcofot at Sun, 22 May 2011 13:40:08 +0200
http://ledlenserh7headlamp.blogspot.com/ - Led Lenser H7
http://radleybagssale.blogspot.com/ - Radley Bags Sale
http://bouquetdeliverydiscounts.blogspot.com/ - cookie arrangements