Skip to content

Commit

Permalink
add redis and memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
tzookb committed Jan 18, 2015
1 parent c70eaa1 commit 0656a33
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bash/extra_commands/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!example.sh
4 changes: 4 additions & 0 deletions bash/extra_commands/example.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

# you can create another file here for running extra needed stuff, like
# writing aliases, restarting stuff, whatever...
6 changes: 6 additions & 0 deletions bash/memcached.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

echo " ------------------------- Install Redis ------------------------- "

sudo apt-get update
sudo apt-get install php5-memcached memcached
7 changes: 7 additions & 0 deletions bash/redis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

echo " ------------------------- Install Redis ------------------------- "

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
4 changes: 1 addition & 3 deletions bash/xdebug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ xdebug.cli_color=1
xdebug.show_local_vars=1
EOF

echo "now we need to restart the server"
echo " ------------------------- Restarting Nginx ------------------------- "
echo "sudo service nginx restart"
echo " ------------------------- YOU NEED TO RESTART SERVER ------------------------- "

0 comments on commit 0656a33

Please sign in to comment.