You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "; priority=99" | sudo tee /etc/php/7.3/mods-available/common.ini > /dev/null
58
-
echo "date.timezone=Europe/Minsk" | sudo tee -a /etc/php/7.3/mods-available/common.ini > /dev/null
59
-
echo "short_open_tag=0" | sudo tee -a /etc/php/7.3/mods-available/common.ini > /dev/null
60
-
echo "xdebug.max_nesting_level=250" | sudo tee -a /etc/php/7.3/mods-available/xdebug.ini > /dev/null
61
-
echo "xdebug.var_display_max_depth=5" | sudo tee -a /etc/php/7.3/mods-available/xdebug.ini > /dev/null
57
+
echo "; priority=99" | sudo tee /etc/php/7.4/mods-available/common.ini > /dev/null
58
+
echo "date.timezone=Europe/Minsk" | sudo tee -a /etc/php/7.4/mods-available/common.ini > /dev/null
59
+
echo "short_open_tag=0" | sudo tee -a /etc/php/7.4/mods-available/common.ini > /dev/null
60
+
echo "xdebug.max_nesting_level=250" | sudo tee -a /etc/php/7.4/mods-available/xdebug.ini > /dev/null
61
+
echo "xdebug.var_display_max_depth=5" | sudo tee -a /etc/php/7.4/mods-available/xdebug.ini > /dev/null
62
62
sudo phpenmod common
63
63
64
64
65
-
Open php fpm config file ``sudo mcedit /etc/php/7.3/fpm/pool.d/www.conf``, find ``listen = /run/php/php7.3-fpm.sock`` and replace with ``listen = 127.0.0.1:9000``.
65
+
Open php fpm config file ``sudo mcedit /etc/php/7.4/fpm/pool.d/www.conf``, find ``listen = /run/php/php7.4-fpm.sock`` and replace with ``listen = 127.0.0.1:9000``.
66
66
67
-
Restart ``php-fpm`` using command ``sudo service php7.3-fpm restart``.
67
+
Restart ``php-fpm`` using command ``sudo service php7.4-fpm restart``.
68
68
69
69
70
70
Install node.js and Yarn
@@ -122,15 +122,16 @@ Sudo for developer account
122
122
123
123
Install MySQL
124
124
~~~~~~~~~~~~~
125
-
Install mysql 5.5 using command ``sudo apt-get install -y mysql-client mysql-server``. Set ``root`` as password for ``root`` account. Update ``my.cnf`` and restart mysql
125
+
Install mysql 5.5 using command ``sudo apt-get install -y default-mysql-client default-mysql-server``. Set ``root`` as password for ``root`` account. Update ``my.cnf`` and restart mysql
126
126
127
127
::
128
128
129
-
echo "[mysqld]" | sudo tee /etc/mysql/my.cnf > /dev/null
130
-
echo "character_set_server = cp1251" | sudo tee -a /etc/mysql/my.cnf > /dev/null
131
-
echo "default_storage_engine = MyISAM" | sudo tee -a /etc/mysql/my.cnf > /dev/null
132
-
echo "[mysql]" | sudo tee -a /etc/mysql/my.cnf > /dev/null
133
-
echo "default-character-set = cp1251" | sudo tee -a /etc/mysql/my.cnf > /dev/null
129
+
echo "[mysqld]" | sudo tee /etc/mysql/mariadb.conf.d/51-mysql.cnf > /dev/null
130
+
echo "character-set-server = cp1251" | sudo tee -a /etc/mysql/mariadb.conf.d/51-mysql.cnf > /dev/null
131
+
echo "collation-server = cp1251_general_ci" | sudo tee -a /etc/mysql/mariadb.conf.d/51-mysql.cnf > /dev/null
132
+
echo "default_storage_engine = MyISAM" | sudo tee -a /etc/mysql/mariadb.conf.d/51-mysql.cnf > /dev/null
133
+
echo "[mysql]" | sudo tee -a /etc/mysql/mariadb.conf.d//51-mysql.cnf > /dev/null
134
+
echo "default-character-set = cp1251" | sudo tee -a /etc/mysql/mariadb.conf.d/51-mysql.cnf > /dev/null
0 commit comments