-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #476 from andreapollastri/4.x
Fix to main installation
- Loading branch information
Showing
3 changed files
with
7 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# CIPI 4 is coming... | ||
|
||
DO NOT USE Master branch... I'm working on it! Use 3.x branch! | ||
Currently DO NOT USE Master branch... I'm working on it! Use 3.x branch! | ||
|
||
Documentation is available on www.cipi.sh website! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,7 @@ echo "${reset}" | |
sleep 1s | ||
|
||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common curl wget nano vim rpl sed zip unzip expect dirmngr apt-transport-https lsb-release ca-certificates dnsutils dos2unix htop | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common curl wget nano vim rpl sed zip unzip expect dirmngr apt-transport-https lsb-release ca-certificates dnsutils dos2unix htop nodejs | ||
|
||
|
||
|
||
|
@@ -281,6 +281,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php8.3-fileinfo | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php8.3-imap | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php8.3-cli | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php8.3-openssl | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php8.3-intl | ||
PHPINI=/etc/php/8.3/fpm/conf.d/cipi.ini | ||
sudo touch $PHPINI | ||
sudo cat > "$PHPINI" <<EOF | ||
|
@@ -499,17 +500,6 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install python3-certbot-nginx | |
|
||
|
||
|
||
# NODE | ||
clear | ||
echo "${bggreen}${black}${bold}" | ||
echo "Node/npm setup..." | ||
echo "${reset}" | ||
sleep 1s | ||
|
||
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\ | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs | ||
|
||
|
||
|
||
#PANEL INSTALLATION | ||
clear | ||
|
@@ -647,7 +637,7 @@ echo " MySQL root user: cipi" | |
echo " MySQL root pass: $DATABASEPASSWORD" | ||
echo "" | ||
echo " To manage your server visit: " | ||
echo " https://cipi-$SERVERIPWITHDASH$IPDOMAIN/login" | ||
echo " https://cipi-$SERVERIPWITHDASH$IPDOMAIN/panel" | ||
echo " Default credentials are: [email protected] / C1p1P4n3!#4.sh" | ||
echo "" | ||
echo " If panel is not available via HTTPS, try to run:" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
echo `free -m | awk '/Mem:/ { printf("%3.1f%", $3/$2*100) }'` | ||
echo `free -m | awk '/Mem:/ { printf("%3.1f", $3/$2*100) }'` |