Advertisement
bubbubabba

bubbabba

Feb 17th, 2020
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.31 KB | None | 0 0
  1.  
  2. ##############################################################################################
  3. Kitty: https://www.9bis.net/kitty/#!pages/download.md
  4. Winscp: https://winscp.net/eng/download.php
  5. Navicat: https://drive.google.com/file/d/12BPysrHpqeHB97kdHRwRwdSX1cOf0LeG/view?usp=sharing
  6. Video
  7. ##############################################################################################
  8.  
  9. nano /etc/apt/sources.list
  10.  
  11. ###### Ubuntu Main Repos ###############################################################################################
  12. deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  13. deb-src http://de.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
  14. ###### Ubuntu Main Repos ###############################################################################################
  15.  
  16. ###### Ubuntu Update Repos #############################################################################################
  17. deb http://de.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  18. deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
  19. deb http://de.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
  20. deb http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
  21. deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  22. deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
  23. deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
  24. deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
  25. ###### Ubuntu Update Repos #############################################################################################
  26.  
  27. sudo apt-get update
  28. sudo apt-get upgrade
  29. sudo apt-get dist-upgrade
  30.  
  31. ###################################################
  32. # 1. Teil Einige Einstellungen #
  33. ###################################################
  34.  
  35.  
  36. sudo apt-get install apt-utils locales htop keyboard-configuration
  37. sudo dpkg-reconfigure keyboard-configuration
  38.  
  39. ###################################################
  40. # TASTATUR ZU DEUTSCH QWERTZ #
  41. ###################################################
  42. # 1. Generische PC-Tastatur mit 105 Tasten (Intl) #
  43. # 2. Deutsch #
  44. # 3. Deutsch #
  45. # 4. Der Standard für die Tastenbelegung #
  46. # 5. Keine Compose-Taste #
  47. ###################################################
  48.  
  49. sudo apt-get install ntp ntpdate
  50. dpkg-reconfigure locales
  51.  
  52. ###################################################
  53. # Charset zu de_DE.UTF-8 #
  54. ###################################################
  55. # AUSWÄHLEN alle 3 #
  56. # [*] de_DE ISO-8859-1 #
  57. # [*] de_DE.UTF-8 UTF-8 #
  58. # [*] de_DE@euro ISO-8859-15 #
  59. # <Ok> #
  60. # und de_DE.UTF-8 am ende auswählen #
  61. ###################################################
  62.  
  63. dpkg-reconfigure tzdata
  64.  
  65. ###################################################
  66. # Deutsche Uhrzeit Einstellen #
  67. ###################################################
  68. ###################################################
  69. # Europa <Ok> #
  70. # Berlin <Ok> #
  71. ###################################################
  72.  
  73.  
  74. dpkg-reconfigure dash
  75.  
  76. ######################################################
  77. # Dash als Standard-Systemshell (/bin/sh) verwenden? #
  78. # <Nein> #
  79. ######################################################
  80.  
  81. apt -y install software-properties-common dirmngr apt-transport-https lsb-release ca-certificates
  82.  
  83.  
  84.  
  85. ###################################################
  86. # 2. Teil Mysql mit Navicat #
  87. # Wichtig: Zuerst Mysql 5.7 #
  88. # Dann erst kommt : Mysql 8.0 #
  89. ###################################################
  90.  
  91. Hinzufügen:
  92.  
  93. nano /etc/apt/sources.list
  94.  
  95. ##### MYSQL SERVER 5.7 ################################################################################################
  96. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config
  97. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
  98. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools
  99. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview
  100. deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
  101. ##### MYSQL SERVER 5.7 ################################################################################################
  102.  
  103. apt-get update
  104.  
  105. ###########################################################################################################################
  106.  
  107. Achtung: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C718D3B5072E1F5
  108.  
  109. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [HIER SCHLÜSSEL]
  110.  
  111. bsp.
  112.  
  113. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8C718D3B5072E1F5
  114.  
  115. dann nochmal
  116.  
  117. apt-get update
  118.  
  119. ###########################################################################################################################
  120.  
  121. sudo apt-get install mysql-server mysql-client
  122.  
  123. ### Passwort Beispiel : 12345 ###
  124.  
  125. mysql_secure_installation
  126.  
  127. ###########################################################################################################################
  128. VALIDATE PASSWORD PLUGIN can be used to test passwords
  129. and improve security. It checks the strength of password
  130. and allows the users to set only those passwords which are
  131. secure enough. Would you like to setup VALIDATE PASSWORD plugin?
  132.  
  133. Press y|Y for Yes, any other key for No: ###[[NO]]###
  134.  
  135. Change the password for root ? ((Press y|Y for Yes, any other key for No) : ###[[[NO]]###
  136. Remove anonymous users? (Press y|Y for Yes, any other key for No) : ###[[YES]]###
  137. Disallow root login remotely? (Press y|Y for Yes, any other key for No) : ###[[YES]]###
  138. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : ###[[YES]]###
  139. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : ###[[YES]]###
  140. ###########################################################################################################################
  141.  
  142.  
  143. --------------NAVICAT-----------------
  144. Benutzer erstellen mit Admin Rechte
  145. Beispiel Name:emtipp Passwort:12345
  146. --------------------------------------
  147.  
  148. mysql --user=root --password=12345
  149. GRANT ALL PRIVILEGES ON *.* TO 'emtipp'@'%'
  150. IDENTIFIED BY '12345' WITH GRANT OPTION;
  151. exit;
  152. sudo service mysql restart
  153.  
  154. --------------NAVICAT-----------------
  155.  
  156. nano /etc/mysql/mysql.conf.d/mysqld.cnf
  157. Raute zeichen Setzen vor bind-address
  158.  
  159. bind-address = 127.0.0.1
  160. #bind-address = 127.0.0.1
  161.  
  162. service mysql restart
  163.  
  164. sudo apt-get install postfix postfix-mysql postfix-doc openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve dovecot-lmtpd
  165.  
  166. ## postfix zu internet site ##
  167.  
  168.  
  169. nano /etc/postfix/master.cf
  170.  
  171.  
  172. ###########################################################################################################################
  173. #submission inet n - y - - smtpd
  174. # -o syslog_name=postfix/submission
  175. # -o smtpd_tls_security_level=encrypt
  176. # -o smtpd_sasl_auth_enable=yes
  177. # -o smtpd_reject_unlisted_recipient=no
  178. # -o smtpd_client_restrictions=$mua_client_restrictions
  179. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  180. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  181. # -o smtpd_recipient_restrictions=
  182. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  183. # -o milter_macro_daemon_name=ORIGINATING
  184. #smtps inet n - y - - smtpd
  185. # -o syslog_name=postfix/smtps
  186. # -o smtpd_tls_wrappermode=yes
  187. # -o smtpd_sasl_auth_enable=yes
  188. # -o smtpd_reject_unlisted_recipient=no
  189. # -o smtpd_client_restrictions=$mua_client_restrictions
  190. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  191. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  192. # -o smtpd_recipient_restrictions=
  193. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  194. # -o milter_macro_daemon_name=ORIGINATING
  195. ###########################################################################################################################
  196.  
  197. ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU
  198.  
  199. ###########################################################################################################################
  200. submission inet n - y - - smtpd
  201. -o syslog_name=postfix/submission
  202. -o smtpd_tls_security_level=encrypt
  203. -o smtpd_sasl_auth_enable=yes
  204. -o smtpd_reject_unlisted_recipient=no
  205. -o smtpd_client_restrictions=$mua_client_restrictions
  206. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  207. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  208. # -o smtpd_recipient_restrictions=
  209. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  210. # -o milter_macro_daemon_name=ORIGINATING
  211. smtps inet n - y - - smtpd
  212. -o syslog_name=postfix/smtps
  213. -o smtpd_tls_wrappermode=yes
  214. -o smtpd_sasl_auth_enable=yes
  215. -o smtpd_reject_unlisted_recipient=no
  216. -o smtpd_client_restrictions=$mua_client_restrictions
  217. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  218. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  219. # -o smtpd_recipient_restrictions=
  220. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  221. # -o milter_macro_daemon_name=ORIGINATING
  222. ###########################################################################################################################
  223.  
  224. service postfix restart
  225.  
  226. nano /etc/apt/sources.list
  227.  
  228. Ersetze Ersetze Ersetze
  229.  
  230. ##### MYSQL SERVER 5.7 ################################################################################################
  231. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config
  232. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
  233. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools
  234. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview
  235. deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
  236. ##### MYSQL SERVER 5.7 ################################################################################################
  237.  
  238. ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU ZU
  239.  
  240. ##### MYSQL SERVER 8.0 ################################################################################################
  241. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config
  242. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-8.0
  243. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools
  244. deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview
  245. deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-8.0
  246. ##### MYSQL SERVER 8.0 ################################################################################################
  247.  
  248. apt-get update
  249.  
  250. sudo apt-get install mysql-server mysql-client
  251.  
  252. 1. < OK >
  253. 2. Use Legacy Auth Mysql 5.x Compat
  254. 3. *** mysqld.cnf (Y/I/N/O/D/Z) [Vorgabe=N] ? ###[[YES]]### << Sehr Wichtig auf Yes >> kann nun was dauern bis fertig ist.
  255.  
  256.  
  257. Öffne nun
  258. nano /etc/mysql/mysql.conf.d/mysqld.cnf
  259. füge unter [mysqld] hinzu
  260. ###############################################################################################################
  261. sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  262. default_authentication_plugin= mysql_native_password
  263. collation-server = utf8_unicode_ci
  264. character-set-server = utf8
  265. skip-log-bin
  266. transaction_write_set_extraction=OFF
  267. ###############################################################################################################
  268.  
  269. Öffne nun
  270. nano /etc/mysql/conf.d/mysql.cnf
  271. füge unter [mysql] hinzu
  272. ###############################################################################################################
  273. default-character-set=utf8
  274. ###############################################################################################################
  275.  
  276.  
  277. #########################################################################################################################
  278. # Achtung: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'IST-DEIN-ROOT-MYSQL-PASSWORT'; #
  279. #########################################################################################################################
  280.  
  281.  
  282. mysql -u root -p
  283. SET GLOBAL sql_mode = '';
  284. ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '12345';
  285. SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
  286. SET GLOBAL FOREIGN_KEY_CHECKS=0;
  287. SET GLOBAL UNIQUE_CHECKS = 0;
  288. FLUSH PRIVILEGES;
  289. exit;
  290.  
  291. service mysql restart
  292. ############################################################################################################
  293. Der mysql Root login ist nun weg jetzt nur noch mit dem Navicat login User als Mysql Root einloggen Später
  294. ############################################################################################################
  295.  
  296.  
  297.  
  298.  
  299. ###################################################
  300. # 3. Teil PHP 5.6 bis 7.4 switch version #
  301. # Und PHP 5.3.29 Compile #
  302. ###################################################
  303.  
  304. Hinzufügen:
  305.  
  306. nano /etc/apt/sources.list
  307.  
  308.  
  309. ##### PHP 5.6 BIS 7.4 ##################################################################################################
  310. deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main
  311. ##### PHP 5.6 BIS 7.4 ##################################################################################################
  312.  
  313. apt-get update
  314.  
  315. ###########################################################################################################################
  316.  
  317. Achtung: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C
  318.  
  319. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [HIER SCHLÜSSEL]
  320.  
  321. bsp.
  322.  
  323. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
  324.  
  325. dann nochmal
  326.  
  327. apt-get update
  328.  
  329. ###########################################################################################################################
  330. Kann ausgwählt werden Gut Wenn Alle Aber ######
  331. ###############################################
  332. sudo apt-get install -y php5.6 php7.0 php7.1 php7.2 php7.3 php7.4
  333. sudo apt-get install libapache2-mod-php
  334. sudo apt-get install php5.6-mysql php5.6-mysqli php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0
  335. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php5.6 php5.6-common php5.6-gd php5.6-mysql php5.6-mysqli php5.6-imap phpmyadmin php5.6-cli php5.6-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear php5.6-mcrypt mcrypt imagemagick libruby libapache2-mod-python php5.6-curl php5.6-intl php5.6-pspell php5.6-recode php5.6-sqlite3 php5.6-tidy php5.6-xmlrpc php5.6-xsl memcached php-memcache php-imagick php-gettext php5.6-zip php5.6-mbstring
  336.  
  337. 1. [*] Apache
  338. 2. Konfiguriere phpmyadmin < Nein >
  339.  
  340. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mysqli php7.0-imap phpmyadmin php7.0-cli php7.0-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear php7.0-mcrypt mcrypt imagemagick libruby libapache2-mod-python php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring
  341. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.1 php7.1-common php7.1-gd php7.1-mysql php7.1-mysqli php7.1-imap phpmyadmin php7.1-cli php7.1-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear php7.1-mcrypt mcrypt imagemagick libruby libapache2-mod-python php7.1-curl php7.1-intl php7.1-pspell php7.1-recode php7.1-sqlite3 php7.1-tidy php7.1-xmlrpc php7.1-xsl memcached php-memcache php-imagick php-gettext php7.1-zip php7.1-mbstring
  342. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.2 php7.2-common php7.2-gd php7.2-mysql php7.2-mysqli php7.2-imap phpmyadmin php7.2-cli php7.2-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear mcrypt imagemagick libruby libapache2-mod-python php7.2-curl php7.2-intl php7.2-pspell php7.2-recode php7.2-sqlite3 php7.2-tidy php7.2-xmlrpc php7.2-xsl memcached php-memcache php-imagick php-gettext php7.2-zip php7.2-mbstring
  343. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.3 php7.3-common php7.3-gd php7.3-mysql php7.3-mysqli php7.3-imap phpmyadmin php7.3-cli php7.3-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear mcrypt imagemagick libruby libapache2-mod-python php7.3-curl php7.3-intl php7.3-pspell php7.3-recode php7.3-sqlite3 php7.3-tidy php7.3-xmlrpc php7.3-xsl memcached php-memcache php-imagick php-gettext php7.3-zip php7.3-mbstring
  344. sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php php7.4 php7.4-common php7.4-gd php7.4-mysql php7.4-mysqli php7.4-imap phpmyadmin php7.4-cli php7.4-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear mcrypt imagemagick libruby libapache2-mod-python php7.4-curl php7.4-intl php7.4-pspell php7.4-sqlite3 php7.4-tidy php7.4-xmlrpc php7.4-xsl memcached php-memcache php-imagick php-gettext php7.4-zip php7.4-mbstring
  345.  
  346.  
  347. a2enmod suexec rewrite ssl actions include cgi
  348. a2enmod dav_fs dav auth_digest headers
  349. sudo nano /etc/apache2/conf-available/httpoxy.conf
  350.  
  351. DAS EINTRAGEN:
  352. ######################################################
  353.  
  354. <IfModule mod_headers.c>
  355. RequestHeader unset Proxy early
  356. </IfModule>
  357.  
  358. ######################################################
  359.  
  360.  
  361. a2enconf httpoxy
  362. service apache2 restart
  363.  
  364. nano /etc/mime.types
  365.  
  366. ######################################################
  367. application/x-ruby rb
  368. zu zu zu zu zu zu zu
  369. #application/x-ruby rb
  370. ######################################################
  371.  
  372. service apache2 restart
  373. apt-get install php7.4-opcache php-apcu
  374. service apache2 restart
  375.  
  376. cd /opt/
  377. sudo apt-get install git
  378. git clone https://github.com/circulosmeos/gdown.pl.git
  379. sudo ln -s /opt/gdown.pl/gdown.pl /usr/local/bin
  380. cd /root/../
  381. gdown.pl https://drive.google.com/file/d/1HN8tHUcVfd504vo3Yi6A2lKVV6ymFBaS/edit /phpfarm.tar.gz
  382. tar xfvz phpfarm.tar.gz
  383. rm -r phpfarm.tar.gz
  384. cd /opt/
  385. sudo dpkg -i libapache2-mod-fastcgi_2.4.7~0910052141-1.2_amd64.deb
  386. rm -r libapache2-mod-fastcgi_2.4.7~0910052141-1.2_amd64.deb
  387. apt-get install libapache2-mod-fastcgi php7.4-fpm
  388. a2enmod actions fastcgi alias
  389. service apache2 restart
  390. cd /etc/apache2
  391. ls -l mods-*/*php*
  392. php --version
  393.  
  394. nano /var/www/html/info.php
  395.  
  396. <?php phpinfo(); ?>
  397.  
  398.  
  399. http://dein-ip-domain/info.php
  400.  
  401. sudo update-alternatives --config php
  402.  
  403. sudo a2dismod php5.6
  404.  
  405. zu oder umgekehrt
  406.  
  407. sudo a2enmod php7.4
  408.  
  409. sudo service apache2 restart
  410.  
  411. php --version
  412.  
  413.  
  414. apt-get update
  415. sudo apt install build-essential libxml2-dev checkinstall libfreetype6-dev libbz2-dev libxpm-dev rar unrar libjpeg-dev libpspell-dev libmcrypt-dev libreadline-dev libpng-dev zlib1g-dev libcurl4-gnutls-dev
  416. sudo apt-get install libpq-dev libgd-dev libz-dev
  417. sudo ln -s /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/libpng.so
  418. cd /usr/local/include
  419. sudo ln -s /usr/include/x86_64-linux-gnu/curl curl
  420. ln -s /usr/lib/x86_64-linux-gnu/libXpm.so /usr/lib/
  421. ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/
  422. mkdir /usr/include/freetype2/freetype
  423. ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h
  424. cd /usr/src/openssl-1.0.2u/
  425. chmod -R 0755 /usr/src/openssl-1.0.2u/*
  426. ./config shared --prefix=/usr/local/openssl/
  427. make -j $(nproc)
  428. make install
  429. chmod -R 0755 /etc/php5/*
  430. chmod -R 0755 /var/www/vhosts/*
  431. chmod -R 0755 /var/www/html/*
  432. cd /usr/local/php/src
  433. chmod -R 0755 /usr/local/php/*
  434. sudo ./compile.sh 5.3.29
  435.  
  436. wenn alles gut
  437. rm -r /var/www/html/pyrus.phar
  438.  
  439. ####### TEST ###############
  440.  
  441. default Aktivieren:
  442. a2ensite 001-default.conf
  443.  
  444. orginal Deaktivieren:
  445. a2dissite 000-default.conf
  446.  
  447. service apache2 reload
  448.  
  449. ####### TEST ###############
  450.  
  451. http://192.168.232.128/info.php
  452.  
  453.  
  454. gdown.pl https://drive.google.com/file/d/1XnikuXNF7KPCraYelyoanJWAp_3MeUZ0/edit /var/www/vhosts/default/emtipp2020.rar
  455. cd /var/www/vhosts/default/
  456. unrar x emtipp2020.rar
  457. chmod -R 0777 /var/www/vhosts/default/*
  458. mv /var/www/vhosts/default/emtipp2020.rar /var/www/vhosts/tippspiel.tk/
  459. cd /var/www/vhosts/tippspiel.tk/
  460. unrar x emtipp2020.rar
  461. rm -r emtipp2020.rar
  462. chmod -R 0777 /var/www/vhosts/tippspiel.tk/*
  463. cd /var/www/vhosts/default/
  464.  
  465. ##### via console ######
  466.  
  467. mysql -u emtipp -p
  468. CREATE DATABASE soccer;
  469. exit;
  470. mysql -u emtipp -p soccer < soccer.sql
  471.  
  472. #-->#### via console ######
  473.  
  474. kein localhost als db Host angeben ab mysql 8.0
  475.  
  476.  
  477.  
  478. ####### zurück auf normal ###############
  479. default Aktivieren:
  480. a2ensite 000-default.conf
  481.  
  482. orginal Deaktivieren:
  483. a2dissite 001-default.conf
  484. service apache2 reload
  485. ####### zurück auf normal ###############
  486.  
  487.  
  488.  
  489.  
  490. 10 Minuten Warten bis FREENOM des aktiviert hat
  491. ####### MIT FREENOM ###############
  492.  
  493. Domain Aktivieren:
  494. a2ensite tippspiel.tk.conf
  495. service apache2 reload
  496.  
  497. ####### OHNE FREENOM ###############
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement