我有 2 个 web Debian 服务器,一个接受来自端口 80 的请求的前端和一个通过前端代理的后端。
我想要做的是将许多不同的 URL 发送到带有虚拟主机的后端服务器。
这是前端 Apache 设置
<VirtualHost *:80>
ServerName dev.example.com
ProxyPass / http://192.168.144.100:80/
ProxyPassReverse / http://192.168.144.100:80/
</VirtualHost>
<VirtualHost *:80>
ServerName sandbox.example.com
ProxyPass / http://192.168.144.100:80/
ProxyPassReverse / http://192.168.144.100:80/
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
这是后端 Apache 设置
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName dev.example.com
DocumentRoot /var/www/example.com/dev/
<Directory />
Options FollowSymLinks
AllowOverride …Run Code Online (Sandbox Code Playgroud) 我昨晚调整了我的硬盘驱动器的大小,但没有成功。
我的系统和驱动器位于 ESXi 5.1 虚拟机上。
我正在运行 Debian 6 x64 并且有一个 2TB 的安装,我正在调整大小。我调整到完整的 2TB 大约是 1.8T。
I ran e2fsck on /dev/sdc1 and it had no issues. I than ran resize2fs and let it run for a few hours. After checking ps, it showed the state in sleep (D+) with no activity. I couldn't kill the process so I rebooted and now I cannot do anything with the drive.
Now I'm missing the /dev/sdc1 drive and I cannot do anything that will …