views:

328

answers:

1

Hello there, I'm a beginner Ruby on Rails Programmer and I'm trying to install Apache2 + Passenger(That's for Rails Deployment).. and at the end of the installation process, Passenger gave me a few lines to add to the file apache2.conf at /etc/apache2/ but I can't override this file.. I have no permission =( I've also uploaded an image showing me the error.

P.S => I'm logged into Ubuntu with my username and password.

Please help! and thanks, Rodrigo.

+1  A: 

The simplest way is to open the file with the sudoedit program, as in

sudoedit /etc/apache2/apache2.conf

which will prompt for your password and then open your editor.

jleedev
Thank you, it just worked!
rodrigo3n