pacman -S php mysql mysql-clients nginx
[root@alarmpi /]# pacman -S php mysql mysql-clients nginx
resolving dependencies...
looking for inter-conflicts...
Targets (8): geoip-1.4.8-2 geoip-database-20121105-1 libmysqlclient-5.5.29-1
libxml2-2.8.0-1 mysql-5.5.29-1 mysql-clients-5.5.29-1
nginx-1.2.6-1 php-5.4.10-1
Total Download Size: 16.75 MiB
Total Installed Size: 143.05 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
libxml2-2.8.0-1-armv6h 1321.7 KiB 116K/s 00:11 [######################] 100%
php-5.4.10-1-armv6h 2.6 MiB 148K/s 00:18 [######################] 100%
libmysqlclient-5.5.... 2.8 MiB 130K/s 00:22 [######################] 100%
mysql-clients-5.5.2... 742.8 KiB 109K/s 00:07 [######################] 100%
mysql-5.5.29-1-armv6h 8.2 MiB 123K/s 01:09 [######################] 100%
geoip-database-2012... 707.7 KiB 101K/s 00:07 [######################] 100%
geoip-1.4.8-2-armv6h 115.5 KiB 71.1K/s 00:02 [######################] 100%
:: Retrieving packages from community...
nginx-1.2.6-1-armv6h 309.0 KiB 65.9K/s 00:05 [######################] 100%
(8/8) checking package integrity [######################] 100%
(8/8) loading package files [######################] 100%
(8/8) checking for file conflicts [######################] 100%
(8/8) checking available disk space [######################] 100%
(1/8) installing libxml2 [######################] 100%
(2/8) installing php [######################] 100%
(3/8) installing libmysqlclient [######################] 100%
(4/8) installing mysql-clients [######################] 100%
(5/8) installing mysql [######################] 100%
WARNING: The host 'alarmpi' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h alarmpi password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/scripts/mysqlbug script!
(6/8) installing geoip-database [######################] 100%
(7/8) installing geoip [######################] 100%
(8/8) installing nginx [######################] 100%
Installation finished.
( i need mysql-python for that i am learning python :D )
if you need python, then install python on it.
pamcan -S python mysql-python