vhcs執行vhcs2_setup出錯 如果你執行完上面這一步,出現下面的提示 If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes at /usr/local/www/vhcs2/engine/vhcs2_common_code.pl line 1376 或者 "If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes at /usr/local/www/vhcs2/engine/vhcs2_common_code.pl line 1411" 請修改 /usr/local/www/vhcs2/engine/vhcs2_common_code.pl 在1376行和1411出現錯誤的地方改成如下形式: my $cipher = Crypt::CBC -> new( { 'key' => $main::db_pass_key, 'keysize' => 32, 'cipher' => 'Blowfish', 'iv' => $main::db_pass_iv, 'regenerate_key' => 0, 'padding' => 'space', 'prepend_iv' => 0 } ); 保存以後重新make setup,應該可以順利安裝了。 Powered by ScribeFire .