Skip to navigation
Steps to install a new debian buster froxlor webserver
12.06.21
apt-get -y install apt-transport-https lsb-release ca-certificates wget -O - https://deb.froxlor.org/froxlor.gpg | apt-key add - echo 'PATH="/usr/sbin:$PATH"' >> /root/.bashrc wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' apt-get update apt-get install php8.0 php8.0-curl php8.0-mysql php8.0-gd php8.0-imap php8.0-xml php8.0-intl php8.0-zip php8.0-mbstring php8.0-xml apache2 libapache2-mod-fcgid php-fpm php8.0-fpm php8.0-bcmath php8.0-pgsql apt-get dist-upgrade reboot edit: /etc/apache2/sites-enabled/000-default.conf DocumentRoot /var/www echo "" > /var/www/info.php echo "ServerName "localhost"" >> /etc/apache2/apache2.conf a2dismod mpm_prefork a2enmod mpm_event proxy proxy_fcgi a2enconf php8.0-fpm apt-get install lighttpd edit: /etc/lighttpd/lighttpd.conf server.port = 81 server.document-root = "/var/www/" apt install php php-cgi php-mysql lighty-enable-mod fastcgi-php lighty-enable-mod fastcgi echo 'server.dir-listing = "enable"' >> /etc/lighttpd/lighttpd.conf /etc/init.d/lighttpd restart apt-get install php-redis curl emacs25-nox wget apt-utils openssh-server supervisor redis-server mariadb-server git mercurial /etc/init.d/mysql stop mysqld_safe --skip-grant-tables & mysql use mysql UPDATE user SET password=PASSWORD("passwordpassword") WHERE User='root'; update user set plugin='' where User='root'; FLUSH PRIVILEGES; quit; reboot curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin ln -s /usr/bin/composer.phar /usr/bin/composer git clone https://github.com/Froxlor/Froxlor /var/www/froxlor cd /var/www/froxlor && composer install --no-dev addgroup --gid 9999 froxlorlocal adduser --no-create-home --uid 9999 --ingroup froxlorlocal --shell /bin/false --disabled-password --gecos '' froxlorlocal usermod -a -G www-data froxlorlocal chown froxlorlocal:froxlorlocal /var/www/froxlor/ -Rf curl -sL https://deb.nodesource.com/setup_16.x | bash - apt-get install -y nodejs apt-get install libnss-extrausers mkdir -p /var/lib/extrausers touch /var/lib/extrausers/passwd touch /var/lib/extrausers/group touch /var/lib/extrausers/shadow mv "/etc/nsswitch.conf" "/etc/nsswitch.conf.frx.bak" /bin/nano /etc/nsswitch.conf # Make sure that `passwd`, `group` and `shadow` have extrausers in their lines # You should place extrausers at the end, so that it is queried after the other mechanisams # passwd: compat extrausers group: compat extrausers shadow: compat extrausers hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files php /var/www/froxlor//install/scripts/config-services.php --froxlor-dir=/var/www/froxlor/ --create
Reply
Anonymous
Information Epoch 1732545689
Choose portability over efficiency.
Home
Notebook
Contact us