Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Oct 15, 2019 10:24 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Help to Setup a Ubuntu Server For WE
PostPosted: Wed Jun 15, 2011 1:54 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Hello where i can find the steps to config a Ubuntu Server for the RS WEB.
:idea:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Wed Jun 15, 2011 2:47 pm 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
jetpr wrote:
Hello where i can find the steps to config a Ubuntu Server for the RS WEB.
:idea:


i can only think of 3 steps:
D I Y

no serious, they should be on the forums. search for "apache ubuntu".
Begin by installing apache on you server (best of with 32 bit i think).

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Thu Jun 16, 2011 1:02 am 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
http://forums.realsoftware.com/viewtopic.php?f=23&t=38996

:-)

_________________
Image http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Thu Jun 16, 2011 6:37 am 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
Full instructional video http://dl.dropbox.com/u/20051174/virtualLAMP.zip.

The appliances used (turnkeylinux) are based on ubuntu and the whole thing is setup on a single PC running virtualbox but the process is exactly the same as if you would install it on bare metal or a vps.

The best part of the process is that the appliance is fully configured as a lamp stack.

It is the easiest way by far I have found.

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Thu Jun 16, 2011 7:51 am 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Thanks to all
:wink:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 17, 2011 9:37 am 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Thanks Video show is Big Help

But this is base in MySql i am using postgresql.

i download the Version for postgresql but no have the cgi files so how i add i cgi support to it.

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 17, 2011 4:23 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Thanks to all Help
i have it Working
:D
:D

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 17, 2011 6:11 pm 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
Turnkey Linux have a LAPP stack also (Linux, Apache, PHP, Postgres) which should not be too dissimilar to the LAMP stack.
The LAPP web interface for managing the database is entirely different to PHPMyAdmin though.

Glad you got it working, Happy to help :)

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 17, 2011 6:16 pm 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
One thing I should mention is that their backup mechanism (called TKLBAM - Turnkey Linux Backup And Migration) does not work with Postgres just yet. It should not be long before it is working though.

If you are wondering what TKLBAM is and how awesome and easy it is to backup/restore appliances then check this link out http://www.turnkeylinux.org/blog/announcing-tklbam

It is also available through the Ubuntu repositories.

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 17, 2011 6:17 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Yes i Found
thank you very much for your great help Specialised
:lol:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 24, 2011 12:42 pm 
Offline

Joined: Sat Dec 04, 2010 9:14 pm
Posts: 918
Hello all,

Specialised, I thank you too for doing the video. Very nicely done. My question may seem a bit high level, but here goes anyway.
I have an old notebook with a nice fast x86 intel processor on board. I have Ubuntu installed and it just upgraded itself to the latest 11.04 version.

Since I really struggle with linux, I was hoping the LAPP appliance would make it easy to install and set up Apache and Postgre on this Linux machine. So I tried 2 methods, running the app from a CD created on a windows box (did not work) and also downloading directly from the Linux machine runing Ubuntu.

Neither worked.

Can anyone suggest another method for installing the LAPP Appliance on my Ubtunu or another solution so I can get apache and postgreSQL installed and configured properly easily?

Thank you!
Tim


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 24, 2011 2:04 pm 
Offline

Joined: Sat Dec 04, 2010 9:14 pm
Posts: 918
I think I found the problem. I burned the last CD with windows. I tried it again with PowerISO and the CD then worked as expected.

Thanks again for the video!
Tim


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Fri Jun 24, 2011 5:37 pm 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
go to a terminal and type

sudo tasksel install lamp-server


you will need to provide a password for sudo (the admin one you used to setup) and when MySQL is installed a password for that too (can be anything).

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Sat Jun 25, 2011 2:17 pm 
Offline

Joined: Sat Dec 04, 2010 9:14 pm
Posts: 918
jetpr, sorry I do not mean to hijack your thread, but I am working on the same problem!

Hello Specialised,

I am not experienced at all with linux so, please forgive the questions herein. I am confused with this Linux/LAPP/Ubuntu install. I have a notebook that I had set up Ubuntu on. It has a nice GUI and although much different than windows, appears to be easier than a command line environment.

I downloaded the LAPP ISO to a cd, and on the Ubuntu machine, installed it - I think. When it was all done, the Ubuntu UI came up and it did not appear to have changed - although admittedly, I am not certain where to go to see if it did change - like apache and PostgreSQL running etc.

So I started over again with the LAPP iso, wiped the HD clean and did a new install. This time, I get Turnkey Linux Config console, with the only option of an "advanced menu". Quitting the console yields a lapp login - for which I have not clue what the login and pw would be. However it appears from this that the system is running but without a GUI. Looking at the docs at Turnkey linux website was not a lot of help either.

My goal is to have Ubuntu with GUI + Apache + PHP + PostgreSQL so the machine can serve WE apps.

My questions are:
1. I want a GUI, so should I start over with Ubuntu
2. What does the LAPP stack really do? I "thought" that it was a preconfigured installer that would either install the Ubuntu with GUI + Apache (configured) + PHP + PostrgreSQL(condfigured). But that does not appear to be accurate.
3. Is there something else I missed?

Finally, any suggested places to look for high level documentation/explanation to help me accomplish what I am looking to do? I have never used Linux, only Windows so this is a very new experience!

Thanks
Tim


Top
 Profile  
Reply with quote  
 Post subject: Re: Help to Setup a Ubuntu Server For WE
PostPosted: Sat Jun 25, 2011 8:17 pm 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
Quote:
So I started over again with the LAPP iso, wiped the HD clean and did a new install.

This is called a bare metal install and it sounds like you did the right thing.

Quote:
This time, I get Turnkey Linux Config console, with the only option of an "advanced menu". Quitting the console yields a lapp login - for which I have not clue what the login and pw would be. However it appears from this that the system is running but without a GUI. Looking at the docs at Turnkey linux website was not a lot of help either.


TurnkeyLinux (TKL) is purely server based images that have a command line and no GUI. While it is possible to install a GUI through the package manage "aptitude", it really defeats the purpose. Instead you access all config options and database manipulations through a web interface.

The config console is the place you set the IP address of your server, otherwise it will DHCP and unless set to reserved in your router may change when lease time expires.

The login is always "root" (until you add more users) and the password is the same one you were prompted for during setup.

This was all explained in the video. The only difference between what you want/need and the video is that I used virtualisation, you are using bare metal.

If you want to go with the GUI method (Ubuntu and LAMP/LAPP) you will need to install ubuntu and then open a terminal window and install packages using aptitude or (better) tasksel (as described below).
I dont recommend this method as I mentioned before TKL has all the config options available in the web gui plus if you ever get your software hosted I can almost guarantee it will be a virtual appliance and it will NOT have the full ubuntu installed (if Ubuntu at all!).

To answer your questions
Quote:
1. I want a GUI, so should I start over with Ubuntu

I highly recommend you get used to the web GUI and Command Line in Ubuntu server.
The web GUI has more detail than you will ever need to setup your server.
To access it simply point a browser at the ip address the server is setup as.
Quote:
2. What does the LAPP stack really do? I "thought" that it was a preconfigured installer that would either install the Ubuntu with GUI + Apache (configured) + PHP + PostrgreSQL(condfigured). But that does not appear to be accurate.

You are mashing up terms a bit.
What you said in the second last sentence here is perfectly correct - pre-configured LAPP appliance.
It probably does not look like much from the command line interface but I assure you it is a fully capable server.
Quote:
3. Is there something else I missed?

For more info (docs) go to http://doc.ubuntu.com/

It definitely takes an investment of your time to get WE apps working the way you want because developing the WE app is half the story!

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group