Başlık
Old | New |
---|
1 | | 1 | How To Install Litecart Debian 11 Minimal |
---|
Permalink
Old | New |
---|
1 | | 1 | how_to_install_litecart_debian_11_minimal |
---|
İçerik
Old | New |
---|
| | 1 | # How to setup a web server using Debian/Ubuntu and install LiteCart |
---|
1 | | 2 | |
---|
| | 3 | This guide should work on other Linux dists to. The server is a basic Debian 11 minimal install (only SSH installed): |
---|
| | 4 | |
---|
| | 5 | ```bash |
---|
| | 6 | # Become root if not already |
---|
| | 7 | su |
---|
| | 8 | |
---|
| | 9 | # Make sure that the OS is up to date |
---|
| | 10 | apt update apt upgrade |
---|
| | 11 | |
---|
| | 12 | # Install some basic utils and software |
---|
| | 13 | apt install -y curl nano unzip apache2 libapache2-mod-php mariadb-server \ |
---|
| | 14 | php php-common php-cli php-fpm php-apcu php-curl php-dom php-gd php-imagick \ |
---|
| | 15 | php-mysql php-simplexml php-mbstring php-intl php-zip php-xml |
---|
| | 16 | |
---|
| | 17 | # Enable some required Apache modules |
---|
| | 18 | a2enmod rewrite headers proxy_fcgi setenvif |
---|
| | 19 | |
---|
| | 20 | # Secure your MySQL/MariaDB server (Recommend that you use the defaultoptions, just set the password) |
---|
| | 21 | mysql_secure_installation |
---|
| | 22 | |
---|
| | 23 | # Alternatively run a handsfree command for securing MariaDB/MySQL |
---|
| | 24 | mysql -uroot |
---|
Edited by litecart on 29 Ara 2023 at 04:28