Skip to main content

Posts

Showing posts from August, 2017

[LAMP] How to install Apache on windows system

Apache is a popular platform to establish website on your local machine. In this tutorial, we are going to demonstrate how to setup Apache 2.4 on Windows 7 system. First, Go to the Apache Lounge website Download both: 1. the latest C++ Redistributable Visual Studio 2017 and 2. Apache *.zip files for your operation system (For me is Win64 version) Unzip the file after downloaded and put the Apache24 folder to the location of C:\ Run the CMD.ext as Administrator and change the direction to the folder of C:\Apache24\bin Type in httpd.exe -k install Go to the folder of C**:\Apache24\bin** and double click on ApacheMonitor.exe You can see the Apache 2.4 server with green light if the server has been started properly. Type in localhost in your browser address. If the Apache works properly. You can see a web page displayed in your browser. This is the first step to start up your own website with Apache! Uninstall Type in these code with the administration mode of CMD.exe under t

[pi] Headless pi connection with VNC on Mac system

Sometimes we have to access our pi with limited resources like lacking of monitor or keyboard. The Headless mode is useful to connect to your pi with another computer or your laptop without additional screen! Now let’s get started to give it a try! Setting Raspberry pi board Connection to pi connect to raspberry pi board with ssh pi@rapberrypi.local and input your password(Default password has been setted to raspberry ) Configue the VNC Input sudo raspi-config Navigate to Advance Option Select [P3 VNC] and click [OK] After setting up of the VNC, reboot the pi sudo reboot On Mac Downlaod VNC viewer from: https://www.realvnc.com/en/download/viewer/ After installed the VNC viewer, Input the IP address of raspberry pi and click Continue . Now we have successfully connect to our pi with VNC! Improve the resolution We have justed connected to the pi with VNC. However, the screen is quite small and the resolution wasn’t really good. How can