-
June 25th, 2012, 10:57 AM
#1
edit .conf file in /etc linux (java SE)
Hi everyone!
This time I have a java SE web start application hosted in a Linux/Debian server
I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how to access this file if it's not within the public /www folder. I think it has to do with apache users and permissions, but my linux knowledges are just few
Thanks in advanced!
-
June 26th, 2012, 10:55 PM
#2
Re: edit .conf file in /etc linux (java SE)
If you are in Linux system, Just go the terminal and login with root user name and password. From the terminal you can go that folder.
cd /etc
vim (your file).conf and enter I then edit as you need.
Enter Escape button
To Save file, Enter :wq
Let me know if it is wrong?
Thanks,
Nagaraj
-
June 28th, 2012, 05:39 AM
#3
Re: edit .conf file in /etc linux (java SE)
Originally Posted by luisp88
Hi everyone!
This time I have a java SE web start application hosted in a Linux/Debian server
I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how to access this file if it's not within the public /www folder. I think it has to do with apache users and permissions, but my linux knowledges are just few
Thanks in advanced!
Are you talking about an Apache HTTP Server, right?
To find out where is located you can check using "httpd -V", or "ps auxww | grep httpd", to know where the process is running.
Config file is usually named httpd.conf. Whether you can edit or not, depends on permissions.
If your user belongs to apache group, you probably will able to modify it (check using "groups" command). Another possibility is that your user has permissions in sudoers file: check it using "sudo -l". You will see if your user has permission to modify that file. If you are able to modify, then use command sudo to edit file.
If nothing works, then you must talk to your system administrator to get permissions.
Albert
Please, correct me. I'm just learning.... and sorry for my english :-)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|