With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Raspberry Pi Webserver
Translation from German:Step 1The first thing we do withsudo apt-get updateandsudo apt-get upgradean update and upgrade the operating systemNow comes the actual installation. First, the Apache web server with PHP 5sudo apt-get install apache2 php5 libapache2-mod-php5press When asked "Do you want to continue" simple "Y".sudo groupadd www-data undsudo usermod -g www-data www-datasudo service apache2 restartNow we have installed the server. they need to test it just to enter the IP of Raspberrys in the address bar of the browser. There should be a website with the text "It Works" or happen.sudo nano /etc/apache2/sites-enabled/000-defaultto permit .htaccess files. After " AllowOverride None Search" and "AllowOverride ALL rewrite". After that close the Tastenkobination Ctrl + X Y Save the file andNow we start the server with sudo service apache2 restart restarting.
Translation from German: Step 2: MySQL and FTPInstallation of MySQLsudo apt-get install mysql-server mysql-client php5-mysqlSimply press When asked "Do you want to continue" "Y". You will be asked for your new MySQL password (they enter a new password) you need to enter the same password for confirmation a second time. After a short waiting time they have successfully installed MySQL.Installation from FTP serversudo chown -R pi/var/wwwsudo apt-get install vsftpdsudo nano /etc/vsftpd.confSearch it for " anonymous_enable = YES ""#local_enable=YES""#write_enable_YES"And they replaced respectively by:"anonymous_enable=NO""local_enable=YES""write_enable=YES"And they add at the bottom: " force_dot_files = YES " addedsudo service vsftpd restartThe FTP server restart.Each verbindem via FTP must manually in change directory / var / www.
Would be better to write it in english! And no Google translate doesn't really help with german.
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.