sudo apt-get update
sudo apt-get upgrade
sudo reboot
== Update Firmwares
sudo apt-get install ca-certificates
sudo apt-get install git-core
sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
sudo rpi-update
sudo shutdown -r now
sudo apt-get clean
== Change IP
sudo nano /etc/network/interfaces
Change
iface eth0 inet dhcp
to
iface eth0 inet static
address 192.168.75.130
netmask 255.255.255.0
network 192.168.75.0
broadcast 192.168.75.255
gateway 192.168.75.1
SAVE
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo service apache2 restart
= MY SQL
sudo apt-get install mysql-server mysql-client php5-mysql
= INSTALL FTP
sudo chown -R pi /var/www
sudo apt-get install vsftpd
sudo
nano /etc/vsftpd.conf
Change anonymous_enable=YES to anonymous_enable=NO,
Uncomment local_enable=YES
Uncomment write_enable=YES
Uncomment local_umask=022
then go to the bottom of the file and
add force_dot_files=YES
sudo service vsftpd restart
ln -s /var/www/ ~/www
Change the root password of your Raspberry Pi with the following command:
sudo passwd root
Add the user root as a mod with the following command:
sudo usermod -L root