Linux / UNIX Tech Support Forum
This is a discussion on Automate PHPBB Bulletin Board install via script within the Getting started tutorials forums, part of the Linux Getting Started category; Guys, At my job we offer phpbb as a free forum if the client is interested. Well to my surprise ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| The Following User Says Thank You to jaysunn For This Useful Post: | ||
vamsi (02-01-2010)
| ||
| Sponsored Links | ||
|
|
|
||||
|
Nice script. Can you modify it a bit:
Store all path in vars Code:
clientname="$1" wwr="/export/home/phpuser/phpbb" path="$wwr/$clientname" Quote:
Code:
chown -R nobody:ftpusers $path/{files,store,styles,images,cache}
Code:
chown -R nobody:ftpusers $path/
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
| The Following User Says Thank You to rockdalinux For This Useful Post: | ||
jaysunn (01-01-2010)
| ||
|
||||
|
Quote:
Sweet work on the curly braces. I know that this kind of usage has tremendous power. However I am still trying to grasp it. Thanks for the insight. Jaysunn |
|
||||
|
sorry for double posting..but when I execute this
I get Please give client name there's no input field.. btw running on Ubuntu edit after having a look at this. here is the code I have written PHP Code:
__________________
Last edited by vamsi; 06-01-2010 at 12:02 AM. |
|
||||
|
Hi Vamsi,
Are you using the snippet from my script up above? Code:
clientname=$1 if [ -e $clientname ] ; then echo "Please give client name" ; exit; fi You need to run the script as follows: Code:
Prompt>./script clientname Hope this makes sense. Jaysunn |
![]() |
| Tags |
| install phpbb script , phpbb , shell |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automate drac/ilo reboot | Clinton | Shell scripting | 2 | 27-11-2009 03:36 PM |
| shell script to automate a process that uses executable file | Gtolis | Shell scripting | 6 | 15-10-2009 08:28 PM |
| Script for backup and automate it | skumar704 | Shell scripting | 2 | 11-05-2009 10:53 PM |
| script to automate download and rename | wademac | Shell scripting | 0 | 14-04-2008 11:51 PM |
| AUDIO CAPTURE PROBLEM ON ARM PB926EJ-s board, Audio couldn't capture on the ARM Board | fazlur | Linux hardware | 0 | 05-09-2007 05:04 PM |