Koozali.org: home of the SME Server

Symlinks

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #15 on: October 07, 2008, 06:28:06 PM »
ok

well.. if you want to use SME, you should find the time to understand how it works.. templating system is easy as 1,2,3 if you read this:http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates

and the time needed is.. less than 15 minutes

I don't subscribe this point of view (Cit. :-))

I repeat: read the dev manual (link above) and  retry.. You'll find that you can create your "own" server easily..

my 2c

Ciao
Stefano

That does not look like 15 minutes of reading to me.  Maybe you're just a faster reader than I am.  Maybe the templates system is less intuitive to me than you.  Whatever the case, just skimming it took more than 15 minutes, and I didn't derive the answer in that time.

Sorry, I just don't have the time to become an expert in SME or SME templates.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Symlinks
« Reply #16 on: October 07, 2008, 06:48:54 PM »
Sorry, I just don't have the time to become an expert in SME or SME templates.
Anw we do not have the time to do all your work. It seems you bit off more than you can chew. If you want to support (clients using) SME Server systems you should make yourself familiar with it's internal architecture and stop expecting the people in the forums to supply perfect solutions to your problems.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #17 on: October 07, 2008, 06:51:26 PM »
Anw we do not have the time to do all your work. It seems you bit off more than you can chew. If you want to support (clients using) SME Server systems you should make yourself familiar with it's internal architecture and stop expecting the people in the forums to supply perfect solutions to your problems.

This is one of our own internal boxes.

Thank you for your polite and helpful reply.  Thank you for your advice.  Always good to talk with friendly folks like yourself.
« Last Edit: October 07, 2008, 06:53:03 PM by ltwally »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Symlinks
« Reply #18 on: October 07, 2008, 07:00:59 PM »
This is one of our own internal boxes.

Thank you for your polite and helpful reply.  Thank you for your advice.  Always good to talk with friendly folks like yourself.
I have given you advice on different matters in the forums, but you seem not to want to invest in your knowledge yourself as you complain over and over that you do not want to read the documentation.
Most if not all of the users have come to the forums with questions they could have easily found, however only a few of them are not satisfied with pointers to appropriate documentation and show unwillingness to try and understand it. I am more than willing to help you, but you should at least read the documentation and try and understand it as I see no use of retyping the documentation in the forums, as it available to you (and others).

If you have questions after reading the documentation or things are unclear ask specific questions and you will most likely get a short and prompt reply, from me or the other experts available in the forums, with a proper answer to your question which will help you further (at least one step).

If you keep acting like this I think I will not be the only forum reader, let alone SME Server expert, that is not even going to bother reading any of your posts, which in the end will not help you at all.

So once again my advice: Read http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates even if it takes you a day.

Oh and BTW my signature is not there for fun only...
« Last Edit: October 07, 2008, 07:05:11 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #19 on: October 07, 2008, 07:14:44 PM »
I have given you advice on different matters in the forums, but you seem not to want to invest in your knowledge yourself as you complain over and over that you do not want to read the documentation.
Most if not all of the users have come to the forums with questions they could have easily found, however only a few of them are not satisfied with pointers to appropriate documentation and show unwillingness to try and understand it. I am more than willing to help you, but you should at least read the documentation and try and understand it as I see no use of retyping the documentation in the forums, as it available to you (and others).

If you have questions after reading the documentation or things are unclear ask specific questions and you will most likely get a short and prompt reply, from me or the other experts available in the forums, with a proper answer to your question which will help you further (at least one step).

If you keep acting like this I think I will not be the only forum reader, let alone SME Server expert, that is not even going to bother reading any of your posts, which in the end will not help you at all.

So once again my advice: Read http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Configuration_file_templates even if it takes you a day.

Oh and BTW my signature is not there for fun only...

It's a difference in goals and philosophies, I suppose.  The folks in charge here seem to strongly mirror the linux style of "advice."  Which is always, RTFM.  Sure, you said it more politely....

But in the end, lots of people don't have the time to RTFM.  I'm sorry if that bothers you.  We only have one SME box in-house, and I don't have the time or energy to become an expert.  Every now and again, I have a specific problem and come looking for a specific answer.

To those people willing to at least try and give me a specific answer to that specific problem:  I'm very appreciative.

But the manuals... well, I'm not attacking you personally, as I see you're a member of the documentation team... but reading the manuals is just flat-out a lot more time and effort than I have to spend.

So, I take the route that gives me the answer I need in the quickest amount of time.

In this case, I ended up doing it the stock Apache way.  Becuase the SME-way was just flat-out too time consuming.

If I have to become an expert just to warrant a specific answer from you or many others on this forum.... well, you can just not give me help when I ask.  If that's what makes you happier.

Cheers,
-ltwally

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Symlinks
« Reply #20 on: October 07, 2008, 07:20:19 PM »
But the manuals... well, I'm not attacking you personally, as I see you're a member of the documentation team... but reading the manuals is just flat-out a lot more time and effort than I have to spend.
I won't. If you have suggestions on how to improve them: let me know, please.
So, I take the route that gives me the answer I need in the quickest amount of time.

In this case, I ended up doing it the stock Apache way.  Becuase the SME-way was just flat-out too time consuming.
You will bite yourself in the tail as if you change parameters and the httpd.conf template is regenarated your changes will be lost and you will be left wondering why, because the template system is inplace. Just so you know and do not need to wonder... :-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #21 on: October 07, 2008, 07:20:25 PM »
ps.  If you ever have a manual entry where it simply says, "do these commands here to achieve the desired result", that is what people like me need.

I'm looking for a simple answer.  A cheat-sheet, if you will.

Whereas the SME approach to documentation is more like a college text book designed to teach you all of SME.  Just picking out the answer to one thing isn't possible - you have to learn far more.  And, that's great... if that's your goal.

I don't get paid to be an SME expert, though.

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #22 on: October 07, 2008, 07:22:55 PM »
You will bite yourself in the tail as if you change parameters and the httpd.conf template is regenarated your changes will be lost and you will be left wondering why, because the template system is inplace. Just so you know and do not need to wonder... :-)


Yup. I've got several customizations in httpd.conf, and other places.

Sure, it sucks having to redo them when I mess with the server-manager.... but I do that very rarely.  In the end, it's quicker and easier to not learn the SME-way.

What a fella like me needs is not an education in SME, but rather a series of how-to's for specific problems.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Symlinks
« Reply #23 on: October 07, 2008, 07:23:40 PM »
I'm looking for a simple answer.  A cheat-sheet, if you will.

Whereas the SME approach to documentation is more like a college text book designed to teach you all of SME.  Just picking out the answer to one thing isn't possible - you have to learn far more.  And, that's great... if that's your goal.
There are a lot of howto's in the wiki, perhaps one of them is covering your problem, if not please post your findings in a howto when you succeed. BTW you did read my suggestion to simply solve the issue in one of my earliest posts?

I don't get paid to be an SME expert, and I'd certainly rather persue other things in my own time.
Me neither, I work in radiotherapie, a whole different ball game.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Symlinks
« Reply #24 on: October 07, 2008, 07:24:02 PM »
Quote
I don't get paid to be an SME expert, though.
neither do most of the rest of us.  8)

A server is not free. Even if the software doesn't cost you anything.

Windows=$$$
Open Source = Time

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Symlinks
« Reply #25 on: October 07, 2008, 07:26:35 PM »
Sure, it sucks having to redo them when I mess with the server-manager.... but I do that very rarely.  In the end, it's quicker and easier to not learn the SME-way.
I doubt that... I have read the docs (long a go for the first time and still use them), once you have read them and know your way around they truly are a well off knowledge. If you are willing to customize your system I truly think you should read and try to understand the templating system as it is the core of SME Server.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #26 on: October 07, 2008, 07:33:07 PM »
There are a lot of howto's in the wiki, perhaps one of them is covering your problem, if not please post your findings in a howto when you succeed. BTW you did read my suggestion to simply solve the issue in one of my earliest posts?

If you're refering to:
Quote
If you really want to expose the files location to the web you will need to create a custom-template fragment. The permissions are defined in the following file: 90e-smithAccess40ibays, you need to create the same directory structure in the templates-custom tree and copy the file in there and make modifications to this copy. More information on the template system can be found in the SME Server Developers Guide which can be found in the wiki.

I spent a while looking for that file in /etc/rc.d/......  and did not find it.  I did a search for "e-smithAccess" in the developers guide, without any results.  After that, I quit on that.  Because what I really am looking for is a very specific answer.  A how-to.

It may be simple to someone with loads of SME knowledge.  That is not me, and, once again, I simply don't have the time, energy or desire to become an SME expert.  So if there isn't a cheat-sheet answer... I go with what I already know about Apache, and just edit the httpd.conf file.  Because that works, and I could do it without having to read 20 pages of documentation.


Offline ltwally

  • ****
  • 108
  • +0/-0
Re: Symlinks
« Reply #27 on: October 07, 2008, 07:35:48 PM »
I doubt that... I have read the docs (long a go for the first time and still use them), once you have read them and know your way around they truly are a well off knowledge. If you are willing to customize your system I truly think you should read and try to understand the templating system as it is the core of SME Server.

I have so many different systems that I have to manage... I get told to RTFM on a regular basis.  But I don't have the time to RTFM and become an expert for 20 different OS's.  I just have the time to learn the basics and then find time when a specific issue crops up.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Symlinks
« Reply #28 on: October 07, 2008, 09:24:00 PM »
I spent a while looking for that file in /etc/rc.d/......  and did not find it.  I did a search for "e-smithAccess" in the developers guide, without any results.  After that, I quit on that.  Because what I really am looking for is a very specific answer.  A how-to.

Code: [Select]
[root@fileserver /]# find -iname 90e-smith*
./etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess10icons
./etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
./etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess00
./etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20password
./etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager
./etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common
./etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15brand

now, please, instead of spending minutes to defend your position and your bad attitude and lazyness, search for templates in the forums.. and you'll find the answer

Stefano

Offline electroman00

  • *****
  • 491
  • +0/-0
Re: Symlinks
« Reply #29 on: October 07, 2008, 10:26:47 PM »
ltwally

Modindex will accomplish what your after.

Also has some nice features, so read the instructions.

Here's a little script that will install modindex for ya, paste it as /tmp/modindex.sh

set the perms to 750 on modindex.sh

Run with
Code: [Select]
./modindex.sh
Code: [Select]
#!/bin/sh

 # ========= Software Install ===================
 # Website_info = http://www.schirrms.net
 
 f_files_root="modindex"
 f_path="/tmp/$files_root/install"
 url_rpm="http://www.schirrms.net/files/"
 f_rpm="smeserver-modindex-0.0.6-01.noarch.rpm"
 f_srpm="smeserver-modindex-0.0.6-01.src.rpm"
 
 clear

 echo "===== Downloading & Installing  modindex....."

 # mod_perl is required by modindex so we check if installed

 echo "===== Check installed --- mod_perl"
 rpm -q mod_perl
 
  # create & change to install directory if not exists
 
  if [ ! -d $f_path ]; then
 echo "===== MKDIR >>" $f_path
 mkdir -p $f_path
 fi
 echo "===== CD >>" $f_path
 cd $f_path
 
  # wget source rpm if not exists
 
 f_dl=$f_path/$f_srpm

 if [ ! -f $f_dl ]; then
  echo "===== Downloading >> $f_srpm"
  wget $url_rpm$f_srpm
  echo "===== Download completed... >> $f_srpm"
 else
  echo "===== File already Downloaded... >> $f_srpm"
 fi

 # wget rpm if not exists
 
 f_dl=$f_path/$f_rpm

 if [ ! -f $f_dl ]; then
  echo "===== Downloading >> $f_rpm"
  wget $url_rpm$f_rpm
#wget $url_rpm$f_deps
  echo "===== Download completed... >> $f_rpm"
 else
  echo "===== File already Downloaded... >> $f_rpm"
 fi
 
 echo "===== yum localinstall modindex"
 yum localinstall $f_rpm

 echo " "
 echo "===== Install $f_rpm complete....."