File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,15 @@ Vagrant.configure("2") do |config|
110110 sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE codeigniter TO root"
111111 systemctl restart postgresql
112112
113+ echo "================================================================================"
114+ echo "Configuring Memcached and Redis"
115+ echo "================================================================================"
116+
117+ sed -i "s/^bind 127.0.0.1 ::1/#bind 127.0.0.1 ::1/" /etc/redis/redis.conf
118+ sed -i "s/^protected-mode yes/protected-mode no/" /etc/redis/redis.conf
119+ sed -i "s/^-l 127.0.0.1/#-l 127.0.0.1/" /etc/memcached.conf
120+ systemctl restart redis
121+ systemctl restart memcached
113122
114123 echo "================================================================================"
115124 echo "Configuring Virtual Hosts"
You can’t perform that action at this time.
0 commit comments