URL: https://github.com/dotBunny/UASB
UnityのAsset ServerをWeb画面で見られるっぽい。
残念ながら、PHPで出来てる。
git clone https://github.com/dotBunny/UASB.git
UASBというフォルダに入っている。おそらくUnity Asset Server Browserの略。
_phpフォルダに入っているconfig.phpをいじるらしいが、最初は_phpフォルダに入ってない。
あと、_tpl_cフォルダの権限の書き込み権限を付与する。
_phpフォルダにも権限の書き込み権限を付与した。
アクセスすると勝手にconfig.phpが生成される。
yum install pgsqlでPHPでPostgreSQLを扱うためのモジュールを入れ、
php.iniに
extension = pgsql.so
を追加する。
その後でApacheの再起動を忘れず!
あとはPostgreSQLが必要。ッと思ったが。これは実際はAssetSereverがPostgreSQLで実装されているため。
URL: http://docs-jp.unity3d.com/Documentation/Manual/SettinguptheAssetServer.html
以下不要!!!
yum install postgresql-server
にてPostgreSQLをいれる。
sudo passwd postgres
にてpostgresに対してのパスワードを初期化し、
sudo chown postgres:postgres /usr/local/pgsql/data
/usr/local/pgsql/dataへ権限を与える。
su - postgres
でpostgresユーザとしてログインして、
initdb -D /usr/local/pgsql/data
で初期化。
_php/config.phpにて
先ほどのpostgresユーザとパスワードを設定。
編集が終わったら、
// die("Edit your configuration file!");
コメントアウトする。