Difference between revisions of "User:Alvonruff/ISFDB2 Notes"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
* dnf install mysql-devel.x86_64 | * dnf install mysql-devel.x86_64 | ||
* pip2 install mysqlclient'' | * pip2 install mysqlclient'' | ||
+ | |||
+ | ==MediaWiki== | ||
+ | sudo dnf install php-cli | ||
+ | sudo dnf install php-mysqli | ||
==Versions== | ==Versions== | ||
Line 43: | Line 47: | ||
* MySQL: 8.0.26 | * MySQL: 8.0.26 | ||
* Python: 2.7.18 | * Python: 2.7.18 | ||
+ | * PHP: 7.2.24-1 |
Revision as of 06:24, 9 May 2022
The isfdb2 staging system is a minimal system, with few packages installed, which uses dnf instead of apt-get.
Prerequisites
The staging system a minimum configuration AlmaLinux system, which is a variant of Fedora Core. It's really intended for tight cloud installations, so almost everything is missing, and installation of packages is done with yum/dnf.
- dnf install gcc
- dnf install make
- dnf install tar
- dnf install zip.x86_64
- dnf install bzip2.x86_64
- dnf install wget
- dnf install mod_dav_svn subversion
Apache
- dnf install httpd
- firewall-cmd --add-service=http --add-service=https --permanent
- service httpd start
MySQL
- dnf update
- dnf module enable mysql:8.0
- dnf install @mysql
- systemctl enable mysqld
- systemctl start mysqld
- Issue: mysql
- While in mysql, issue the command: create database isfdb;
- While in mysql, issue the command: use isfdb;
- While in mysql, issue the command: alter database isfdb character set latin1 collate latin1_swedish_ci;
- While in mysql, issue the command: source <<backupfile>>;'
- GRANT ALL PRIVILEGES ON isfdb.* TO 'isfdb1'@'localhost';
Python 2.7.18
- dnf install python2.x86_64
- dnf install python2-devel.x86_64
- dnf install mysql-devel.x86_64
- pip2 install mysqlclient
MediaWiki
sudo dnf install php-cli sudo dnf install php-mysqli
Versions
- Linux: 4.18.0-240.15.1.el8_3.x86_64 x86_64
- Apache: Apache/2.4.37 (AlmaLinux)
- MySQL: 8.0.26
- Python: 2.7.18
- PHP: 7.2.24-1