Tag Archives: linux troubleshooting

How to Bring back eth0 on CentOS 7 ( No Dynamic Ethernet Names)

To Install CentOS 7 without dynamic Ethernet names such as enps2001 use the following technique.

Edit the grub file

Go to /etc/default/grub and add the following lines

In front of /root add the following

biosdevname=0 net.ifnames=0

Then issue the following command

grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot the machine and you will see eth0 and eth1 instead of enps2001 etc.

Thanks,
Salman

Unable to Connect “The Squid Error “

So today i had a strange problem when i was only able to access google.com and not other sites. I was able to browse gmail, but not mail ru. Everything was working fine but out of no where this error “Unable to Connect” appeared on my Browsers. It was kinda strange, since i made no changes to my system” Also i was not sure if it’s the system or the Gateway.
Observation on System:
1) Both Firefox and Chrome giving the same problem.
2) I was able to browse with Chrome if Ultrasuf Extension was enabled.
3) Firebug reported “Aborted” in the Net tab

Steps taken:

Restarted the System
Changed the IP address
Result:
System Not Fixed Continue reading

Word Press Plugin Install Error

Hey Guys , so i installed WordPress on Centos 7 and it was successful, but then i faced an Error while installing the plugins. The Error was “Unable to locate WordPress Content directory (wp-content”

It asked to connect with FTP , but kept on failing.

Solution:

Just Give apache permission to www directory and the content beneath it.

[root@itpings]# chown -R apache.apache -R www/ <--- Now Restart httpd [root@itpings opt]# systemctl restat httpd.service <-- Now Try to download the plugin and should work. Thanks, Salman Francis.