aboutsummaryrefslogtreecommitdiff
path: root/misc/gn_installation_notes.txt
diff options
context:
space:
mode:
authorZachary Sloan2013-07-18 15:06:40 -0500
committerZachary Sloan2013-07-18 15:06:40 -0500
commit89c4dc078c6371e4bc56bf8708fc7dca6c49b350 (patch)
tree2c6fa9e5c78fa3252b52c537a9cb24c2f1437a44 /misc/gn_installation_notes.txt
parentd9065d1b94c3305f06c4ee368d4b0850b3a96e21 (diff)
parent1a3a456eb7635337a966913f2e2e75c8a89bb92e (diff)
downloadgenenetwork2-89c4dc078c6371e4bc56bf8708fc7dca6c49b350.tar.gz
Merge branch 'master' of https://github.com/zsloan/genenetwork
Conflicts: wqflask/base/webqtlConfigLocal.py wqflask/maintenance/gen_select_dataset.py wqflask/wqflask/static/new/javascript/dataset_menu_structure.json
Diffstat (limited to 'misc/gn_installation_notes.txt')
-rw-r--r--misc/gn_installation_notes.txt59
1 files changed, 59 insertions, 0 deletions
diff --git a/misc/gn_installation_notes.txt b/misc/gn_installation_notes.txt
index d32faad7..fb38844f 100644
--- a/misc/gn_installation_notes.txt
+++ b/misc/gn_installation_notes.txt
@@ -160,6 +160,65 @@ service mysql start
Stop MySQL server:
service mysql stop
+Change root password:
+mysql> UPDATE mysql.user SET Password=PASSWORD('your password') WHERE User='root';
+
+Setup accounts in MySQL (first need to delete anonymous/non-root accounts):
+#; use mysql;
+#; select * from user;
+#; delete from user where Host!="localhost";
+#; delete from user where User!="root";
+#; update user set Password = Password('yourpassword') where User='root';
+#; GRANT ALL ON *.* TO 'yourusername'@'%' IDENTIFIED BY 'yourpassword';
+#; select * from user;
+
+============================================
+
+Check RSA key:
+ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key
+
+03:2c:d7:01:01:f0:31:3a:c8:df:e4:98:62:2c:59:d2 root@penguin (RSA)
+
+============================================
+
+Installing redis server
+
+In the dls directory:
+$ wget http://redis.googlecode.com/files/redis-2.6.14.tar.gz
+$ tar xzf redis-2.6.14.tar.gz
+$ cd redis-2.6.14
+$ make
+
+Run redis (from inside redis-2.6.14 directory):
+src/redis-server
+
+For the rest of the installation instructions, refer to:
+http://redis.io/topics/quickstart
+
+To continue installation (from the README):
+
+In order to install Redis binaries into /usr/local/bin just use:
+
+ % make install
+
+Make install will just install binaries in your system, but will not configure
+init scripts and configuration files in the appropriate place. This is not
+needed if you want just to play a bit with Redis, but if you are installing
+it the proper way for a production system, we have a script doing this
+for Ubuntu and Debian systems:
+
+ % cd utils
+ % ./install_server
+
+The script will ask you a few questions and will setup everything you need
+to run Redis properly as a background daemon that will start again on
+system reboots.
+
+In the redis config file (/etc/redis/6379.conf) uncomment the following line:
+bind 127.0.0.1
+
+This is so only the local computer has access
+
============================================
Check RSA key: