Advertisement
BlackLeaks

Server Tutorial BlackLeaks

Apr 23rd, 2023 (edited)
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SSH Config 2.43 KB | Source Code | 0 0
  1. apt update
  2. apt upgrade -y
  3. apt install ca-certificates apt-transport-https lsb-release gnupg curl nano unzip -y
  4.  
  5. wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
  6. echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
  7.  
  8. apt update
  9. apt install apache2 -y
  10.  
  11. apt install php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xsl php7.4-zip php7.4-bz2 libapache2-mod-php7.4 -y
  12.  
  13. apt install mariadb-server mariadb-client -y
  14. mysql_secure_installation
  15. cd /usr/share
  16. wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip -O phpmyadmin.zip
  17. unzip phpmyadmin.zip
  18. rm phpmyadmin.zip
  19. mv phpMyAdmin-*-all-languages phpmyadmin
  20. chmod -R 0755 phpmyadmin
  21. nano /etc/apache2/conf-available/phpmyadmin.conf
  22.  
  23. ---------------------
  24.  
  25. # phpMyAdmin Apache configuration
  26.  
  27. Alias /phpmyadmin /usr/share/phpmyadmin
  28.  
  29. <Directory /usr/share/phpmyadmin>
  30.     Options SymLinksIfOwnerMatch
  31.     DirectoryIndex index.php
  32. </Directory>
  33.  
  34. # Disallow web access to directories that don't need it
  35. <Directory /usr/share/phpmyadmin/templates>
  36.     Require all denied
  37. </Directory>
  38. <Directory /usr/share/phpmyadmin/libraries>
  39.     Require all denied
  40. </Directory>
  41. <Directory /usr/share/phpmyadmin/setup/lib>
  42.     Require all denied
  43. </Directory>
  44.  
  45.  -------------------
  46.  
  47. a2enconf phpmyadmin
  48. systemctl reload apache2
  49. mkdir /usr/share/phpmyadmin/tmp/
  50. chown -R www-data:www-data /usr/share/phpmyadmin/tmp/
  51. mysql -u root
  52. UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root' AND plugin = 'unix_socket';
  53. FLUSH PRIVILEGES;
  54. exit
  55.  
  56.  
  57. --------------------------------
  58.  
  59. mkdir /home/FXServer/
  60. mkdir /home/FXServer/server/
  61. cd /home/FXServer/server
  62. wget [link in Zeile eintragen]
  63. cd /home/FXServer/server && tar xf fx.tar.xz
  64. rm fx.tar.xz
  65.  
  66. ---------
  67.  
  68. wget link : https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/
  69.  
  70. --------
  71.  
  72. cd /home/FXServer
  73.  
  74. -------
  75.  
  76. Das hier Herunterladen:
  77.  
  78. https://workupload.com/file/aTmpyntL3hE
  79.  
  80. -------
  81.  
  82. apt-get install unzip
  83. unzip server-data.zip
  84.  
  85. rm neptunbrot tamplate.zip
  86.  
  87. apt-get install screen
  88. chmod 777 start.sh
  89.  
  90. -------
  91.  
  92. cd /home/FXServer
  93. ./start.sh
  94. screen -x
  95.  
  96. ----------------
  97. link´s für sie server.cfg
  98.  
  99. https://steamcommunity.com/dev/apikey
  100.  
  101. https://keymaster.fivem.net/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement