aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorZachary Sloan2013-07-23 17:12:29 -0500
committerZachary Sloan2013-07-23 17:12:29 -0500
commit930d8b0cf0c7bf88fee1de95852dfe883418a494 (patch)
tree04d542a01dba0c4529f55912ab242a3bc61459aa /misc
parent82f493650909e2351035e26e9dc82b16498beb48 (diff)
downloadgenenetwork2-930d8b0cf0c7bf88fee1de95852dfe883418a494.tar.gz
Fixed a couple issues with he quick_search_table.py script
Added notes on using percona to optimise mysql to gn_installation_notes.txt Started moving "get_trait_data" to DataSet since it is the same regardless of the particular DataSet subclass (PhenotypeDataSet, MrnaAssayDataSet, etc)
Diffstat (limited to 'misc')
-rw-r--r--misc/gn_installation_notes.txt8
-rw-r--r--misc/notes.txt15
2 files changed, 23 insertions, 0 deletions
diff --git a/misc/gn_installation_notes.txt b/misc/gn_installation_notes.txt
index fb38844f..91fe1781 100644
--- a/misc/gn_installation_notes.txt
+++ b/misc/gn_installation_notes.txt
@@ -172,6 +172,14 @@ Setup accounts in MySQL (first need to delete anonymous/non-root accounts):
#; GRANT ALL ON *.* TO 'yourusername'@'%' IDENTIFIED BY 'yourpassword';
#; select * from user;
+Use Percona to optimise my.cfg file:
+https://tools.percona.com/wizard
+
+To check # CPUs:
+grep -c processor /proc/cpuinfo
+
+To check memory, can use htop
+
============================================
Check RSA key:
diff --git a/misc/notes.txt b/misc/notes.txt
index d9bd6e41..9e61e527 100644
--- a/misc/notes.txt
+++ b/misc/notes.txt
@@ -269,6 +269,21 @@ grep -ir (search string) (directory)
===========================================
+Change owner/group:
+
+chown zas1024 somefile (change owner of somefile to zas1024)
+chown zas1024: somefile (change owner and group of somefile to zas1024)
+sudo chown root: somefile (change owner/group of somefile to root)
+
+Change permissions:
+
+chmod g-wr (remove write/read privileges for group)
+chmod g+w (add write privileges for group)
+chmod u+rwx (add read, write, and execute privileges for user)
+etc.
+
+===========================================
+
MySQL Things -
Create fulltext (MATCH AGAINST syntax) index: