Install yum process, install yum-2.6.1-0.yd15.1.noarch.rpm error, need python and other dependent packages
Modify the yum-2.1.11-3.noarch.rpm, install OK; but the runtime prompts an error, it seems to be a python package dependency Error
Xterm or gnome-terminal after alt-f2 (xterm prompts Character Set mismatch)
Df-h query disk space
Rpm-qa | grep apache queries the software installation status (no response later)
Uname-
Use another virtual machine,/etc/httpd/conf/var/www/html/twiki/
View iptables-L-n
Iptables open port 80 iptables-a input-p tcp -- dport 80-j ACCEPT (case sensitive)
Gunzip twiki-5.0.2.tgz tar-xf twiki-5.0.2.tar
Whereis find installation location
Cp-r twiki/var/www/html/(-r is a folder nested copy)
Rm-rf twiki (Delete the entire directory)
Http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide
Add apache permission to the folder chown-R apache: apache/var/www/html/twiki
Check the installation location of perl/usr/bin/perl
Copy locallib.cfg.txt to LocalLib. cfg.
Httpd restart always prompts permission denied of the twiki. conf file, and then uses the command chcon-t httpd_config_t twiki. conf
(Caused by selinux security settings, ls-laZ)
An error occurred while loading twiki. conf. The error message "php_amdin_flag" is returned. If you comment out the error, you can load it. (The error is found that php support is provided in the configuration file and the twiki. conf configuration file is regenerated)
Perl support: Remove # Before # AddHandler cgi-script. cgi in httpd. conf and change it to AddHandler cgi-script. cgi. pl.
In configure, the url not found is always prompted because the ing relationship Alias in twiki. conf is incorrect. Modify twiki. conf again.
Cd twiki/data htpasswd-c. htpasswd username generate account information gongwenfang twikiadmin
The prompt "/var/www/html/twiki/lib" does not have the write permission. chmod 777/var/www/html/twiki/lib
After configuring OK, enter http: // 10.99.109.7/twiki/bin/view/to prompt flush (): couldn't store datastr: store ()... LoginManager. pm 542
Solution: chown-R apache: apache working (pub, data)
Set Character Set Original: {site} {Locale}: en_US.ISO-8859-1 to zh_CN.UTF-8 {site} {CharSet}: iso-8859-1 to UTF-8
You also need to modify part of the code vim lib/TWiki/Plugins/WysiwygPlugin/HTML2TML. pm and replace the red part with the green part.
113
# $ Text = Encode: decode_utf8 ($ text); Replace
114
If (utf8: valid ($ text )){
115
Utf8: decode ($ text );
116
}
Find-name '* log *'
After editing the page, save it and prompt twiki detected an internal error. syntax error. Solution: Check the errorlog under httpd/logs/and find that it is WysiwygPlugin. pm compilation error. Put the above HTML2TML. pm and find that it is an incorrect annotation symbol.
The prompt is that extender. pl should be run in the root directory. Switch to perl extender. pl under the twiki root directory.
TwikiBrowserPlugin should also be in the root directory
TWiki details: click here
TWiki: click here
Related reading: TWiki Installation and Use experience on Ubuntu