##Livros / Ebooks / Tutoriais
##Instalar PHP e modulos no linux usando yum
yum -y install php php-common php-mysql php-gd php-mbstring php-xml php-xmlrpc
##Instalar o Apache usando yum
yum -y install httpd
Agora, basta fazer com que o Apache seja inicializado no boot:
chkconfig –levels 2345 httpd on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comando para instalar o mysql | |
# yum -y install mysql-server mysql | |
Quando a instalação finalizar, você deverá inicializar o serviço e definir a senha de root: | |
# service mysqld start | |
# mysqladmin -u root password ‘nova-senha’ | |
Para fazer com que o MySQL seja inicializado automaticamente no boot: | |
# chkconfig –levels 2345 mysqld on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text-2 |
NewerOlder