In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Recently, we have studied the OSSIM system, the installation of OSSIM is a good ISO, and the operating system chooses CentOS 64Bit system.
I use the ISO installation of OSSIM 4.11, although the system description supports Chinese, in fact, it is only in traditional Chinese in Taiwan.
Download address of installation package: http://downloads.us.alienvault.com/c/download?version=current_ossim_iso
In order to make OSSIM support simple Chinese, and continue to make some changes in Chinese culture in the future, you need to make the following adjustments to the system:
1. First of all, enter the administrative background of OSSIM. After logging in with SSH, enter the AlienVault Setup menu of the department, and select 3 Jailbreak system to enter the background with Root permission.
two。 Modify localization
Execution
Dpkg-reconfigure locales
Select the following localization
En_US
En_US.UTF-8
Zh_CN
Zh_CN GB18030
Zh_CN.GBK GBK
Zh_CN.UTF-8 UTF-8
Zh_HK
Zh_HK.UTF-8
Zh_TW
Zh_TW.EUC-TW
Zh_TW.UTF-8
Then set the system default localization: en_US.UTF-8 or zh_CN.UTF-8
two。 Add VIM support for UTF-8
Vi / etc/vim/vimrc
Add at the end of line
Set encoding=utf8
Set fileencodings=ucs-bom,gbk,gb2312,gb18030,utf-8,latin1
At the same time, specify your own font encoding for remote login as UTF-8.
3. Replace the original ossim.po file to support the system in simplified Chinese
The attachment is the generated OSSIM.po file.
Put the finished ossim.po file back to the / usr/share/locale/zh_CN/LC_MESSAGES/ directory (back up before)
Then regenerate the mo file with msgfmt
Cd / usr/share/locale/zh_CN/LC_MESSAGES/
Msgfmt-o ossim.mo ossim.po
Finally, log in to OSSIM and select Chinese simplified in the user's profile. The system takes effect automatically.
Add two points:
For uploading and downloading 1.ossim.po, the author likes to use the xftp that comes with xshell. Therefore, it is recommended to install xshell before processing.
two。 As there may also be garbled codes in the Word conversion, after the above adjustment, you can directly edit the ossim.po file and then generate the mo file.
Important tips:
Apache and page encoding of OSSIM are not friendly to UTF-8. After adjustment, Chinese may continue to garbled. Therefore, it is necessary to unify the coding of po and Apache under GB2312. Method reference:
Http://blog.sina.com.cn/s/blog_71e3b2bb01016w2v.html
Specific steps:
After using the VI modified ossim.po, you need to set the output encoding to GB2312 before saving
: set encoding=gb2312 fileencodings=utf-8
Save again
: wq!
Modify the default encoding of Apache:
Vi / etc/apache2/conf.d/charset
Add
AddDefaultCharset gb2312
Finally restart Apache
/ etc/init.d/apache2 restart
Attachment: http://down.51cto.com/data/2364876
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.