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

It is working great OP.
BTW i have a question for you, how do I speed up the xRDP in Ubuntu, it it VERY SLOW and i have to literally crawl the cursor to move it.
Is there any wayaround?
Thanks again :)
 
It is working great OP.
BTW i have a question for you, how do I speed up the xRDP in Ubuntu, it it VERY SLOW and i have to literally crawl the cursor to move it.
Is there any wayaround?
Thanks again :)

Thanks

You meant xubuntu-desktop.
I am guessing, you are using Windows Remote Desktop application to connect your server GUI.
And when you connect to a remote desktop via that app, on the topyou would see a connection bar, which would tell you your connection quality.
As you can see from my Demo video, there were almost no lag(though I edit that video with 2x speed).
Slow connection could be caused due to your ISP speed.
Yes I do agree xubuntu-desktop is very rich, so it is not like windows server desktop.

Things could be done, 1st change xubuntu desktop wallpaper image to a solid color. (that would do the most)
2nd , open Remote desktop app(from your PC) , next click on "Show options" button, you would see 6 tabs.
You can tweak settings as per your requirement from "Display" and "Experience" tab

hope that helps :)

Regards
 
** Updates **
php.ini upload_max_filesize increased to 200MB from 2MB
php.ini post_max_size increased to 200MB from 8MB


Regards
 
Where can I find php.ini configuration in ssh?
/etc/php/7.0/apache2/php.ini

Might vary upon your php & apache version number.

or run below command :
Code:
locate php.ini

to print the path
 
I want to downgrade my php version to 5.6, how to do that?
present my php version is 7.2
 
** Updates **
PhpMyAdmin URL secured, so Your_Site_IP/phpmyadmin would not be accessible by attackers anymore
I made changes in the script, so from now script would install php 7.0 version

Regards
 
** Updates **

OpenSSH port now allowed in firewall
Sendmail enabled


Regards
 
** Updates **
PhpMyAdmin URL secured, so Your_Site_IP/phpmyadmin would not be accessible by attackers anymore
I made changes in the script, so from now script would install php 7.0 version

Regards
I need wordpress with php 5.6 version, can you assist me to do it easy process?
 
Open Source Github Project/Repository URL :
https://github.com/mediabots/ubuntu_-_lamp-kubuntu_desktop-wordpress-ssl

A Shell Script to Auto install LAMP(Apache,MySQL,Php),PhpMyAdmin,Kubuntu Desktop,Wine,Wordpress,SSL Certificate on Ubuntu 18.04/Bionic O.S.

If you are using an older version of Ubuntu like 16.04, then Remote Desktop(XRDP) facility would not work for you.

With Kubuntu-desktop, the script would also install WINE package to run Windows Apps on your Linux system.

SSL would be verified by letsencrypt.org and initially it would provide a 3 month Certificate. Certificate would be auto renewed in every 60 days by "CertBOT" app, which also would be installed in your system


Requirements


A SSH client such as putty

A VPS or Dedicated server with Ubuntu 18.04(preferred) OS Installed

Either should have access of root user OR run with su(super user)


How to Run the Script


Code:
su

wget https://raw.githubusercontent.com/mediabots/ubuntu_-_lamp-kubuntu_desktop-wordpress-ssl/master/mediabots_ui.sh

chmod +x mediabots_ui.sh

./mediabots_ui.sh

If you opt for Kubuntu-Desktop installation, then it would take around 1 hr 15 mins to complete all the process.

Otherwise, it would take more or less 10 minutes.


Conclusion


Script would take care of all common issues of Wordpress installation, such as : Directory & User Permission, Redirection/Rewrite rules, .htaccess, etc.

Script would create an individual directory for each domain name such as : / var/ www/ html/ YourDomainName

And it would also create an individual host file for each domain name such as : / etc/ apache2/ sites-available/ YourDomainName.conf

That offers you to add the unlimited number of websites in your Server.

SSL for your domain name would be automatically renewed by the CertBOT. So you don't have to worry about that thing too.

In short, this script could save lot of time & effort :D


Demo Video


OR
http://bit.ly/Shell-Ubuntu

--
Hope you guys like it.
If you are a developer, you are welcome to contribute in the project

Feel free to ask any question
Don't forget to share your thoughts


Thank you

Thanks! I bookmarked this URL. It will save a lot of time
 
yes, I am sure :)

You are Welcome
I'm having issues with using nginx as web server, can you help me out? Apache works fine but can't seem to get nginx to work. Wanna host multiple sites.
 
I'm having issues with using nginx as web server, can you help me out? Apache works fine but can't seem to get nginx to work. Wanna host multiple sites.

I recently worked on Nginix, but its not with PHP, its with Python(Django)

Here the DO TUT Link I have followed

But if you are using Php (LEMP Stack), then you can do follow this Guide

Apache & Nginx are basically similar, they just follow different kind of syntax approach.
And another thing to keep in your mind , Nginix could out perform Apache in case of Static websites, but for Dynamic, both performs similar.
 
Last edited:
I recently worked on Nginix, but its not with PHP, its with Python(Django)

Here the DO TUT Link I have followed

But if you are using Php (LEMP Stack), then you can do follow this Guide

Apache & Nginx are basically similar, they just follow different kind of syntax approach
Thanks, I'll try it
 
Hello there, would you mind explaning to me what is this file about?
fj.PNG
 
Hello there, would you mind explaning to me what is this file about?
View attachment 140817


Sure
Its basically saying, during updating/upgrading the OS(Operating System), a new version of a software is installed , so a new configuration(setting) file is also available.
So its asking, whether do you like to keep your older version of the configured file or do you want to replace that with the new.

I would prefer default option, that is "keep the local version currently installed"
So in case you have configured(changed setting) of any software, it would keep it as it is.
 
Back
Top