Help with file modifications

jaylanzy
Posts: 38
Joined: Sun Jan 11, 2015 6:23 am

Help with file modifications

Postby jaylanzy » Sun Feb 21, 2016 10:13 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Help with file modifications

Postby bigfoot65 » Sun Feb 21, 2016 2:52 pm

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
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jaylanzy
Posts: 38
Joined: Sun Jan 11, 2015 6:23 am

Re: Help with file modifications

Postby jaylanzy » Fri Mar 04, 2016 4:43 pm

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.

jaylanzy
Posts: 38
Joined: Sun Jan 11, 2015 6:23 am

Re: Help with file modifications

Postby jaylanzy » Fri Mar 04, 2016 4:59 pm

How do i save the file? I did not see it in the nano editor. By executing the mentioned command?

bird.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Help with file modifications

Postby bigfoot65 » Fri Mar 04, 2016 7:44 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 13 guests