it's a raspberry pi

Editorials

 Setups & configurations

anchor life saver

 We got some boring movies

🎥 Cinematique

 Regarding unity3d

🙂 In-game char icons
Externals

 All about pirate games

⚓ Pirates ahoy!

 This is German language

💻 Linux - ubuntusers.de
Windward bathtub
Tasharen Windward Game

 Social news aggregation

🌍 Windward #reddit
Windward intensive

 Official Windward wiki

🛠 Wiki @gamepedia
Front desk clerk

No ads, no trackers,
no web beacons

rum barrel
Something else

 Get the weather widget

🌤 Weather code snippet

 Hotchpotch of weblinks

📖 Yellow pages
Archives
Tag cloud

Raspberry Pi | Setup Apache 2.4 http server


Apache Setup Raspberry Pi mini computer to dedicated game server. LAMP. Apache Raspberry Pi mini computer. Dedicated game server.
That is simply just another http web server powered by Apache Software
and the Raspberry Pi Foundation with Raspbian Debian OS Stretch Lite on it.

Installation routine


Please note that for this article we will be working under Microsoft Windows with PuTTy.

To install Apache2 standalone, execute the following command:

user@raspberry:~ $ sudo apt-get install apache2


To install Apache2 and PHP (optional) together, execute the following command:

user@raspberry:~ $ sudo apt-get install apache2 php5 libapache2-mod-php5


To install MySQL (optional), install a few packages with the following command:

user@raspberry:~ $ sudo apt-get install mysql-server mysql-client php5-mysql


Change ownership


Take ownership of the web root:

user@raspberry:~ $ sudo su
root@raspberry:~# sudo chown -R pi /var/www/html


First access


Enter the IP address of your Raspberry Pi in your web browser.
You should see the page stored in /var/www/html/index.html. This is the default welcome page used to test the correct operation of the Apache2 server after installation on Debian systems.

Debian Raspbian Apache2 Default Page

How do I replace the index.html file after viewing? Just delete /var/www/html/index.html or replace it with an index.html file of your own. You should replace this file before continuing to operate your http-server. If you know some basics in HTML you can put your own HTML files and other assets in this directory and serve them as your personal website.

Check Apache service status


root@raspberry:~# service apache2 status


Check Apache status


Just in case you have to do that.


root@raspberry:~# service apache2 restart


22-Jun 2017


Installation ftp client




You can use an application such as WinSCP to connect via sftp which is safer and prevents the need to open up another port on your Raspberry Pi.

With Linux you could deploy FileZilla.



root@raspberry:~# apt-get install filezilla


22-Jun 2017


Free webpage developing and publishing software


For MS Windows

Expression Web 4 - formerly MS Frontpage - is a full-featured professional tool for designing, developing, and publishing compelling, feature-rich websites that conform to web standards. Free and full version: www.microsoft.com/en-us/download/details.aspx?id=36179

Expression Design 4 is a tool for creative professionals and developers who want to build graphics for application user interfaces, the web, or any other medium. Free and full version: www.microsoft.com/en-us/download/details.aspx?id=36180

For Linux
Please refer to 🛠 Software for Linux
💻 Safer Mozilla Firefox for more details.

Brackets is a lightweight, yet powerful, modern text editor. It blends visual tools into the editor so you get the right amount of help when you want it.

root@raspberry:~# apt-get install brackets


22-Jun 2017


tux cheering penguin gif animatedThe job is done.

Hafenzoll 2019