Script to auto Install : Apache,MySQL,Php,PhpMyAdmin,Kubuntu-Desktop, Wordpress,SSL on Ubuntu Server

1. May I know which putty file should I download as a Mac user?
2. Once I have installed WP on the VPS, how can I add more databases?

Thanks for your share and help to us, mortal ignorants.

.

Welcome

as like @wild1 said you can use MacOS terminal to do that
Open Terminal -> Go to Shell ->New Remote Connection.
Tutorial : www.youtube.com/watch?v=J_8ZsXP1EYk

OR

If you already have the brew command installed. Install putty in MacOS through below command

Code:
sudo brew install putty

For more info about this please read this TUTORIAL : https://www.ssh.com/ssh/putty/mac/

Regards
 
Last edited:
sorry!
my bad , I skip that line of pressing ESC button. hmmm... I cant believe I missed that :p

anyway good work :)

That 'VIM' command thing was the alternative of downloading the script through 'wget'

since now you have the .sh script in your system, all you have to run another 2 commands : chmod +x mediabots_ui.sh && ./mediabots_ui.sh

see here : https://github.com/mediabots/ubuntu_-_lamp-kubuntu_desktop-wordpress-ssl

also don't forget to watch the Youtube Demo : https://bit.ly/Shell-Ubuntu

it will be helpful once script executed

Regards
You don't have to buddy. We all know how helpful you've been trying to be all the way since you posted this to the community. Which we do appreciate a lot.
Anyway, it worked but seems that i did something wrong so it didn't let me pick up wordpress_db and stuff. It literally started installation when i typed "clear". lol.
Here's what it shown to me :
JKSJ6gi

And this is what it shown at the end of installation:
uw6flAn

So looks like the script is installed but no domain is conigured.
Do i reinstall the server and try again? Or can i just add my domain name manually.
 
Anyway, it worked but seems that i did something wrong so it didn't let me pick up wordpress_db and stuff. It literally started installation when i typed "clear". lol.
So looks like the script is installed but no domain is conigured.
Do i reinstall the server and try again? Or can i just add my domain name manually.

manually , its much more complex

Better reinstall your OS (Ubuntu) and start with fresh script installation.

Anyway, bit wonder, why you are getting input options with out any line break!!

it supposed to be displayed or ordered like this
69QhirK


in case, you did not get input option like above. And if you could not enter proper inputs, then script would not be able to host your site.

REMEMBER:-
once you executed the script, any linux commands such as vim, clear , ls would not work any more.
max you can press CTRL+C button from your keyboard to halt.

Anyway, later I would try a VPS from https://www.vultr.com I had account there, but did not login for long!

Regards
 
manually , its much more complex

Better reinstall your OS (Ubuntu) and start with fresh script installation.

Anyway, bit wonder, why you are getting input options with out any line break!!

it supposed to be displayed or ordered like this
69QhirK


in case, you did not get input option like above. And if you could not enter proper inputs, then script would not be able to host your site.

REMEMBER:-
once you executed the script, any linux commands such as vim, clear , ls would not work any more.
max you can press CTRL+C button from your keyboard to halt.

Anyway, later I would try a VPS from https://www.vultr.com I had account there, but did not login for long!

Regards
I see. Any idea why the lines won't show in order?
 
I see. Any idea why the lines won't show in order?


may be something happened while you copy pasted in VIM

so this time use below command to download the script
Code:
wget https://mediabots.ml/mediabots_ui.sh

see , if it can be downloaded, because last time github link did not work for your IPv6 VPS.

If it still not, try to add a IPv4 in your VPS and then try.

Regards
 
may be something happened while you copy pasted in VIM

so this time use below command to download the script
Code:
wget https://mediabots.ml/mediabots_ui.sh

see , if it can be downloaded, because last time github link did not work for your IPv6 VPS.

If it still not, try to add a IPv4 in your VPS and then try.

Regards
No luck with downloading from :
Code:
https://mediabots.ml/mediabots_ui.sh
 
may be something happened while you copy pasted in VIM

so this time use below command to download the script
Code:
wget https://mediabots.ml/mediabots_ui.sh

see , if it can be downloaded, because last time github link did not work for your IPv6 VPS.

If it still not, try to add a IPv4 in your VPS and then try.

Regards
Tried proper copy paste into vim and guess what. it worked. lol.
It turns out the issue was pasting the script with no order.
J5IjDI7
 
may be something happened while you copy pasted in VIM

so this time use below command to download the script
Code:
wget https://mediabots.ml/mediabots_ui.sh

see , if it can be downloaded, because last time github link did not work for your IPv6 VPS.

If it still not, try to add a IPv4 in your VPS and then try.

Regards
All good. How did you point your host name servers to freenom? I've been trying with tutorials for like an hour and no luck.
This is what it shows when i put in my IP address into the target box:
7smLoYY
 
Last edited:
Tried proper copy paste into vim and guess what. it worked. lol.
It turns out the issue was pasting the script with no order.

hmm, ok
did you copy paste line by line?

All good. How did you point your host name servers to freenom? I've been trying with tutorials for like an hour and no luck.
This is what it shows when i put in my IP address into the target box:

good.

Since you have only IPv6 ,you have to set TYPE 'AAAA' record for you domain.
'A' is IPv4.
NAME field should be blank in case of freenom
And CNAME record is optional

See below screenshot:
ATTACH]

yQW8cJ4


Regards
 

Attachments

  • upload_2019-1-29_10-3-24.png
    upload_2019-1-29_10-3-24.png
    28.3 KB · Views: 50
Last edited:
hmm, ok
did you copy paste line by line?
No, I simply opened the sh file from notepad and copy pasted into vim. I kinda knew that to copy from the raw link you posted using "cltr a" took the script with disorder. But probably plain copy paste can do the job.
Is that okay though?
Fa1Bkbw
 
Last edited:
Since you have only IPv6 ,you have to set TYPE 'AAAA' record for you domain.
'A' is IPv4.
NAME field should be blank in case of freenom
And CNAME record is optional

See below screenshot:
ATTACH]

yQW8cJ4


Regards
Done. How much time it usually takes to point the domain? And next time do i need to point my domain before i install the script?
 
I tried again and this what it shows. I think something went wrong when i added my host infos into freenom.
a2XxHsB
 
Done. How much time it usually takes to point the domain? And next time do i need to point my domain before i install the script?

within few minutes, usually within a minute. try to ping you domain name
Code:
ping yoursite
or
ping6 yoursite

And yes, pointing the domain at the beginning is more appropriate.

I tried again and this what it shows. I think something went wrong when i added my host infos into freenom.

just used a freenom free domain to test on vultr.com and it works.
I tried with a plan where IPv4 address included.

May be your problem occured due to IPv6 address.
So try with an IPv4 plan

Regards
 
Last edited:
1. May I know which putty file should I download as a Mac user?
2. Once I have installed WP on the VPS, how can I add more databases?

Thanks for your share and help to us, mortal ignorants.

.

Sorry, I missed your second question, though I believe I answered/mentioned it before.

Anyway, after 1st installation of your Wordpress site through the Script.
When you run the script for the second time, it would ask you similar type of questions(those had asked during 1st installation).

On advance setting option, press/pass-> Yes
And when script would ask for wordpress database name, set /pass an unique database name there, because two databases with same name in the same system could not be exist.

Regards
 
Last edited:
I tried again and this what it shows. I think something went wrong when i added my host infos into freenom.
a2XxHsB

What screen displayed after bot has been processed?
there should be a details.txt file (saved in the same directory of the script)
 
It woked pefectly fine with an ipv4 instance. But no luck with ipv6.
bUEhU2R
 
It woked pefectly fine with an ipv4 instance. But no luck with ipv6.


@kasumi009 Congrats!

thanks for updating
need to configure ipv6 correctly to make it work. And for ipv6 there are less tutorials in the web to follow
 
you are welcome :)

keep in mind , above example of host-file is for Apache serer. For nginx server, setting is bit different.
If you want to use the script, in Linux OS, choose Ubuntu 18.04 or 16.04
and make sure , that you have su (super user) password

if you don't ,just add your sites manually.
Don't forget, vps is different than shared hosting.
In VPS you would not have name server like ns1 , ns2.
You would have VPS IP in this case. To access your site you have to setup DNS 'A' record for your domains.

Since your sites are getting average 5k traffic/day.
So say, each user consuming 5MB bandwidth(expecting you host any image/video in 3rd party site)
Therefore 25 GB bandwidth(BW) for each day for a single site.
750GB BW / month for each site.

With 1 TB BW , you could't host more than 2
With 10 TB BW , you could host more than 10 sites.


Buy your VPS in France, the BW is unlimited here and isn't expensive :)
 
Back
Top