Get Cockpit CMS
https://getcockpit.com/
Install
See: https://qiita.com/__deracio__/items/ab0994ceb29734bcf241
1 |
$ chown -R www-data:www-data cockpit/ |
Access and login
http://localhost/cockpit/install/
1 2 |
$ rm -rd cockpit/install/ $ chmod 0700 tower |
Append to .htaccess
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# Deny access to bootstrap.php <FilesMatch "^bootstrap\.php$"> Order Allow,Deny Deny from all </FilesMatch> # Deny access to JSON files <FilesMatch "\.json$"> Order Allow,Deny Deny from all </FilesMatch> # Basic Auth <FilesMatch "*"> AuthUserFile /home/user/public_html/cockpit/.htpasswd AuthType Basic AuthName "Web access" Require valid-user Satisfy all Order deny,allow </Files> |
Localization
– https://getcockpit.com/documentation/core/concepts/localization
– https://github.com/Cockpit-HQ/i18n
Download: i18n-master.zip
Copy to cockpit/config/i18n/
1 2 3 4 5 6 7 8 |
cockpit$ php ./tower app:i18n:create ja -> Assets -> Content -> Finder -> System -> Updater -> App [✓] Lang file(s) created in #config:i18n! |
Settings > Locales > Add Locale
ja, 日本語
Settings > Account > Admin UI Language
Japanese