Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: stephen noble on April 23, 2006, 02:01:50 AM

Title: [Announce] smeserver-wordpress
Post by: stephen noble on April 23, 2006, 02:01:50 AM
wordpress.org
WordPress is a state-of-the-art semantic personal publishing platform with a
focus on aesthetics, web standards, and usability.

While you could just unzip wordpress into a html directory of an ibay
these rpms follow the method advised in the sme devguide

Comments/bugs and the rpms during testing available at bugzilla
http://bugs.contribs.org/show_bug.cgi?id=1298

Regards
dungog.net/sme
Title: Re: [Announce] smeserver-wordpress
Post by: cactus on April 23, 2006, 11:05:48 AM
Quote from: "snoble"
wordpress.org
WordPress is a state-of-the-art semantic personal publishing platform with a
focus on aesthetics, web standards, and usability.

While you could just unzip wordpress into a html directory of an ibay
these rpms follow the method advised in the sme devguide

Comments/bugs and the rpms during testing available at bugzilla
http://bugs.contribs.org/show_bug.cgi?id=1298

Regards
dungog.net/sme


As I already have wordpress running in an i-bay, is there an easy way for installing it by the RPM and moving the current blog data to the new install?
Title: [Announce] smeserver-wordpress
Post by: stephen noble on April 23, 2006, 12:38:52 PM
possible answer here
http://bugs.contribs.org/show_bug.cgi?id=1298
Title: congrats also embeded wpg2 gallery2
Post by: stiperstones on May 01, 2006, 07:50:59 PM
Well this rpm is superb it installed with ease following the instructions

Then enbeded gallery2 into it very easily following the instructions from here

http://wpg2.ozgreg.com/index.php/Main_Page

only one thing different install gallery2 folder into the root of wordpress folder

only thing to do is to get http://www.stiperstones.com/wordpress

to http://www.stiperstones.com
Title: Re: [Announce] smeserver-wordpress
Post by: CharlieBrady on May 01, 2006, 11:53:53 PM
Quote from: "snoble"

WordPress is a state-of-the-art semantic personal publishing platform with a
focus on aesthetics, web standards, and usability.


... and buzzwords. :-)

Thanks Stephen.
Title: [Announce] smeserver-wordpress
Post by: stephen noble on May 02, 2006, 11:45:04 AM
> only thing to do is to get http://www.stiperstones/wordpress

it a good question, and I don't know the best way

one way is a html redirect of /html/index.htm
see http://billstclair.com/html-redirect2.html
eg URL=wordpress ?

another way is with an apache redirect
not sure of the detail
Title: [Announce] smeserver-wordpress
Post by: arnoldob on May 14, 2006, 05:14:00 PM
Siperstones, did you ever get WPG2 to work with the URL rewite features in WP and G2?
Title: [Announce] smeserver-wordpress
Post by: stiperstones on May 14, 2006, 10:11:57 PM
arnoldob
No not has of yet have not even tried will have a go possibly this week time permitting.
Title: [Announce] smeserver-wordpress
Post by: kmccarn on May 18, 2006, 01:46:33 PM
Thanks again Stephen - good work.

I was able to modify the yum repositry (mentioned elsewhere) and used the syntax:

yum --enablerepo=dungog install wordpress smeserver-wordpress

And it worked great.

http://sme7.sierracorp.us/wordpress

 :-D
Title: [Announce] smeserver-wordpress
Post by: jameswilson on February 25, 2007, 10:31:40 PM
hi, i have added this contrib and it has installed fine but if i enable the permalinks to anything but default it fails to load pages?

any clues here lads?
Title: [Announce] smeserver-wordpress
Post by: drfresh on May 18, 2007, 06:51:00 PM
Don't know if it's the right place to ask. But I found this (WordPress) contrib on dungogs site and I would like to install it in an ibay. Can't figure out how?

I would also like it to be posibble to address it using something like blog.mysite.com, but it should't show up when I address mysite.com. Can I do that? And if, how?

Sorry I'm not very experienced in this...  :oops:

Thanks in advance
Title: [Announce] smeserver-wordpress
Post by: cjensen on May 18, 2007, 07:27:58 PM
Read the specs on Stephen's site.  I believe your answers are there, and in previous posts above ;-)

Craig
Title: [Announce] smeserver-wordpress
Post by: drfresh on May 18, 2007, 08:04:21 PM
Sorry - who is Stephen? I really can't see the answer above??
Title: [Announce] smeserver-wordpress
Post by: cjensen on May 19, 2007, 03:19:24 AM
 Stephen Noble, the package author (http://dungog.net/sme/webapp.php)

Craig
Title: [Announce] smeserver-wordpress
Post by: skydivers on May 19, 2007, 10:42:47 AM
Quote from: "drfresh"
Don't know if it's the right place to ask. But I found this (WordPress) contrib on dungogs site and I would like to install it in an ibay. Can't figure out how?


The dungog contrib doesn't install wordpress in an ibay but in /opt
Title: [Announce] smeserver-wordpress
Post by: drfresh on May 19, 2007, 11:42:47 AM
YES! But can I point to that anyway in the way I want?
Title: [Announce] smeserver-wordpress
Post by: skydivers on May 19, 2007, 11:48:25 AM
Quote from: "drfresh"
YES! But can I point to that anyway in the way I want?


Never did it myself but here:

http://forums.contribs.org/index.php?topic=35553.0

there are some solutions from william_syd (its for joomla, but same for wordpress)

Try to create a new domain (eg blog.mysite.com, should normally work) which points to an ibay, let's say wordpressibay and then try to do what william_syd said in that topic.

Good luck!
Title: [Announce] smeserver-wordpress
Post by: drfresh on May 19, 2007, 08:02:03 PM
Thanks! Will try that.
Title: [Announce] smeserver-wordpress
Post by: haymann on July 24, 2007, 10:55:31 PM
Did you have any luck? I want to do something similar.

I have read the domain section (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13) in the manual, but I still don't get it... For hosting another website on the server, what is the point of adding a domain in server-manager if you have to change your DNS records w/ your ISP anyway? For example why would I add the domain blog.mysite.com to server manager, point it to an ibay named blog, and then go to GoDaddy and add a subdomain with the same name. To me it seems easier to go to GoDaddy and create a subdomain called blog.mysite.com and point it to myspot.com/blog. I am guessing there is a reason, but I don't get it... I can see if you were wanting to get email from a different domain name, that you would want to do something like this though...

Also I added a vote to bug 2460 (http://bugs.contribs.org/show_bug.cgi?id=2460) to add the option to point a domain to a location other than an ibay (like /opt/...). That seems like it would be a better solution than to point to an almost empty ibay. I haven't had time to play with redirection yet, but I don't want my users to navigate to www.mysite.com and be redirected to www.mysite.com/blog if the /blog shows up in the address.
Thanks,
Ryan
Title: [Announce] smeserver-wordpress
Post by: haymann on July 25, 2007, 11:05:22 PM
Quote from: "skydivers"
Quote from: "drfresh"
YES! But can I point to that anyway in the way I want?


Never did it myself but here:

http://forums.contribs.org/index.php?topic=35553.0

there are some solutions from william_syd (its for joomla, but same for wordpress)
I followed the symlink instructions instead of creating an extra ibay (kind of anal I know... I just didn't want to see another one...). The steps worked great for me. And I was very presently surprised to see that the url in the browser just shows www.mysite.com not www.mysite.com/wordpress like I thought it would...

Thanks snoble for the contrib and thanks william_syd for the symlink advice. Now to look into why permalinks aren't working right.:)
Ryan
Title: [Announce] smeserver-wordpress
Post by: haymann on July 26, 2007, 10:18:51 PM
Is there any way to change the name of the directory this is installed in? I would prefer something like /opt/home. Even though the tips supplied by william_syd allow wordpress to show as my main page, when you navigate through the site, the url will change to mysite.com/wordpress. I would rather it didn't do that at all, but if it has too I would rather see something like mysite.com/home. I tried
Code: [Select]
config setprop wordpress domain home.mysite.com and setting a hostname in server-manager for home as well, but that doesn't work either, at least not over the internet. I might be able to try locally later...

Any tips?
Ryan
Title: [Announce] smeserver-wordpress
Post by: haymann on July 27, 2007, 10:34:14 PM
OK, here is what I have found so far. Following the steps laid out by william_syd to use symlinks to the Primary ibay should be done before you launch your WP page. Then when you go to mysite.com your WP setup page is there and you will not see the /wordpress at the end of your url. (This is mentioned by snoble in his howto b-t-w, but I didn't understand that it applied if you were using symlinks to your primary ibay...) If you have already launched the site, I think that you can go into the admin section and go to options and change both urls to be http://www.mysite.com, I haven't tried that, but I think it will work.

Now I installed SimpleMachinesForum to /opt/wordpress/forum and it runs fine, but when I try to install a bridge between the two products I get the following error
Quote
Warning: main(): open_basedir restriction in effect. File(smf_api_1.1.php) is not within the allowed path(s): (/opt/wordpress/:/tmp) in /opt/wordpress/wp-content/plugins/WP_SMF/wp_smf.php on line 385

Fatal error: Can't load smf_api_1.1.php, open_basedir restriction. in /opt/wordpress/wp-content/plugins/WP_SMF/wp_smf.php on line 385
smf_api_1.1.php and wp_smf.php are in the same directory (/opt/wordpress/wp-content/plugins/WP_SMF). I just don't know exactly what to do from here. Is this because I am using symlinks to Primary? If so would modifying
Code: [Select]
db accounts setprop Primary PHPBaseDir /opt/wordpress/:/tmp do me any good? If I understand correctly that lets the Primary ibay have access to /opt/wordpress and /tmp? Do I have to give it access to /opt/wordpress/wp-content/plugins/WP_SMF?

The php files for the bridge can be downloaded from here (http://downloads.wordpress.org/plugin/wp-smf-a-simplemachines-bridge.zip) if you want to look at the code...

Thanks, I appreciate any insight you might have.
Ryan
Title: [Announce] smeserver-wordpress
Post by: haymann on July 28, 2007, 03:09:46 PM
I can get the page to display if I do this
Code: [Select]
db accounts setprop Primary PHPBaseDir noneCan someone tell me what the security ramifications of this would be? Is this letting the script have access to my entire system?
I have tried setting the PHPBaseDir to /opt, /opt/wordpress/forum, /opt/wordpress/wp-content/plugins/WP_SMF and none have worked. Doesn't make sense to me, it looks to me like the file is located in an allowed path already...
Ryan
Title: [Announce] smeserver-wordpress
Post by: william_syd on July 28, 2007, 04:17:45 PM
Quote from: "skydivers"
Quote from: "drfresh"
YES! But can I point to that anyway in the way I want?


Never did it myself but here:

http://forums.contribs.org/index.php?topic=35553.0

there are some solutions from william_syd (its for joomla, but same for wordpress)

Try to create a new domain (eg blog.mysite.com, should normally work) which points to an ibay, let's say wordpressibay and then try to do what william_syd said in that topic.

Good luck!


That was just me rambling on.

Search the wiki for wordpress. Snoble has made it very easy to use any domain or url. It's built into the rpm. READ the wiki.
Title: [Announce] smeserver-wordpress
Post by: haymann on July 31, 2007, 09:44:12 PM
Quote from: "william_syd"
Search the wiki for wordpress. Snoble has made it very easy to use any domain or url. It's built into the rpm. READ the wiki.
Well if you are referring to this section of the wiki
Quote
   *  To add a different URL eg. yourserver.net/wordpress

note, this adds another url, it doesn't remove the default

config setprop wordpress URL blog

    * To run wordpress from the root of a domain eg.

wordpress.yourserver.net or
domain2.org

config setprop wordpress domain wordpress.yourserver.org OR
config setprop wordpress domain domain2.org

In /server-manager Hostnames and Addressess setup eg. wordpress as a hostname on one of you domains or
in Domains setup a new domain eg. domain2.org, wordpress will overrule the panel setting
then I guess my skull is too think to understand how to set it up so that the WP page loads as my main page (i.e. www.mysite.com). I understand that I can change from mysite.com/worpress to mysite.com/blog or something similar. And I understand that I can change to something like wordpress.mysite.com (although I have never gotten that to work right... :? ). And I don't understand the last step of creating a new domain at all. Maybe that will somehow let me access the WP site at mysite.com or maybe I have to buy another domain and Wp will show at mysite2.com... I just don't understand :?

No matter though, the symlink solution is working great for me and I am happy with it. You might have been rambling on, but I like it.

As far as the PHPBaseDir issue goes, forget about it. I mentioned it to the fine person that wrote the WordPress to Simple Machines Forum bridge and they modified the code for those of us that run servers that aren't so wide open. It is working great. I didn't expect anyone here to have a specific answer about that plugin, I just thought that those familiar with the WP contrib could suggest something that I don't know to look for.
Ryan
Title: [Announce] smeserver-wordpress
Post by: stephen noble on August 01, 2007, 02:15:22 AM
> (although I have never gotten that to work right...

then it's a bug in the rpm or the documentation needs to be clearer

NB.
wordpress.foo.com needs you to setup your dns correctly