Slow performance of apache web server on azure windows virtual machine - azure

I have installed uniform server and wamp and they both have a very slow response time.
I tried both the windows 2012 and 2008 server and I see the same problem: slow response time.
To reproduce this issue, install wamp or uniform server and try to open phpmyadmin in your web browser. You will notice that clicking on phpmyadmin menu items, there will be a 1.5 or 2 seconds lag until you get a response from server. Why is this happening?
EDIT : >>>
Server memory usage looks ok: 45%.
CPU usage is normal: When I click on a link(php) the CPU goes from idle to 15% for about 2 seconds.
I tried two virtual machine sizes: extra small and small on both windows 2012 server and windows 2008 server. They have exactly the same behavior on this issue.
Every hit has exactly the same lag.
Yes, MySql is installed with uniform server. Also mysql is installed with wamp. I tried both
I installed a preconfigured ubuntu linux VM with mantis bug tracking software on extra small VM and it runs very fast. So I think that this problem has to do with the OS or some configuration setting in apache, mysql or php.

You can try following the 3 points below:
Disable the Windows Firewall.
Disable IPv6 support.
Edit the 'hosts' file.

Related

Connect postman from an RDP windows 10 client back to a node web restapi running on the macbook pro host?

I am trying to run postman in a windows 10 RDP client, and I want to test a node application running on the host computer. The host is a macbook pro and the application is running on localhost:3000 there. I can't simply use https://localhost:3000 in postman, because localhost there is for that machine. Is there a way?
I am thinking that it might be a big security hole. The more I think about it, the more I see a problem with it. I mean, I can share folders - as you do - but that is pretty controlled. I could well be wrong though

Using XRDP to connect linux to Windows PC from LINUX Client

Has anyone successfully used XRDP/freeRDP to remote login to a Windows PC from a LINUX Client? I did some research on the matter and I found there may be incompatibility issues. However those posts were quite old.
I would like to use the latest XRDP or freeRDP
The site says the following:
"The goal of this project is to provide a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft's own terminal server / remote desktop clients.
Unlike Windows NT/2000/2003/2008/2012 server, xrdp will not display a Windows desktop but an X window desktop to the user.
So it sounds like I can communicate between a Linux Box and Windows. But it sounds like the Windows PC can only be the client logging into a Linux Server and not vice-versa."
Is this true?
That's not true. You can using a freeRDP client in Linux connecting to a server on Windows. I've just tried the latest freeRDP code in Ubuntu, and I've tested Win7/Win10, both are OK.
Follow the instruction of freeRDP in the following link:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation
and hope you make it.
Ps: There may be some connectivity issues, like firewall or something, just google it.

Accesing website from ubuntu is very slow but works faster in windows

I have a web-server running in rackspace , if i access the website from my local network using windows it works fine but using ubuntu it is very slow.
Please give me some suggestions
You can also check if the Network configurations match between your Windows and Ubuntu Linux. Mainly your DNS servers.

Excel programming module running slow on Terminal Server 2008

I have a Windows application that exports to Excel using the Excel Object Module (programming module). It has worked fine on all Winodws versions except Windows Server 2008. It takes about 2 seconds to do anything in Excel, making the process take minutes or even hours to complete what normally takes a few seconds.
This happens when using Terminal Services or RemoteApp. I discovered that it only happens when you check the Printers checkbox under Local Resources when connecting via Remote Desktop. If you uncheck it the speed is normal.
However, I need my printers, so I can't just uncheck it.
Any ideas what is causing the slow down?
The MS Office apps do a lot of calculation in the background based on the default printer. When you connect from a remote Terminal Services session and import the Printers from your Local Resources, the Terminal Server really needs to have an appropriate driver for each printer you're connecting.
Thus, one solution to the speed issue would be to ensure that the server has the right drivers (and that they work as expected).

VMWare ESX image to run on VMWare workstation

I've an linux image(debian) running on VMWare ESX 3.1.
Is it possible to copy that image and run it locally on my local VMWare workstation?
how?
Just open up the VI client, shut down the VM, browse to the datastore and then download the image. Pretty straightforward really, I do it from ESXi 3.5 -> Workstation 6.5 all the time.
I believe that while ESX (commercial) is reverse-compatible to Server (free), Server is NOT forward-compatible to ESX.
Therefore, you can import Server images to ESX, but not the other way around.
You may be able to go from an ESX host to an ESXi (free) host, however.
As far as I remember that was exactly what I did a few weeks ago. I exported the image (export facility is included in the ESX, but you'll have to power off the image while you export it). Once the image was exported I ran it through the VMware converter (free tool) and converted it to run on a workstationr/player.
However my laptop always crashes when I install VMWorkstation so I run it om a VMPlayer.
We also have such an environment and are working on it since past 5 years. We have ESXi 3.5 virtualized environment running Centos OS virtual machines amongst others. To use the virtual machine from ESXi on our local machine, we have installed VMWare Workstation (also VMWare Player). We take a complete mondo backup using mondoarchive. We then transfer these images on our local machine. From these images, we restore the ESXi based virtual machine in our local VMWare Workstation environment. It has been a great success for last five years and we have never faced any problem with it.
Kasper, what version of ESX are you running? Trying to export an image from our ESX server always ends in a I/O error (don't have access to the server right now so I cannot remember the exact error message).
Would love to get this feature working but I not found anything on the web that might help with this specific error.
You can also user Vizioncore vConverter or FastSCP for your migration.
This is a nice article describes how to convert different images: Please go throught it.
http://www.dedoimedo.com/computers/vmware-converter.html

Resources