Skip to content

Instantly share code, notes, and snippets.

@pklaus
Created April 30, 2011 15:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pklaus/949765 to your computer and use it in GitHub Desktop.
Save pklaus/949765 to your computer and use it in GitHub Desktop.
Installing Apache, MySQL and PHP on a Linux box running Plugbox Linux
[root@PlugApps ~]# pacman -Sy apache mysql php
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
resolving dependencies...
looking for inter-conflicts...
Targets (10): apr-1.4.2-1 libtool-2.4-2 unixodbc-2.3.0-1 apr-util-1.3.10-2 apache-2.2.17-1 libmysqlclient-5.5.11-1 mysql-clients-5.5.11-1 mysql-5.5.11-1 libxml2-2.7.8-1
php-5.3.6-2
Total Download Size: 14.54 MB
Total Installed Size: 133.82 MB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
libtool-2.4-2-arm 374.4K 253.0K/s 00:00:01 [################################################################] 100%
:: Retrieving packages from extra...
apr-1.4.2-1-arm 216.6K 201.2K/s 00:00:01 [################################################################] 100%
unixodbc-2.3.0-1-arm 164.8K 158.5K/s 00:00:01 [################################################################] 100%
apr-util-1.3.10-2-arm 130.0K 63.7K/s 00:00:02 [################################################################] 100%
apache-2.2.17-1-arm 785.7K 124.2K/s 00:00:06 [################################################################] 100%
libmysqlclient-5.5.11-1-arm 2.7M 149.8K/s 00:00:19 [################################################################] 100%
mysql-clients-5.5.11-1-arm 723.4K 124.6K/s 00:00:06 [################################################################] 100%
mysql-5.5.11-1-arm 5.5M 220.7K/s 00:00:26 [################################################################] 100%
libxml2-2.7.8-1-arm 1340.6K 198.2K/s 00:00:07 [################################################################] 100%
php-5.3.6-2-arm 2.6M 246.1K/s 00:00:11 [################################################################] 100%
(10/10) checking package integrity [################################################################] 100%
(10/10) checking for file conflicts [################################################################] 100%
( 1/10) installing apr [################################################################] 100%
( 2/10) installing libtool [################################################################] 100%
( 3/10) installing unixodbc [################################################################] 100%
( 4/10) installing apr-util [################################################################] 100%
( 5/10) installing apache [################################################################] 100%
Optional dependencies for apache
lynx: apachectl status
( 6/10) installing libmysqlclient [################################################################] 100%
( 7/10) installing mysql-clients [################################################################] 100%
( 8/10) installing mysql [################################################################] 100%
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 PlugApps 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!
Optional dependencies for mysql
perl-dbi
perl-dbd-mysql
( 9/10) installing libxml2 [################################################################] 100%
(10/10) installing php [################################################################] 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment