Proxmox

PVE 安装 Hemidall 网络书签仪表盘 #pve #proxmox #hemidall



Proxmox Hemidall LXC 安装流程

用到的命令行

apt update && apt upgrade -y

apt-get -y install apache2
apt-get -y install php
apt-get -y install libapache2-mod-php
apt-get -y install sqlite
apt-get -y install php-mbstring php-xml php-common php-sqlite3 php-zip
a2enmod rewrite
service apache2 restart
apt install git -y

git clone /opt/heimdall

chown -R www-data:www-data /opt/heimdall/
chmod -R 777 /opt/heimdall/
rm -R /var/www/html
ln -s /opt/heimdall/public/ /var/www/html

修改conf文件 命令行
nano /etc/apache2/sites-enabled/000-default.conf

这里注意 因为YouTube不支援 大于和小于号, 请把下面的代码中 &lt 替换为小于号 &gt替换为大于号 在复制粘贴
——————-
&ltVirtualHost *:80&gt
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/
DirectoryIndex index.php index.html default.php welcome.php
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
&ltDirectory /var/www/html/&gt
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
&lt/Directory&gt
&lt/VirtualHost&gt
——————–

cd /opt/heimdall/

php artisan key:generate

chmod -R 777 /opt/heimdall/

service apache2 restart

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button