You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
my existing shlink server version is 2.7.1.
I follow this link
https://www.howtoforge.com/how-to-install-shlink-url-shortener-on-ubuntu-20-04/
to install the shlink server.
the commands in the above installation guide are as follows :
================
apt-get update -y
apt-get install nginx mariadb-server php-apcu php7.4 php7.4-fpm php7.4-mysql php7.4-gd php7.4-common php7.4-curl php7.4-intl php7.4-gmp php7.4-xml php-dev php-pear unzip -y
wget https://github.com/shlinkio/shlink/releases/download/v2.7.1/shlink2.7.1_php7.4_dist.zip
unzip shlink2.7.1_php7.4_dist.zip
mv shlink2.7.1_php7.4_dist /var/www/html/shlink
chown -R www-data:www-data /var/www/html/shlink/
chmod -R 755 /var/www/html/shlink/
sudo -u www-data php7.4 /var/www/html/shlink/bin/install
nano /etc/nginx/conf.d/shlink.conf
nginx -t
systemctl restart nginx
sudo -u www-data php7.4 /var/www/html/shlink/bin/cli short-url:generate
=============
to upgrade from PHP 7.4 to 8.2 and ShLink 2.7.1 to 3.3.0,
can I just change the version number to each command, and re run the commands?
i.e.
apt-get update -y
apt-get install nginx mariadb-server php-apcu php8.2 php8.2-fpm php8.2-mysql php8.2-gd php8.2-common php8.2-curl php8.2-intl php8.2-gmp php8.2-xml php-dev php-pear unzip -y
wget https://github.com/shlinkio/shlink/releases/download/v3.3.0/shlink3.3.0_php8.2_dist.zip
unzip shlink3.3.0_php8.2_dist.zip
mv shlink3.3.0_php8.2_dist /var/www/html/shlink
chown -R www-data:www-data /var/www/html/shlink/
chmod -R 755 /var/www/html/shlink/
sudo -u www-data php8.2 /var/www/html/shlink/bin/install
nano /etc/nginx/conf.d/shlink.conf
nginx -t
systemctl restart nginx
sudo -u www-data php8.2 /var/www/html/shlink/bin/cli short-url:generate
==============
Your help is much needed. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions