- Git
- Apache2
- PHP V7.3
- MySQL V5.7
- Redis
- Composer
- NodeJS
- Npm
- Memcached
- PHPUnit
- Zsh
- Instalar VirtualBox
- Instalar Vagrant
- Clona el proyecto
git clone [email protected]:<user>/ubuntu-lamp-php7.git lamp7
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-hostmanager
- Ve al directorio donde está ubicado el archivo README.md (
cd lemp7
) - Ejecuta
vagrant up
- Verifica que tu archivo hosts tenga la siguiente linea de instrucción
192.168.2.4 lamp7.vh
- Visita en tu navegador el siguiente enlace lemp7
wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | zsh
sudo chsh -s `which zsh`
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting && \
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/plugins/zsh-autosuggestions && \
sed -i -e 's/git/git zsh-syntax-highlighting zsh-autosuggestions/' ~/.zshrc
sed -i -e 's/robbyrussell/risto/' ~/.zshrc
source ~/.zshrc
sudo apt install redis-server
sudo vim /etc/redis/redis.conf > supervised systemd
sudo systemctl restart redis.service
sudo systemctl status redis
sudo redis-cli
> ping
sudo vim /etc/redis/redis.conf > bind 127.0.0.1 ::1
sudo systemctl restart redis
sudo netstat -lnp | grep redis
sudo vim /etc/redis/redis.conf
sudo openssl rand 60 | openssl base64 -A
sudo requirepass foobared > change pass
sudo systemctl restart redis.service