Differences
This shows you the differences between two versions of the page.
| linux:centos7 [2017/05/17 15:59] – created lamboringo | linux:centos7 [2017/05/22 07:18] (current) – lamboringo | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| tools | tools | ||
| - | yum -y install net-tools wget htop glances dkms autoconf.noarch automake.noarch gtk-murrine-engine.x86_64 gtk3-devel.x86_64 pkgconfig.x86_64 | + | yum -y install net-tools wget htop glances dkms autoconf.noarch automake.noarch gtk-murrine-engine.x86_64 gtk3-devel.x86_64 |
| yum groupinstall " | yum groupinstall " | ||
| git clone https:// | git clone https:// | ||
| Line 28: | Line 28: | ||
| rpm -ivh epel-release-7-9.noarch.rpm | rpm -ivh epel-release-7-9.noarch.rpm | ||
| - | ===== system | + | ===== desktop |
| - | liveinstall enable network, set hostname | + | yum groupinstall " |
| + | yum -y install cinnamon* | ||
| + | ln -sf / | ||
| + | |||
| + | ===== login ===== | ||
| - | install | + | yum install |
| + | systemctl disable gdm.service | ||
| + | systemctl enable lightdm.service | ||
| + | |||
| + | ===== rpm ===== | ||
| - | yum update | + | yum install system-config-firewall.noarch system-config-keyboard.noarch system-config-users.noarch |
| - | disable selinux | + | ===== mysql/ |
| - | | + | |
| + | systemctl start mariadb | ||
| + | systemctl enable mariadb | ||
| + | / | ||
| - | tools | + | ==== gsisitedb ==== |
| - | yum -y install net-tools wget htop glances | + | **old site** |
| - | ===== repos ==== | + | export existing user rights |
| + | <code bash backup.db.users> | ||
| + | #!/bin/bash | ||
| - | wget http:// | + | mygrants() { |
| - | rpm -ivh epel-release-7-9.noarch.rpm | + | mysql -B -N $@ -e " |
| + | 'SHOW GRANTS FOR \'', | ||
| + | ) AS query FROM mysql.user" | ||
| + | mysql -r $@ | \ | ||
| + | sed 's/\(GRANT | ||
| + | } | ||
| - | ===== desktop ===== | + | mygrants --host=localhost --user=root --password=secret |
| + | </ | ||
| + | ./ | ||
| - | yum groupinstall " | + | **new site** |
| - | | + | |
| - | | + | * copy db export and import in mysql |
| + | | ||
| + | * rsync --archive --itemize-changes --stats -h -e ssh user@newsite: | ||
| + | |||
| + | |||
| + | ===== httpd, PHP ===== | ||
| + | |||
| + | yum install httpd httpd-tools yum install mod_ssl | ||
| + | yum install php phpMyAdmin | ||
| + | systemctl enable httpd | ||
| + | systemctl start httpd | ||
| + | |||
| + | ====== to do ====== | ||
| + | |||
| + | * mysql migration | ||
| + | * postgresql migration | ||
| + | * http | ||
| + | * ABCdb, silico wiki, master bioinfo, mobyle | ||
| + | * MLST ? | ||
| + | * subversion svn, git | ||