Firefox slow starting on CentOS 7 - firefox

I am using CentOS 7 in a project. The PC has no internet access, there is a DNS server and web application is used in this CentOS 7 PC.
When I start firefox, it is starting up too slow. Then everything is ok. When I disable DNS and add hosts, no problem. However I have to use DNS.
I tried to disable DNS prefetching, auto update of search engine etc but I hae still the same problem.
How can I fix this problem?
Thank you

Adding hostname to /etc/hosts solved the problem.

Related

Can't browse interent with Ubuntu 18.04 , OpenVPN issue?

I have two machines with installed:
Computer 1. Ubuntu 18.04.3 LTS
Computer 2. Ubuntu 16.04.6 LTS
Both are running the same iptables rules.
Both are connected to two different openvpn servers.
Computer 1. "disconnects" within a minute and i can't browse internet via either Firefox or chrome. But. I can browse via command line browsers.
Computer 2. never disconnects from openvpn server and i can always browse internet via either Firefox or CL.
i tried switching between servers but the problem persist.
What is the problem with Computer 1. ?
How can i troubleshoot this problem? Where to start?
Any help is greatly appreciated.
Thank you.
UPDATE: Presently, I can't browse internet via terminal (CL) anymore on 18.04. I can ssh to my openvpn servers but I can't browse internet !?

Internet Explorer times out when using Windows 8.1 VM

When using my virtual machine, I'm trying to gain access to the Internet, but unable to get IE to start, when clicking the icon it doesn't react. I've done some research and a couple of hours troubleshooting, but no luck. It does appear to be a problem for some, but they don't have the exact same problem I do.
Here's what I've come across while troubleshooting:
1) OS is windows 8.1 32-bit, but my host machine is 64-bit, because of this there might be compatibility issues. Not much more on this though, no explanation on whether that is the problem at all.
2) My network settings could be wrong, but I'm attached to a bridged adapter, my IP's match for both VM and Host, and I can access the web when I use a web browser app (but the app that can't download anything, so I can't download google chrome or the necessary files I need to study).
3) Others say that the problem is Windows 8.1 itself. That VMs just don't work as they should like Windows 7.
I clicked to uninstall Windows explorer, but it seems it doesn't exist, and it doesn't have an icon on the home screen.
Could it be that the .iso I downloaded did not have IE included?
The original need for the VM was to test Docker containerisation for a report. Should I scrap the whole idea and try for Windows 7 64-bit instead? That's all I can do if I can't find a solution.
Any help would be appreciated. Thanks.

Homestead not working after windows 10 latest update

Before updating windows 10 (november update) it all working perfectly using latest virtual box. after update everything is not working. I've tried reinstall the vagrant, virtual box no luck and i recheck the hosts file, it still the same where i left it before update.
All i getting when open using chrome is "Err connection reset".
Anyone having this problem ?
Check the Oracle VirtualBox log for the vagrant machine, it would seem there are various issues being experienced, mine was related to VirtualBox network connection on Windows.

Mac as dns server on local lan

I'm a web developer in an office, and I often have to let some other collegues to see the websites I'm working on.
On my mac, I've installed XAMPP and for every site I set up a virtual host, so for example mywebsite.local is available for me.
For my collegues what I do at the moment is, on their hosts file, point mywebsite.local to my Mac IP. Of course it's very annoying.
I was wondering if I could use, locally in my office, my mac as a DNS server for all my collegues, without editing everytime their hosts file.
So, if they looks for mywebsite.local, first they look if it's somehow mapped on my mac, and then they looks on a DNS server.
If they install Bonjour for Windows, mywebsite.local should automatically resolve to your computer.

Running XAMPP on Windows through VMWare Fusion on a MAC, how do I configure apache to use my shared folders (Z:) as the web root?

Environment:
Main platform: MAC OSX 10.6
Secondary platform via VMWare Fusion: Windows 7 64-bit
Background: I'm running MAMP Pro on the MAC side with a webroot at "/www". I need to test websites in IE thus requiring a Windows installation. I installed XAMPP on my Windows side and changed the apache root directory to "Z:\www", the location of my MAMP webroot which is a shared folder between MAC and Windows.
When I try to access a local site from windows (http://localhost/asite) I get a 403 Forbidden error:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
07/30/10 14:21:07
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1
What other configuration changes need to be made for this to work if it will work at all?
Thanks,
Chris
Thanks to those who responded. I did a little research on the types of network connections and here's how I resolved the issue without using XAMPP at all.
To recap, I'm running Win7 on my Mac via VMWare Fusion as a virtual machine. I have MAMP running a local web server on my Mac with a webroot at /www and I want to be able to also access the web server from browsers in Windows.
In short, I want to be able to go to http://localhost/mysite from Safari (Mac) or IE (Windows).
Changed my Fusion Network Adapter to Bridged, since I am working from a home office.
Refreshed my network connections using the ipconfig commands in the command prompt.
Edited my windows hosts file to reflect: 192.168.1.102 localhost
Done and done.
I hope someone else can find this useful.
Chris
Is there any specific reason you're trying to serve your site from XAMPP, rather than just MAMP? I worked in a similar environment a couple of years ago, and I simply set the virtual machine's networking type to NAT (so that the guest has a different IP from the host), and then pointed IE at the IP address of the host running MAMP.
Maybe I didn't quite understand your problem completely, but:
"I need to test websites in IE"
you don't need to setup a Web server to do that...
Keep using Apache on your Mac host and point IE from your Windows VM to the host machine IP, as peterjmag suggested.
Also, wasn't there a Mac version of IE?
Again, my apologies if i misunderstood you - I don't want to sound arrogant;)
"Z:\www ... a shared folder between MAC and Windows"
What's this - a network share? Do you get the same error if you use a local folder in your VM (eg: C:\www)?
Try mounting /www from your VM - go to it's settings > options tab > shared folders. Select Always Enabled. Click Add and browse to your /www host folder. This should make /www accessible in your VM Windows.
Finally, just in case: check Windows permissions on the www folder.
Hope that helps!

Resources