This file contains hidden or 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
pacman -S git nodejs npm ruby geary dropbox vlc qt4 filezilla mysql-workbench docker gimp python3 atom |
This file contains hidden or 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
#Instalando as dependências do Rails: | |
sudo pacman -S nodejs | |
#Instalando o Ruby | |
sudo pacman -S ruby | |
#Permitindo o Ruby on Rails em qualquer versão (Em algumas instalações deu erro e isto corrigiu o caminho) | |
nano ~/.bashrc | |
if which ruby >/dev/null && which gem >/dev/null; then |
This file contains hidden or 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
Retirado daqui: http://dominicm.com/install-mysql-mariadb-on-arch-linux/ | |
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql | |
sudo systemctl start mysqld | |
sudo systemctl enable mysqld | |
Neste passo, já resolveu aqui, caso precise continue os passos seguintes. |
This file contains hidden or 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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# https://www.nginx.com/resources/wiki/start/ | |
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ | |
# https://wiki.debian.org/Nginx/DirectoryStructure | |
# | |
# In most cases, administrators will remove this file from sites-enabled/ and | |
# leave it as reference inside of sites-available where it will continue to be | |
# updated by the nginx packaging team. |
This file contains hidden or 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
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
deb-src http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
###### Debian Update Repos | |
deb http://security.debian.org/ jessie/updates main contrib non-free |
This file contains hidden or 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
server { | |
listen 80; | |
server_name NOMEDOAPP.app; | |
root /home/martins/Dropbox/vhosts/NOMEDOAPP.app; | |
index index.php index.html index.htm; | |
charset utf-8; | |
location / { |
This file contains hidden or 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
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls | |
# http://wiki.nginx.org/QuickStart | |
# http://wiki.nginx.org/Configuration | |
# | |
# Generally, you will want to move this file somewhere, and start with a clean | |
# file but keep this around for reference. Or just disable in sites-enabled. | |
# |
This file contains hidden or 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
Pra facilitar, logado como SU no terminal, use as etapas a seguir: | |
1- nano /etc/apt/sources.list | |
/* COLE O CONTEÚDO ABAIXO E DEPOIS CTRL+O e CTRL+X */ | |
deb http://ftp.br.debian.org/debian jessie main contrib non-free | |
deb-src http://ftp.br.debian.org/debian jessie main contrib non-free | |
deb http://security.debian.org/ jessie/updates main contrib non-free |
This file contains hidden or 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
server { | |
listen 80; | |
server_name NOMEDAAPP.app; | |
root /home/martins/Dropbox/NOMEDAAPP.app/public; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { |
NewerOlder