RaspberryPi3B: Difference between revisions
(→Apache) |
|||
| Line 9: | Line 9: | ||
sudo apt-get install apache2 | sudo apt-get install apache2 | ||
chmod 777 /var/www/html | chmod 777 /var/www/html | ||
===MySQL=== | |||
* install by | |||
sudo apt-get install mysql-server php5-mysql mysql-client | |||
root root | |||
===Wildfly=== | ===Wildfly=== | ||
Revision as of 21:20, 9 November 2017
Configuration
- 192.168.178.34 for WLAN
- 192.168.178.35 for LAN
- SSH credentials (e.g. for WinSCP or Putty) user=pi pwd=raspberry for both IP
Software
Apache
sudo apt-get install apache2 chmod 777 /var/www/html
MySQL
- install by
sudo apt-get install mysql-server php5-mysql mysql-client root root
Wildfly
- create /wildfly directory and chmod 777
- copy wildfly-11.0.0.Final.zip to /wildfly
- unzip
- cd /wildfly/wildfly-11.0.0.Final/bin
- start server by
./standalone.sh &
- stop server by
./jboss-cli.sh --connect command=:shutdown
- restart server by
./jboss-cli.sh --connect command=:reload
Operation
Shutdown
sudo shutdown -h 0
Update
sudo apt-get update