Difference between revisions of "Raspberry first setup"

From Hobbywiki
Jump to: navigation, search
Line 13: Line 13:
 
*apt-get install apache2 php5 libapache2-mod-php5
 
*apt-get install apache2 php5 libapache2-mod-php5
 
*sudo apt-get install mysql-server mysql-client php5-mysql
 
*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
 
  
 
*apt-get install python-mysqldb
 
*apt-get install python-mysqldb
  
 
*apt-get install phpmyadmin
 
*apt-get install phpmyadmin

Revision as of 20:46, 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 python-mysqldb
  • apt-get install phpmyadmin