sharkikos
Vagabond
Кто может помочь установить сборку на хостинг linux, поставил все что нужно для сборки дает много ошибок, не понимаю почему, тг https://t.me/zxcbuster
мммм под рутом, вкуснятинаI installed it myself using the guide and wrote a cheat sheet for the future. You will also need it so that the video does not stop
1) Installing HTOP
----------------------
apt install htop
----------------------
2) Installing MC
----------------------
apt install mc
----------------------
3) Installing Moscow time
----------------------
timedatectl set-timezone Europe/Moscow
----------------------
4) Updating the system
----------------------
apt-get update
----------------------
5.1) Updating the system 2
----------------------
apt-get upgrade
----------------------
6) Installing WGET
----------------------
apt-get install wget
----------------------
7) Installing ZIP
----------------------
apt-get install zip
----------------------
8) Installing Java
----------------------
Go to the directory cd /root/
wget https://javadl.oracle.com/webapps/d...4f81b43/linux-i586/jdk-8u221-linux-x64.tar.gz
----------------------
9) Create a new folder
----------------------
Create a folder: mkdir /usr/lib/jvm/
Move the archive: cp jdk-8u221-linux-x64.tar.gz /usr/lib/jvm/
Go to the folder: cd /usr/lib/jvm/
Unpack the archive: tar zxvf jdk-8u221-linux-x64.tar.gz
----------------------
10) Commands for JAVA and JAVAC
----------------------
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_221/bin/java 4
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_221/bin/javac 4
update-alternatives --config java
java -version
----------------------
11) Installing MYSQL
----------------------
apt-get install mysql-server
apt-get install mysql-client
mysql -u root -p
Enter the password from the server that you received when buying the VPS
----------------------
12) Create MYSQL user
----------------------
use mysql;
CREATE USER 'lin2newprjct'@'%' IDENTIFIED BY 'oh#Mm65%I8sVNe';
Check the user
SELECT USER from mysql.user;
Grant rights to the user
GRANT ALL PRIVILEGES ON * . * TO 'lin2newprjct'@'%';
Update the list of privileges
FLUSH PRIVILEGES;
Exit the privilege panel (Press) CTRL + Z
----------------------
13) Configuring MYSQL files
----------------------
Via FTP, go to the directory /etc/mysql/mysql.conf.d
Edit the mysqld.cnf file
Find the line: bind-address = 127.0.0.1 And put # in front of it
At the end of the file, insert
max_connections = 151
interactive_timeout = 28800
wait_timeout = 28800
connect_timeout = 10
----------------------
14) Server
----------------------
Checking the status: service mysql status
Stopping: service mysql stop
Starting: service mysql start
Rebooting: reboot
----------------------
15) Configuring the database (Establishing a connection via NAVICAT and uploading a dump)
ну так напиши под sudoмммм под рутом, вкуснятина
Ну сделал под рутом, а остальное под отдельного юзера, в чем проблема?)мммм под рутом, вкуснятина
в том что 99.9% под рутом и сидят, и даже в бд рута используют))в чем проблема
I installed it myself using the guide and wrote a cheat sheet for the future. You will also need it so that the video does not stop
1) Installing HTOP
----------------------
apt install htop
----------------------
2) Installing MC
----------------------
apt install mc
----------------------
3) Installing Moscow time
----------------------
timedatectl set-timezone Europe/Moscow
----------------------
4) Updating the system
----------------------
apt-get update
----------------------
5.1) Updating the system 2
----------------------
apt-get upgrade
----------------------
6) Installing WGET
----------------------
apt-get install wget
----------------------
7) Installing ZIP
----------------------
apt-get install zip
----------------------
8) Installing Java
----------------------
Go to the directory cd /root/
wget https://javadl.oracle.com/webapps/d...4f81b43/linux-i586/jdk-8u221-linux-x64.tar.gz
----------------------
9) Create a new folder
----------------------
Create a folder: mkdir /usr/lib/jvm/
Move the archive: cp jdk-8u221-linux-x64.tar.gz /usr/lib/jvm/
Go to the folder: cd /usr/lib/jvm/
Unpack the archive: tar zxvf jdk-8u221-linux-x64.tar.gz
----------------------
10) Commands for JAVA and JAVAC
----------------------
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_221/bin/java 4
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_221/bin/javac 4
update-alternatives --config java
java -version
----------------------
11) Installing MYSQL
----------------------
apt-get install mysql-server
apt-get install mysql-client
mysql -u root -p
Enter the password from the server that you received when buying the VPS
----------------------
12) Create MYSQL user
----------------------
use mysql;
CREATE USER 'lin2newprjct'@'%' IDENTIFIED BY 'oh#Mm65%I8sVNe';
Check the user
SELECT USER from mysql.user;
Grant rights to the user
GRANT ALL PRIVILEGES ON * . * TO 'lin2newprjct'@'%';
Update the list of privileges
FLUSH PRIVILEGES;
Exit the privilege panel (Press) CTRL + Z
----------------------
13) Configuring MYSQL files
----------------------
Via FTP, go to the directory /etc/mysql/mysql.conf.d
Edit the mysqld.cnf file
Find the line: bind-address = 127.0.0.1 And put # in front of it
At the end of the file, insert
max_connections = 151
interactive_timeout = 28800
wait_timeout = 28800
connect_timeout = 10
----------------------
14) Server
----------------------
Checking the status: service mysql status
Stopping: service mysql stop
Starting: service mysql start
Rebooting: reboot
----------------------
15) Configuring the database (Establishing a connection via NAVICAT and uploading a dump)