mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
update
This commit is contained in:
parent
c54d1956d3
commit
7cd81d08aa
20 changed files with 40 additions and 40 deletions
6
.github/workflows/app-unit-test.yml
vendored
6
.github/workflows/app-unit-test.yml
vendored
|
@ -90,14 +90,14 @@ jobs:
|
|||
mkdir -p ../dist
|
||||
mv ./phyre-web-panel-build.zip ../dist/phyre-web-panel.zip
|
||||
|
||||
- name: Pushes to Phyre Panel Dist Repo
|
||||
- name: Pushes to PhyrePanelWebCompiledVersions
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
|
||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
with:
|
||||
source-directory: './dist'
|
||||
destination-github-username: 'CloudVisionApps'
|
||||
destination-repository-name: 'PhyrePanelWebDist'
|
||||
destination-github-username: 'PhyreApps'
|
||||
destination-repository-name: 'PhyrePanelWebCompiledVersions'
|
||||
user-email: bobicloudvision@gmail.com
|
||||
target-branch: main
|
||||
|
|
|
@ -9,7 +9,7 @@ PhyrePanel is a web-based panel for linux. It is written in PHP and uses the Lar
|
|||
## Installation
|
||||
To install PhyrePanel, you need to run this commands:
|
||||
```
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
```
|
||||
The admin panel can be opened on port: yourserver.com:8443
|
||||
|
||||
|
|
|
@ -45,11 +45,11 @@ RUN mkdir -p $INSTALL_DIR
|
|||
WORKDIR $INSTALL_DIR
|
||||
|
||||
# Install PHYRE PHP
|
||||
RUN wget https://github.com/CloudVisionApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb \
|
||||
RUN wget https://github.com/PhyreApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb \
|
||||
&& dpkg -i phyre-php-8.2.0.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
RUN wget https://github.com/CloudVisionApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb \
|
||||
RUN wget https://github.com/PhyreApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb \
|
||||
&& dpkg -i phyre-nginx-1.24.0.deb
|
||||
|
||||
# Start PHYRE service
|
||||
|
|
|
@ -8,7 +8,7 @@ apt-get update && apt-get install -y wget dos2unix
|
|||
#
|
||||
#apt-get install libsodium-dev -y
|
||||
#
|
||||
#wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
#wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
#
|
||||
#ls -la
|
||||
|
||||
|
@ -61,15 +61,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/Ubuntu/22.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/Ubuntu/22.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
dpkg -i phyre-php-8.2.0.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
dpkg -i phyre-nginx-1.24.0.deb
|
||||
|
||||
service phyre start
|
||||
|
|
|
@ -5,7 +5,7 @@ apt-get update && apt-get install -y wget
|
|||
#
|
||||
#apt-get install libsodium-dev -y
|
||||
#
|
||||
#wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
#wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
|
||||
#
|
||||
#ls -la
|
||||
|
||||
|
|
|
@ -39,15 +39,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/Ubuntu/22.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/Ubuntu/22.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
dpkg -i phyre-php-8.2.0.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
dpkg -i phyre-nginx-1.24.0.deb
|
||||
|
||||
service phyre start
|
||||
|
@ -56,7 +56,7 @@ PHYRE_PHP=/usr/local/phyre/php/bin/php
|
|||
|
||||
ln -s $PHYRE_PHP /usr/bin/phyre-php
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
unzip -qq -o phyre-web-panel.zip -d /usr/local/phyre/web
|
||||
rm -rf phyre-web-panel.zip
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ apt-get update && apt-get install ca-certificates
|
|||
apt install -y git
|
||||
cd /
|
||||
mkdir -p $MAIN_DIR
|
||||
git clone https://github.com/CloudVisionApps/PhyrePanel.git $MAIN_DIR
|
||||
git clone https://github.com/PhyreApps/PhyrePanel.git $MAIN_DIR
|
||||
|
||||
HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
|
||||
. $HELPERS_DIR"/common.sh"
|
||||
|
@ -141,11 +141,11 @@ systemctl restart apache2
|
|||
#done
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHPDist/raw/main/debian/php/dist/phyre-php-8.2.0.deb
|
||||
sudo dpkg -i phyre-php-8.2.0.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNginxDist/raw/main/debian/nginx/dist/phyre-nginx-1.24.0.deb
|
||||
sudo dpkg -i phyre-nginx-1.24.0.deb
|
||||
|
||||
# sudo ufw allow proto tcp from any to any port 80,443
|
||||
|
|
|
@ -39,7 +39,7 @@ DISTRO_NAME=${DISTRO_NAME//\"/} # Remove quotes from name string
|
|||
# Lowercase the distro name
|
||||
DISTRO_NAME=$(echo $DISTRO_NAME | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
INSTALLER_URL="https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/${DISTRO_NAME}-${DISTRO_VERSION}/install.sh"
|
||||
INSTALLER_URL="https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/${DISTRO_NAME}-${DISTRO_VERSION}/install.sh"
|
||||
|
||||
INSTALLER_CONTENT=$(wget ${INSTALLER_URL} 2>&1)
|
||||
if [[ "$INSTALLER_CONTENT" =~ 404\ Not\ Found ]]; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
unzip -qq -o phyre-web-panel.zip -d /usr/local/phyre/web
|
||||
rm -rf phyre-web-panel.zip
|
||||
|
||||
|
|
|
@ -41,15 +41,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/ubuntu-20.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-20.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
dpkg -i phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
dpkg -i phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
|
||||
service phyre start
|
||||
|
|
|
@ -41,15 +41,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/ubuntu-20.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-20.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
dpkg -i phyre-php-8.2.0-ubuntu-20.04.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
dpkg -i phyre-nginx-1.24.0-ubuntu-20.04.deb
|
||||
|
||||
service phyre start
|
||||
|
@ -59,7 +59,7 @@ PHYRE_PHP=/usr/local/phyre/php/bin/php
|
|||
ln -s $PHYRE_PHP /usr/bin/phyre-php
|
||||
#!/bin/bash
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
unzip -qq -o phyre-web-panel.zip -d /usr/local/phyre/web
|
||||
rm -rf phyre-web-panel.zip
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
unzip -qq -o phyre-web-panel.zip -d /usr/local/phyre/web
|
||||
rm -rf phyre-web-panel.zip
|
||||
|
||||
|
|
|
@ -41,15 +41,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/ubuntu-22.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-22.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
dpkg -i phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
dpkg -i phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
|
||||
service phyre start
|
||||
|
|
|
@ -41,15 +41,15 @@ done
|
|||
# Start MySQL
|
||||
service mysql start
|
||||
|
||||
wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/ubuntu-22.04/greeting.sh
|
||||
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ubuntu-22.04/greeting.sh
|
||||
mv greeting.sh /etc/profile.d/phyre-greeting.sh
|
||||
|
||||
# Install PHYRE PHP
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelPHP/raw/main/compilators/debian/php/dist/phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
dpkg -i phyre-php-8.2.0-ubuntu-22.04.deb
|
||||
|
||||
# Install PHYRE NGINX
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
wget https://github.com/PhyreApps/PhyrePanelNGINX/raw/main/compilators/debian/nginx/dist/phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
dpkg -i phyre-nginx-1.24.0-ubuntu-22.04.deb
|
||||
|
||||
service phyre start
|
||||
|
@ -59,7 +59,7 @@ PHYRE_PHP=/usr/local/phyre/php/bin/php
|
|||
ln -s $PHYRE_PHP /usr/bin/phyre-php
|
||||
#!/bin/bash
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
unzip -qq -o phyre-web-panel.zip -d /usr/local/phyre/web
|
||||
rm -rf phyre-web-panel.zip
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
rm -rf /usr/local/phyre/update/web-panel-latest
|
||||
rm -rf /usr/local/phyre/update/phyre-web-panel.zip
|
||||
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelWebDist/raw/main/phyre-web-panel.zip
|
||||
wget https://github.com/PhyreApps/PhyrePanelWebCompiledVersions/raw/main/phyre-web-panel.zip
|
||||
ls -la
|
||||
unzip -o phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class UpdatePhyre extends Command
|
|||
|
||||
$output = '';
|
||||
$output .= exec('mkdir -p /usr/local/phyre/update');
|
||||
$output .= exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= exec('wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= exec('chmod +x /usr/local/phyre/update/update-web-panel.sh');
|
||||
|
||||
$this->info($output);
|
||||
|
|
|
@ -24,7 +24,7 @@ class Updates extends Page
|
|||
|
||||
$output = '';
|
||||
$output .= exec('mkdir -p /usr/local/phyre/update');
|
||||
$output .= exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= exec('wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= exec('chmod +x /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= shell_exec('bash /usr/local/phyre/update/update-web-panel.sh >> ' . $this->logFilePath . ' &');
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ class ModelPhyreServerCreatedListener
|
|||
$ssh = new SSH2($ip);
|
||||
if ($ssh->login($username, $password)) {
|
||||
|
||||
$ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/installers/install.sh');
|
||||
$ssh->exec('wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/install.sh');
|
||||
$ssh->exec('chmod +x install.sh');
|
||||
$ssh->exec('./install.sh >phyre-install.log 2>&1 </dev/null &');
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ class PhyreServer extends Model
|
|||
// dd($output);
|
||||
|
||||
$output = '';
|
||||
$output .= $ssh->exec('wget https://raw.githubusercontent.com/CloudVisionApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= $ssh->exec('wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/update/update-web-panel.sh -O /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= $ssh->exec('chmod +x /usr/local/phyre/update/update-web-panel.sh');
|
||||
$output .= $ssh->exec('/usr/local/phyre/update/update-web-panel.sh');
|
||||
|
||||
|
|
Loading…
Reference in a new issue