Difference between revisions of "Raspberry first setup"

From Hobbywiki
Jump to: navigation, search
Line 17: Line 17:
 
       anonymous_enable=YES to anonymous_enable=NO
 
       anonymous_enable=YES to anonymous_enable=NO
 
       Uncomment local_enable=YES and write_enable=YES
 
       Uncomment local_enable=YES and write_enable=YES
 +
*service vsftpd restart

Revision as of 20:40, 7 March 2014

  • apt-get update
  • apt-get install vim

Edit /etc/network/interfaces

iface eth0 inet static
       address 192.0.2.7
       netmask 255.255.255.0
       gateway 192.0.2.254
reboot
  • apt-get install apache2 php5 libapache2-mod-php5
  • sudo apt-get install mysql-server mysql-client php5-mysql
  • apt-get install vsftpd
vi /etc/vsftpd.conf
     anonymous_enable=YES to anonymous_enable=NO
     Uncomment local_enable=YES and write_enable=YES
  • service vsftpd restart