Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Feb 13, 2011 8:00 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
In order to install phpmyadmin, the guide suggests me to use a Self-Signed SSL Certificate with Apache.
I generated a Self-Signed Certificate, but when trying to configure Apache to use the Self-Signed Certificate, i got a permission denied to the command '/etc/apache2/ports.conf'. I need to add my NameVirtualHost ip there.

*** Note: I got permission denied now when trying to edit any file, like /etc/apache2/sites-available/my-site.com

*** I can reach the file using my sftp software, but i don´t know why i can´t edit using PuTTY anymore

What to do?
Thanks


Top
   
PostPosted: Sun Feb 13, 2011 8:38 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
grevan wrote:
In order to install phpmyadmin, the guide suggests me to use a Self-Signed SSL Certificate with Apache.
I generated a Self-Signed Certificate, but when trying to configure Apache to use the Self-Signed Certificate, i got a permission denied to the command '/etc/apache2/ports.conf'. I need to add my NameVirtualHost ip there.

*** Note: I got permission denied now when trying to edit any file, like /etc/apache2/sites-available/my-site.com

*** I can reach the file using my sftp software, but i don´t know why i can´t edit using PuTTY anymore

What to do?
Thanks


are you root or using sudo?


Top
   
 Post subject:
PostPosted: Sun Feb 13, 2011 8:56 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
I´m using the PuTTY software.
Sorry, didn´t understand your question.


Top
   
 Post subject:
PostPosted: Sun Feb 13, 2011 9:11 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
grevan wrote:
I´m using the PuTTY software.
Sorry, didn´t understand your question.


are you logged in as the root user or using sudo to act as root. a normal user will not be able to edit config files


Top
   
 Post subject:
PostPosted: Sun Feb 13, 2011 9:15 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
I was able do edit the files i mentioned, i got permission denied after a created the ssl certificate. I gues i´m logged in as the root user.

* What is sudo?


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 1:46 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
It was my mistake, if i type nano ..... i´m able to edit the files.
Thanks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
RSS

Powered by phpBB® Forum Software © phpBB Group