Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Could someone makes bash script to install NginX PHP-FPM & MySQL+Wordpress
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Could someone makes bash script to install NginX PHP-FPM & MySQL+Wordpress

inklightinklight Member
edited March 2015 in Help

Hi
I repeat this steps every time I create new VPS to install NginX PHP-FPM & MySQL+Wordpress

since I have many sites and many VPS it become really annoying an time intensive process
I don't know how to create Bash .sh script so I collect All steps in one file here

http://pastebin.com/raw.php?i=XLRGNjcf

I know there is bash script on LEB but it didn't work anymore . and I can't find it link . BTW my distribute is debian 7 32bit .

Solution I found

miki said: Here it is - https://rtcamp.com/easyengine/

BBTN said: I actually use https://github.com/Xeoncross/lowendscript which works fine on Debian 7.8.

Pyr02k1 said: Could always try https://github.com/lj2007331/lnmp if you're feeling nifty. , but you'll have to do the wordpress part yourself

Sady said: I use centminmod & then a custom WP setup script which I can share here if anyone need

Comments

  • 4n0nx4n0nx Member

    just make #!/bin/bash the first line, then chmod +x the file, then ./filename.sh . done.

    Thanked by 1OnraHost
  • @4n0nx said:
    just make #!/bin/bash the first line, then chmod +x the file, then ./filename.sh . done.

  • LeeLee Veteran

    He is asking for help, if you can't or won't then there is no need to post.

    Thanked by 1BuyAds
  • @Lee said:
    He is asking for help, if you can't or won't then there is no need to post.

    Not to go against you...but I would consider listing the 3 easy steps to create the script "help" as much as anything else. I mean he's even learning which is more valuable then anybody doing something for you.

    Thanked by 1PremiumN
  • rokokrokok Member

    well, he asking help for long-time-wasting code for his personal needs only.

    why not try modifying other bash

    or

    hire someone :)

  • LeeLee Veteran

    OnraHost said: Not to go against you

    I was referring to the now deleted posts which you probably did not see.

    Thanked by 2OnraHost netomx
  • @Lee said:

    Well then my complete apologies!! :/

  • inklightinklight Member
    edited March 2015

    rokok said: well, he asking help for long-time-wasting code for his personal needs only. why not try modifying other bash

    OK I see alot of script that's not working with debian . and If someone had created such codes it wont be to personal needs it well be for everyone one here or outside .
    I didn't try to be selfish or lazy but I have alot of thing to do daily .
    three months ago I was know nothing about running any Linux VPS and now I have 5 VPS running without issue .
    Anyway I know I'll find solution in few days if I focus on it and I'll share it here .

    4n0nx said: just make #!/bin/bash the first line, then chmod +x the file, then ./filename.sh . done

    That's what I was thinking on but some commends need condition and every steps could not joined in single file without commend parameters like

    mybas.sh install-all
    mybas.sh create  example.com
    mybas.sh wordpress example.com
    mybas.sh mysql user pass
    
  • BBTNBBTN Member
    edited March 2015

    I actually use https://github.com/Xeoncross/lowendscript
    which works fine on Debian 7.8.

    Ok, I see that's not exactly what you're looking for. Sorry.

  • Could always try https://github.com/lj2007331/lnmp if you're feeling nifty. Looks like it'll do the rewrite rules for you, but you'll have to do the wordpress part yourself. Haven't used it, so I make no claims to reliability or quality, but it's being actively developed.

  • teppeikunteppeikun Member
    edited March 2015

    you can try VPSSIM, works on Centos 6 & 7.
    http://vpssim.com

    Use function Add website + Code blog to add website and wordpress code very fast.

  • SadySady Member

    I use centminmod & then a custom WP setup script which I can share here if anyone need.

  • @Sady said:
    I use centminmod & then a custom WP setup script which I can share here if anyone need.

    I was just about to mention that.

    +1 for CentMinMod

  • mikimiki Member
    Thanked by 1obh_ridwan
  • Thank you, i will use it , it's a great stuff.

  • spammyspammy Member
    edited March 2015

    @Lee said:
    He is asking for help, if you can't or won't then there is no need to post.

    I am curious to know why my post was deleted since there is no less than 5 different packages that have been created and/or surfaced on LET before on the automated Nginx + PHP + Wordpress install and all OP need to do is to Google them.

    http://bit.ly/1wLFdEe

    I understand the community is here to help and I appreciate it, however if people have to ask about what 1+1 is because they are too "busy" to figure it out, then may be they'll have more issues to figure out later on when using their VPS. Didn't mean to troll nor spam (although my forum name tend to suggest otherwise).

    Plus, there is a tonne of threads here posted that are not necessarily meaningful, and yet managed to stay on the LET board forever.

  • you Didn't get the point I was asking for bash script for whole boring install process I been done here . instead of taking hours repeating all steps again .

    • I was facing issues with LEB script not installed correctly and some tweaks I didn't use . and I'm not a personal who don't do simple search on G as you suggested I have bookmarked many Linux severs tutorials so I can get to it back when I need to .

    plus I'm not native English speakers and learn it my self so sometimes I face issue to understand some complex tutorials . Last Sorry for wasting your valuable time .

    Thanked by 1vpsGOD
  • mikhomikho Member, Host Rep

    Can't see any saved links for lowendguide. Now I feel sad. :(

    Thanked by 1netomx
  • @inklight said:
    plus I'm not native English speakers and learn it my self so sometimes I face issue to understand some complex tutorials . Last Sorry for wasting your valuable time .

    Was referring to this line:

    I know there is bash script on LEB but it didn't work anymore . and I can't find it link .

    Clearly you could have searched for that script. Information got lost when mods are just deleting my posts because they don't like something I said.

  • 4n0nx4n0nx Member

    inklight said: That's what I was thinking on but some commends need condition and every steps could not joined in single file without commend parameters like

    ./setup.sh mysqluser mysqlpass example.org
    muser=$1
    mpass=$2
    domain=$3

    then just use the variables in your script. :)

  • mikho said: Can't see any saved links for lowendguide

    I added it to my bookmarks thanks for mention it .

    OK thank you all guys for help you give me alot of choices to use looks like I didn't do deep search as spammy said to find all this working active scripts I hope it help others .

Sign In or Register to comment.