Difference between revisions of "Software installation"
m |
|||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | ='''RDP Warp'''= | ||
| + | RDPwarp is the 3rd party program that allow us to multiple login to Windows 7/10. However, after the windows update, this service may not be in function. | ||
| + | The solution is to update the ''rdpwrap.ini'' file and restart this service. | ||
| + | |||
| + | The source code of the RDP warp is now maintained [https://github.com/stascorp/rdpwrap here], where we can also find the latest discussion on the rdpwarp.ini information. | ||
| + | |||
='''Mediawiki'''= | ='''Mediawiki'''= | ||
| − | To install [[wikipedia:MediaWiki|MediaWiki]] on [[wikipedia:Centos|CentOS]], you can mainly follow the step from [https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux their online manual]. | + | <span style="color:#FF0000">To install [[wikipedia:MediaWiki|MediaWiki]] on [[wikipedia:Centos|CentOS]], you can mainly follow the step from [https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux their online manual]. </span> |
However, there are a few steps need to be modified, or be cautioned: | However, there are a few steps need to be modified, or be cautioned: | ||
| Line 17: | Line 23: | ||
'''Enable''' both the '''https''' and '''http''' services (follow the instructions of the configuration interface). | '''Enable''' both the '''https''' and '''http''' services (follow the instructions of the configuration interface). | ||
| − | '''''Add details (install system-config-firewall-tui and enable services)'''''<syntaxhighlight lang="bash"> | + | '''''Add details (install system-config-firewall-tui and enable services)''''' |
| + | <syntaxhighlight lang="bash"> | ||
yum install system-config-firewall-tui | yum install system-config-firewall-tui | ||
| Line 24: | Line 31: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | Add < | + | Add |
| + | <syntaxhighlight lang="bash">--permanent</syntaxhighlight> | ||
| + | to make sure these rule will still apply after reboot. | ||
====file upload issue==== | ====file upload issue==== | ||
Sometimes the file upload function won't work even if you enable the upload function in the Mediawiki. One of the likely issue is the SELinux security issue, and the other potential issue is the php. | Sometimes the file upload function won't work even if you enable the upload function in the Mediawiki. One of the likely issue is the SELinux security issue, and the other potential issue is the php. | ||
| − | =''' | + | ='''SPOTL'''= |
| + | |||
| + | <span style="color:#FF0000">The SPOTL program and maunal can be obtained from [https://igppweb.ucsd.edu/~agnew/Spotl/spotlmain.html#Downloads here]</span> | ||
| + | |||
| + | The following section describes the procedure of installing SPOTL in the [[wikipedia: Ubuntu]] virtural machine </span> | ||
| + | </br> | ||
| + | |||
1. 在Ubuntu中安裝gfortran的元件。安裝gfortran時他會同時安裝gcc。 | 1. 在Ubuntu中安裝gfortran的元件。安裝gfortran時他會同時安裝gcc。 | ||
| Line 53: | Line 68: | ||
8. 如此應該大功告成..可以跑SPOTL了…. | 8. 如此應該大功告成..可以跑SPOTL了…. | ||
| + | |||
| + | 9. 潮汐模型操作請見[[SPOTL]] | ||
Latest revision as of 03:01, 6 October 2021
Contents
RDP Warp
RDPwarp is the 3rd party program that allow us to multiple login to Windows 7/10. However, after the windows update, this service may not be in function. The solution is to update the rdpwrap.ini file and restart this service.
The source code of the RDP warp is now maintained here, where we can also find the latest discussion on the rdpwarp.ini information.
Mediawiki
To install MediaWiki on CentOS, you can mainly follow the step from their online manual.
However, there are a few steps need to be modified, or be cautioned:
SELinux
SELinux enforcement could cause a few problems when uploading files to the MediaWiki server. Follow this introduction before installing MediaWiki on the server. This is to prevent the file uploading issues caused by the SELinux
Upgrade php from 5.x to 7.0
The current MediaWiki require php 7.0, which is not included in CentOS's standard package Follow this introduction to update the php to version 7.x before
Firewall configuration
You also want to open ports in your firewall using
system-config-firewall-tui
Enable both the https and http services (follow the instructions of the configuration interface).
Add details (install system-config-firewall-tui and enable services)
yum install system-config-firewall-tui
firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-service=httpsAdd
--permanentto make sure these rule will still apply after reboot.
file upload issue
Sometimes the file upload function won't work even if you enable the upload function in the Mediawiki. One of the likely issue is the SELinux security issue, and the other potential issue is the php.
SPOTL
The SPOTL program and maunal can be obtained from here
The following section describes the procedure of installing SPOTL in the wikipedia: Ubuntu virtural machine
1. 在Ubuntu中安裝gfortran的元件。安裝gfortran時他會同時安裝gcc。
原本以為一定要用g77作編譯,後來發現gfortran也可以,只是要改編譯用的flag
2. 下載SPOTL並在Ubuntu中解壓縮到任一資料夾。
3. 修改../SPOTL/src/MAKEFILE
這裡要把編譯器從g77改成gfortran,同時修改flag,刪除大多數的flag,只留下-o2這一項。
4. 修改../SPOTL/spotl.install
把Tobinary改成 sudo ./Tobinary。不然Tobinary無法正常執行。
5. 如果gzcat找不到的話可以
sudo ln /bin/zcat /bin/gzcat6. 執行
./spotl.install第一次可能會因為gfortran overflow而中突發生錯誤,如果發生,再重新執行一遍。
7. 編譯完成後到 spotl/working下執行
sudo chmod 755 *修改權限,不然無法執行script。
8. 如此應該大功告成..可以跑SPOTL了….
9. 潮汐模型操作請見SPOTL