元のSNS RS_Base_New から、OpenPNE3_EUSMを作る
k222# cp -rp RS_Base_New OpenPNE3_EUSM
vi OpenPNE.yml
base_url: "http://sns.kuji-clinic.net/EUSM"
vi web/.htaccess
RewriteBase /EUSM/
/usr/local/etc/apache22/Includes/sns.conf
<Directory "/usr/local/www/apache22/data/EUSM"> Options FollowSymLinks ExecCGI AllowOverride ALL Order allow,deny Allow from all </Directory> <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/RS_Base_New/(.*)$ /RS_Base_New/web/$1 </IfModule>
rm config/database.yml
k222# pwd /usr/local/www/apache22/data/OpenPNE3_EUSM k222# ./symfony plugin:list Installed plugins: symfony 1.4.6-stable # pear.symfony-project.com (symfony) opLiteMailTaskPlugin 1.2.0.1-stable # plugins.openpne.jp (plugins.openpne.jp) opAuthMailAddressPlugin 1.3.1-devel # plugins.openpne.jp (plugins.openpne.jp) opAuthMobileUIDPlugin 1.3.0-devel # plugins.openpne.jp (plugins.openpne.jp) opAuthOpenIDPlugin 1.3.0-beta # plugins.openpne.jp (plugins.openpne.jp) opCommunityTopicPlugin 1.0.0.2-stable # plugins.openpne.jp (plugins.openpne.jp) opWebAPIPlugin 0.4.0-beta # plugins.openpne.jp (plugins.openpne.jp) opDiaryPlugin 1.3.1-beta # plugins.openpne.jp (plugins.openpne.jp) opBlogPlugin 1.0.2-beta # plugins.openpne.jp (plugins.openpne.jp) opOpenSocialPlugin 1.2.0.1-stable # plugins.openpne.jp (plugins.openpne.jp) opAshiatoPlugin 0.9.1.1-stable # plugins.openpne.jp (plugins.openpne.jp) opMessagePlugin 0.9.1-beta # plugins.openpne.jp (plugins.openpne.jp) opAlbumPlugin 0.9.4-beta # plugins.openpne.jp (plugins.openpne.jp) opIntroFriendPlugin 0.9.0.1-beta # plugins.openpne.jp (plugins.openpne.jp) opFavoritePlugin 1.0.0.3-beta # plugins.openpne.jp (plugins.openpne.jp) opRankingPlugin 1.0.0-beta # plugins.openpne.jp (plugins.openpne.jp) openpne 3.7.0dev-beta # plugins.openpne.jp (plugins.openpne.jp) k222#
./symfony openpne:install
PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'eusm'@'localhost' (using password: YES)
あれま!
というわけで、phpMyAdmin で、DBを作成し、ユーザに権限付与