Ficheros usados en el video
Comandos usados en el video para el Panel
dnf install -y policycoreutils selinux-policy selinux-policy-targeted setroubleshoot-server setools setools-console mcstrans
dnf install -y mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
mysql -u root -p
CREATE USER ‘csqpanel’@’127.0.0.1’ IDENTIFIED BY ‘Prueba123’;
CREATE DATABASE panel;
GRANT ALL PRIVILEGES ON panel.* TO ‘csqpanel’@’127.0.0.1’ WITH GRANT OPTION;
dnf install epel-release
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module enable php:remi-8.1
dnf install -y php php-{common,fpm,cli,json,mysqlnd,gd,mbstring,pdo,zip,bcmath,dom,opcache}
dnf install -y zip unzip tar
curl -sS https://getcomposer.org/installer | php — –install-dir=/usr/local/bin –filename=composer
dnf install -y nginx
firewall-cmd –add-service=http –permanent
firewall-cmd –add-service=https –permanent
firewall-cmd –reload
systemctl enable redis
systemctl start redis
redis-cli
CONFIG SET requirepass «Prueba123»
setsebool -P httpd_can_network_connect 1
setsebool -P httpd_execmem 1
setsebool -P httpd_unified 1
vim /etc/php-fpm.d/www-pterodactyl.conf
systemctl enable php-fpm
systemctl start php-fpm
dnf install certbot python3-certbot-nginx
mkdir -p /var/www/panelg
cd /var/www/panelg
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz
rm -rf panel.tar.gz
dn install composer
composer update
composer install –no-dev –optimize-autoloader
php artisan key:generate –force
php artisan p:environment:setup
php artisan p:environment:database
php artisan p:environment:mail
php artisan migrate –seed –force
chown -R nginx:nginx /var/www/panelg
vim /etc/systemd/system/pteroq.service
systemctl start pteroq.service
systemctl status pteroq.service
vim /etc/nginx/conf.d/pterodactyl.conf
systemctl start nginx.service
systemctl enable nginx.service
certbot certonly –nginx -d servidoresg.marc0sgb.com
Comandos usados en el video para Wing
dnf install -y dnf-utils device-mapper-persistent-data lvm2
dnf config-manager –add-repo=https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce –nobest
systemctl enable docker
systemctl start docker
firewall-cmd –add-port 8080/tcp –permanent
firewall-cmd –add-port 2022/tcp –permanent
firewall-cmd –permanent –zone=trusted –change-interface=pterodactyl0
firewall-cmd –zone=trusted –add-masquerade –permanent
firewall-cmd –reload
certbot certonly -d nodo1g.marc0sgb.com