[web2py] Solve the error when creating a self signed certificate on Ubuntu server?

2013-07-04 Thread ebseknib
Hi,

The script https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh 
running 
almost good,

Just got error at the echo creating a self signed certificate

openssl genrsa 1024  /etc/apache2/ssl/self_signed.key


and it shows the error:

-bash: /etc/apache2/ssl/self_signed.key: Permission denied

So, how can I get the Permission in apache2 directory to write 
self_signed.key?

Thanks for your help!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Got error when create SSL for VPS Ubuntu 12.04

2013-07-04 Thread ebseknib
Hi,

The script https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh 
running 
almost good,

Just got error at the echo creating a self signed certificate

openssl genrsa 1024  /etc/apache2/ssl/self_signed.key


and it shows the error:

-bash: /etc/apache2/ssl/self_signed.key: Permission denied

So, how can I get the Permission in apache2 directory to write 
self_signed.key?

Thanks for your help!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread ebseknib
Hi,

I create my own VPS with ubuntu 12.04 LTS,

and I used the following command to install web2py:

$ wget 
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
$ chmod +x setup-web2py-ubuntu.sh
$ ./setup-web2py-ubuntu.sh

then, it shows the error message after that:

./setup-web2py-ubuntu.sh: line 5: syntax error near unexpected token 
`newline'
./setup-web2py-ubuntu.sh: line 5: `!DOCTYPE html'

I don't know what's wrong here.

Thanks for helping me!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Got error when install on VPS ubuntu 12.04 LTS

2013-06-29 Thread ebseknib
Thanks, I did it successful. I'm stupid :p

On Saturday, June 29, 2013 2:37:08 PM UTC+7, Massimo Di Pierro wrote:

 You downloaded the HTML not the raw file. Try:

 wget https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh

 On Saturday, 29 June 2013 02:27:13 UTC-5, ebse...@gmail.com wrote:

 Hi,

 I create my own VPS with ubuntu 12.04 LTS,

 and I used the following command to install web2py:

 $ wget 
 http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
 $ chmod +x setup-web2py-ubuntu.sh
 $ ./setup-web2py-ubuntu.sh

 then, it shows the error message after that:

 ./setup-web2py-ubuntu.sh: line 5: syntax error near unexpected token 
 `newline'
 ./setup-web2py-ubuntu.sh: line 5: `!DOCTYPE html'

 I don't know what's wrong here.

 Thanks for helping me!



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: VPS.net With Web2py.... Unable to install Application

2013-06-29 Thread ebseknib
Hi scausten, I got the same error when install on my vps with ubuntu 12.04 
LTS:


./setup-web2py-ubuntu.sh: line 5: syntax error near unexpected token 
`newline'
./setup-web2py-ubuntu.sh: line 5: `!DOCTYPE html'

how did you solve them? Can you help me? Thanks for your help!

On Thursday, September 23, 2010 8:19:06 PM UTC+7, scausten wrote:

 Don't worry, I was doing something extraordinarily stupid - the script 
 is fine. 

 On Sep 23, 2:05 pm, mdipierro mdipie...@cs.depaul.edu wrote: 
  I do not see anything wrong with line 4 
  
  On Sep 23, 5:25 am, scausten scaus...@gmail.com wrote: 
  
  
  
   Hi Massimo, 
  
   I've tried to install web2py on vps.net today and I'm getting the 
   following error message: 
  
   ./setup-web2py-ubuntu.sh: line 4: syntax error near unexpected token 
   `newline' 
  
   Could you have a look at it please? 
  
   On Sep 23, 4:36 am, mdipierro mdipie...@cs.depaul.edu wrote: 
  
yes this should do it 
  
sudo /etc/init.d/apache2 restart 
  
I do know why you cannot write on that folder. 
  
On Sep 22, 10:14 pm, Yannick ytchatch...@gmail.com wrote: 
  
 Thanks for the note. 
 This may be a stupid question:) but in my set up (Mod_WSGI+ Apache 
 +Web2py) how do you restart web2py from command line ? 
 I tried to reboot apache (sudo /etc/init.d/apache2 restart), but I 
 don't think it also reboot web2py, because from the Admin page 
 after 
 the apache rebooting I was still unable to upload an application. 
  
 Thanks a lot, 
 Yannick P. 
  
 On Sep 22, 6:13 pm, Christopher Steel chris.st...@gmail.com 
 wrote: 
  
  Hi Yannick, 
  
  This is a permissions issue, shut down web2py then restart it. 
 This 
  has happened with some other folks at VPS and that usually takes 
 care 
  of it. 
  
  Cheers, 
  
  Chris 
  
  On Sep 21, 11:49 pm, Yannick ytchatch...@gmail.com wrote: 
  
   Hello mate, 
   I'm new with VPS Hosting... I just installed Web2py, Postgres 
 Admin... 
   From the Admin Console of Web2py I tried to install the 
 application 
   through the Upload  install packed application form and i 
 got a 
   message saying Unable to Install the application  The 
   application was 44MB, so I tried to install a very small 
 application 
   of 4MB just to see but it didn't work too. 
   SO basically I manually upload the application on the 
 Application 
   directory of Web2py using  SFTP. Then from the Admin Console I 
 can see 
   the application but I when I tried to access the app from the 
 browser 
   http://IPADDRESS/App/default/index; I got a message saying 
 Internal 
   Error and a link Ticket issued: unknown... When I click on 
 the 
   unknown I got a message saying invalid Ticket... 
  
   I really don't have any clue of what's going on ?? 
  
   Please help... 
  
   Thanks 
   Yannick P.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] How to install VPS to use web2py with MySQL phpMyAdmin

2013-06-29 Thread ebseknib
Hi, 

I'm new to web2py, I've just gotten a VPS running on Ubuntu 12.04 LTS.

I want to use web2py with MySQL, and admin my database with phpmyadmin.

I saw the scripts 
https://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh, but it 
install the postgresql. I tried to combine those package with phpmyadmin, 
but it doesn't work.

I used to use web2py with mysql, phpmyadmin on 
https://www.*openshift*.com/successful. Now i want to move to VPS Ubuntu.

So, how to install MySQL, phpmyadmin, python to run web2py on VPS?

Thanks for your help!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.