Já visualizei o tópico kb.html?a=88 a respeito da instalação do lamp e não consegui, quando chega na primeira parte do item 3 de abrir o localhost, da um erro (Firefox can't establish a connection to the server at localhost.), segue a baixo o meu terminal historico:
[[email protected] ~]$ yaourt lamp
package-query: error while loading shared libraries: libalpm.so.8: cannot open shared object file: No such file or directory
[[email protected] ~]$ sudo pacman -S apache php php-apache mysql
[sudo] password for vostrinho:
:: Existem 2 provedores disponíveis para mysql:
:: Repositório extra
1) mariadb
:: Repositório community
2) percona-server
Digite um número (padrão=1): 1
resolvendo dependências...
procurando por pacotes conflitantes...
Pacotes (8) jemalloc-3.6.0-1 libmariadbclient-10.0.15-1 libzip-0.11.2-1
mariadb-clients-10.0.15-1 apache-2.4.10-1 mariadb-10.0.15-1
php-5.6.5-1 php-apache-5.6.5-1
Tamanho total download: 26,58 MiB
Tamanho total instalado: 187,85 MiB
:: Continuar a instalação? [S/n]
:: Obtendo pacotes ...
apache-2.4.10-1-x86_64 1291,5 KiB 185K/s 00:07 [######################] 100%
libzip-0.11.2-1-x86_64 85,8 KiB 161K/s 00:01 [######################] 100%
php-5.6.5-1-x86_64 4,3 MiB 91,6K/s 00:48 [######################] 100%
php-apache-5.6.5-1-... 3,0 MiB 138K/s 00:22 [######################] 100%
libmariadbclient-10... 4,2 MiB 155K/s 00:28 [######################] 100%
jemalloc-3.6.0-1-x86_64 144,4 KiB 201K/s 00:01 [######################] 100%
mariadb-clients-10.... 936,4 KiB 199K/s 00:05 [######################] 100%
mariadb-10.0.15-1-x... 12,8 MiB 186K/s 01:10 [######################] 100%
(8/8) verificando chaves no chaveiro [######################] 100%
(8/8) verificando integridade do pacote [######################] 100%
(8/8) carregando arquivos do pacote [######################] 100%
(8/8) verificando conflitos de arquivo [######################] 100%
(8/8) verificando espaço em disco disponível [######################] 100%
(1/8) instalando apache [######################] 100%
Dependências opcionais para apache
lua: for mod_lua module [instalado]
openssl: for mod_ssl module [instalado]
libxml2: for mod_proxy_html, mod_xml2enc modules [instalado]
lynx: apachectl status
(2/8) instalando libzip [######################] 100%
(3/8) instalando php [######################] 100%
(4/8) instalando php-apache [######################] 100%
(5/8) instalando libmariadbclient [######################] 100%
(6/8) instalando jemalloc [######################] 100%
Dependências opcionais para jemalloc
perl: memory profiler [instalado]
(7/8) instalando mariadb-clients [######################] 100%
(8/8) instalando mariadb [######################] 100%
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
150128 20:16:51 [Note] InnoDB: Using mutexes to ref count buffer pool pages
150128 20:16:51 [Note] InnoDB: The InnoDB memory heap is disabled
150128 20:16:51 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150128 20:16:51 [Note] InnoDB: Memory barrier is not used
150128 20:16:51 [Note] InnoDB: Compressed tables use zlib 1.2.8
150128 20:16:51 [Note] InnoDB: Using Linux native AIO
150128 20:16:51 [Note] InnoDB: Using CPU crc32 instructions
150128 20:16:51 [Note] InnoDB: Initializing buffer pool, size = 128.0M
150128 20:16:51 [Note] InnoDB: Completed initialization of buffer pool
150128 20:16:51 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
150128 20:16:51 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
150128 20:16:51 [Note] InnoDB: Database physically writes the file full: wait...
150128 20:16:52 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
150128 20:16:52 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
150128 20:16:53 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
150128 20:16:53 [Warning] InnoDB: New log files created, LSN=45781
150128 20:16:53 [Note] InnoDB: Doublewrite buffer not found: creating new
150128 20:16:53 [Note] InnoDB: Doublewrite buffer created
150128 20:16:53 [Note] InnoDB: 128 rollback segment(s) are active.
150128 20:16:53 [Warning] InnoDB: Creating foreign key constraint system tables.
150128 20:16:53 [Note] InnoDB: Foreign key constraint system tables created
150128 20:16:53 [Note] InnoDB: Creating tablespace and datafile system tables.
150128 20:16:53 [Note] InnoDB: Tablespace and datafile system tables created.
150128 20:16:53 [Note] InnoDB: Waiting for purge to start
150128 20:16:53 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.21-70.0 started; log sequence number 0
150128 20:16:53 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
150128 20:16:59 [Note] InnoDB: FTS optimize thread exiting.
150128 20:16:59 [Note] InnoDB: Starting shutdown...
150128 20:17:00 [Note] InnoDB: Shutdown completed; log sequence number 1616697
OK
Filling help tables...
150128 20:17:01 [Note] InnoDB: Using mutexes to ref count buffer pool pages
150128 20:17:01 [Note] InnoDB: The InnoDB memory heap is disabled
150128 20:17:01 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150128 20:17:01 [Note] InnoDB: Memory barrier is not used
150128 20:17:01 [Note] InnoDB: Compressed tables use zlib 1.2.8
150128 20:17:01 [Note] InnoDB: Using Linux native AIO
150128 20:17:01 [Note] InnoDB: Using CPU crc32 instructions
150128 20:17:01 [Note] InnoDB: Initializing buffer pool, size = 128.0M
150128 20:17:01 [Note] InnoDB: Completed initialization of buffer pool
150128 20:17:01 [Note] InnoDB: Highest supported file format is Barracuda.
150128 20:17:01 [Note] InnoDB: 128 rollback segment(s) are active.
150128 20:17:01 [Note] InnoDB: Waiting for purge to start
150128 20:17:01 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.21-70.0 started; log sequence number 1616697
150128 20:17:01 [Note] InnoDB: FTS optimize thread exiting.
150128 20:17:01 [Note] InnoDB: Starting shutdown...
150128 20:17:03 [Note] InnoDB: Shutdown completed; log sequence number 1616707
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 MariaDB 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 dellvostro 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 MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
SkySQL Ab. You can contact us about this at [email protected].
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-t ... b-project/
Dependências opcionais para mariadb
perl-dbd-mysql: for mysqlhotcopy, mysql_convert_table_format and
mysql_setpermission
[[email protected] ~]$ sudo systemctl enable httpd
[sudo] password for vostrinho:
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[[email protected] ~]$ sudo systemctl enable httpd
[[email protected] ~]$ sudo systemctl disable httpd
Removed symlink /etc/systemd/system/multi-user.target.wants/httpd.service.
[[email protected] ~]$ sudo systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[[email protected] ~]$
package-query: error while loading shared libraries: libalpm.so.8: cannot open shared object file: No such file or directory
[[email protected] ~]$ sudo pacman -S apache php php-apache mysql
[sudo] password for vostrinho:
:: Existem 2 provedores disponíveis para mysql:
:: Repositório extra
1) mariadb
:: Repositório community
2) percona-server
Digite um número (padrão=1): 1
resolvendo dependências...
procurando por pacotes conflitantes...
Pacotes (8) jemalloc-3.6.0-1 libmariadbclient-10.0.15-1 libzip-0.11.2-1
mariadb-clients-10.0.15-1 apache-2.4.10-1 mariadb-10.0.15-1
php-5.6.5-1 php-apache-5.6.5-1
Tamanho total download: 26,58 MiB
Tamanho total instalado: 187,85 MiB
:: Continuar a instalação? [S/n]
:: Obtendo pacotes ...
apache-2.4.10-1-x86_64 1291,5 KiB 185K/s 00:07 [######################] 100%
libzip-0.11.2-1-x86_64 85,8 KiB 161K/s 00:01 [######################] 100%
php-5.6.5-1-x86_64 4,3 MiB 91,6K/s 00:48 [######################] 100%
php-apache-5.6.5-1-... 3,0 MiB 138K/s 00:22 [######################] 100%
libmariadbclient-10... 4,2 MiB 155K/s 00:28 [######################] 100%
jemalloc-3.6.0-1-x86_64 144,4 KiB 201K/s 00:01 [######################] 100%
mariadb-clients-10.... 936,4 KiB 199K/s 00:05 [######################] 100%
mariadb-10.0.15-1-x... 12,8 MiB 186K/s 01:10 [######################] 100%
(8/8) verificando chaves no chaveiro [######################] 100%
(8/8) verificando integridade do pacote [######################] 100%
(8/8) carregando arquivos do pacote [######################] 100%
(8/8) verificando conflitos de arquivo [######################] 100%
(8/8) verificando espaço em disco disponível [######################] 100%
(1/8) instalando apache [######################] 100%
Dependências opcionais para apache
lua: for mod_lua module [instalado]
openssl: for mod_ssl module [instalado]
libxml2: for mod_proxy_html, mod_xml2enc modules [instalado]
lynx: apachectl status
(2/8) instalando libzip [######################] 100%
(3/8) instalando php [######################] 100%
(4/8) instalando php-apache [######################] 100%
(5/8) instalando libmariadbclient [######################] 100%
(6/8) instalando jemalloc [######################] 100%
Dependências opcionais para jemalloc
perl: memory profiler [instalado]
(7/8) instalando mariadb-clients [######################] 100%
(8/8) instalando mariadb [######################] 100%
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
150128 20:16:51 [Note] InnoDB: Using mutexes to ref count buffer pool pages
150128 20:16:51 [Note] InnoDB: The InnoDB memory heap is disabled
150128 20:16:51 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150128 20:16:51 [Note] InnoDB: Memory barrier is not used
150128 20:16:51 [Note] InnoDB: Compressed tables use zlib 1.2.8
150128 20:16:51 [Note] InnoDB: Using Linux native AIO
150128 20:16:51 [Note] InnoDB: Using CPU crc32 instructions
150128 20:16:51 [Note] InnoDB: Initializing buffer pool, size = 128.0M
150128 20:16:51 [Note] InnoDB: Completed initialization of buffer pool
150128 20:16:51 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
150128 20:16:51 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
150128 20:16:51 [Note] InnoDB: Database physically writes the file full: wait...
150128 20:16:52 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
150128 20:16:52 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
150128 20:16:53 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
150128 20:16:53 [Warning] InnoDB: New log files created, LSN=45781
150128 20:16:53 [Note] InnoDB: Doublewrite buffer not found: creating new
150128 20:16:53 [Note] InnoDB: Doublewrite buffer created
150128 20:16:53 [Note] InnoDB: 128 rollback segment(s) are active.
150128 20:16:53 [Warning] InnoDB: Creating foreign key constraint system tables.
150128 20:16:53 [Note] InnoDB: Foreign key constraint system tables created
150128 20:16:53 [Note] InnoDB: Creating tablespace and datafile system tables.
150128 20:16:53 [Note] InnoDB: Tablespace and datafile system tables created.
150128 20:16:53 [Note] InnoDB: Waiting for purge to start
150128 20:16:53 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.21-70.0 started; log sequence number 0
150128 20:16:53 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
150128 20:16:59 [Note] InnoDB: FTS optimize thread exiting.
150128 20:16:59 [Note] InnoDB: Starting shutdown...
150128 20:17:00 [Note] InnoDB: Shutdown completed; log sequence number 1616697
OK
Filling help tables...
150128 20:17:01 [Note] InnoDB: Using mutexes to ref count buffer pool pages
150128 20:17:01 [Note] InnoDB: The InnoDB memory heap is disabled
150128 20:17:01 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
150128 20:17:01 [Note] InnoDB: Memory barrier is not used
150128 20:17:01 [Note] InnoDB: Compressed tables use zlib 1.2.8
150128 20:17:01 [Note] InnoDB: Using Linux native AIO
150128 20:17:01 [Note] InnoDB: Using CPU crc32 instructions
150128 20:17:01 [Note] InnoDB: Initializing buffer pool, size = 128.0M
150128 20:17:01 [Note] InnoDB: Completed initialization of buffer pool
150128 20:17:01 [Note] InnoDB: Highest supported file format is Barracuda.
150128 20:17:01 [Note] InnoDB: 128 rollback segment(s) are active.
150128 20:17:01 [Note] InnoDB: Waiting for purge to start
150128 20:17:01 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.21-70.0 started; log sequence number 1616697
150128 20:17:01 [Note] InnoDB: FTS optimize thread exiting.
150128 20:17:01 [Note] InnoDB: Starting shutdown...
150128 20:17:03 [Note] InnoDB: Shutdown completed; log sequence number 1616707
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 MariaDB 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 dellvostro 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 MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
SkySQL Ab. You can contact us about this at [email protected].
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-t ... b-project/
Dependências opcionais para mariadb
perl-dbd-mysql: for mysqlhotcopy, mysql_convert_table_format and
mysql_setpermission
[[email protected] ~]$ sudo systemctl enable httpd
[sudo] password for vostrinho:
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[[email protected] ~]$ sudo systemctl enable httpd
[[email protected] ~]$ sudo systemctl disable httpd
Removed symlink /etc/systemd/system/multi-user.target.wants/httpd.service.
[[email protected] ~]$ sudo systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[[email protected] ~]$
== Editado em 28 Jan 2015, 19:58 ==
Funcionou o que nao estava funcionando, precisei reiniciar o manjaro igual eu fazia no windows 98 depois de instalar as coisas, pelo menos não é demorado igual ao mint 17.1.
Vamos ver o resto agora.
! | Holmes escreveu: |
Título editado para adequá-lo ao conteúdo do tópico. |