Page 1 of 1

Help with file modifications

Posted: Sun Feb 21, 2016 10:13 am
by jaylanzy
Hey,
I am having difficulty with my Plex installation. I have open topics, filed bug reports and i think i am headed in the right direction for a fix. However, being a noob, the world of linux is pretty alien to me. I have learned a ton but there are a few areas that are still very grey. I need to "change "hda" to "localhost" /etc/httpd/conf.d/*plex*.conf". I know how to get to the file:

Code: Select all

ls -l /etc/httpd/conf.d/*plex*.conf
But i am clueless on how to make the change. When i execute the above referenced command, i don't see where i go from there. Am i missing something? When i can get to where i need to go, i normally have no problems. Any help here would be greatly appreciated.

bird.

Re: Help with file modifications

Posted: Sun Feb 21, 2016 2:52 pm
by bigfoot65
Install nano editor and use it:

Code: Select all

yum install nano
Then do the following (might want to check out the shortcut keys on the internet for the editor):

Code: Select all

nano /etc/httpd/conf.d/*plex*.conf
Save it and restart httpd:

Code: Select all

systemctl restart httpd

Re: Help with file modifications

Posted: Fri Mar 04, 2016 4:43 pm
by jaylanzy
OK...i as able to install nano editor...i was able to access the file where i need to go. Am i to change every "HDA" reference in the file to "localhost", save and restart...or is there a particular area that should be changed?

Thanks.

bird.

Re: Help with file modifications

Posted: Fri Mar 04, 2016 4:59 pm
by jaylanzy
How do i save the file? I did not see it in the nano editor. By executing the mentioned command?

bird.

Re: Help with file modifications

Posted: Fri Mar 04, 2016 7:44 pm
by bigfoot65
Yes change both lines with hda to localhost.

To save do Control-X and then Y when prompted to overwrite.

You will need to also do:

Code: Select all

systemctl restart httpd
To restart the web server to apply the changes.