Climate Group

http://pkumet.live/group

User Tools

Site Tools


hardware:cs2019:log

This is an old revision of the document!


Log: 气候组服务器维护记录

1. Installation

##### Tools
apt install lftp
apt install tcsh
apt install vim nano (already installed by default)
apt install htop (already installed)
apt install dfc
apt install tree
apt install mc
apt install unrar
apt install pandoc a2ps
apt install img2pdf
apt install boxes figlet toilet cowsay
apt install sl
apt install sysbench (sysben --test=cpu|memory|fileio run)
apt install cockpit  (a simple admin tool via web by listening port 9090 w/ htpps)
apt install aha
apt install ffmpeg (a comprehensive tool for video/audio converting stuff)

##### Work
apt install openjdk-8-jdk    openjdk-8-doc
apt install openjdk-8-source openjdk-8-dbg  # optional
apt install gcc g++ gfortran
apt install ncl-ncarg
apt install octave
apt install netcdf-bin pnetcdf-bin
apt install ncview
apt install nco cdo (HUGE! 1.2G)
apt install grads
apt install gnuplot
apt install imagemagick
apt install gv xpdf mupdf
apt install feh

##### Network
apt install firefox
apt install w3m
apt install apache2
    a2enmod userdir            Open HTTP for each user under ~/public_html
    systemctl restart apache2  Restart HTTP service
apt install php
apt install shellinabox
    service shellinabox status
    service shellinabox start
    vi /etc/default/shellinabox if you want to change the default port 4200
apt install vsftpd
    systemctl status vsftpd
    systemctl start vsftpd
    systemctl enable vsftpd

##### Python3 w/ Anaconda
Download Anaconda3-2019.10-Linux-x86_64.sh from tuna.tsinghua and install it
After installation, it is shown:
-----
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> yes
no change     /opt/anaconda3/condabin/conda
no change     /opt/anaconda3/bin/conda
no change     /opt/anaconda3/bin/conda-env
no change     /opt/anaconda3/bin/activate
no change     /opt/anaconda3/bin/deactivate
no change     /opt/anaconda3/etc/profile.d/conda.sh
no change     /opt/anaconda3/etc/fish/conf.d/conda.fish
no change     /opt/anaconda3/shell/condabin/Conda.psm1
no change     /opt/anaconda3/shell/condabin/conda-hook.ps1
no change     /opt/anaconda3/lib/python3.7/site-packages/xontrib/conda.xsh
no change     /opt/anaconda3/etc/profile.d/conda.csh
modified      /root/.bashrc

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup,
   set the auto_activate_base parameter to false:

conda config --set auto_activate_base false

Thank you for installing Anaconda3!
-----

##### pip install
pip install pygame
pip install nikola pelican

##### Reset Timezone
timedatectl set-timezone Asia/Shanghai
timedatectl (this command will show below outputs)
(base) root@cs:~# timedatectl
                      Local time: Mon 2019-11-04 14:45:17 CST
                  Universal time: Mon 2019-11-04 06:45:17 UTC
                        RTC time: Mon 2019-11-04 06:45:17
                       Time zone: Asia/Shanghai (CST, +0800)
       System clock synchronized: yes
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

##### Re-Install NCL through conda (XW: Feb 22, 2020)
follow this page: http://www.ncl.ucar.edu/Download/conda.shtml
run this command to install NCL 6.6.2 into an environment named "NCL6"
conda create -n NCL6 -c conda-forge ncl

Please note that everyone, for everytime,
should run "conda activate NCL6" right before using NCL.

"conda deactivate" or not doesn't matter.

##### Install basemap package for anaconda/base (XW: Mar 4, 2020)
conda install basemap

##### Generate banner at /etc/motd (XW: Mar 6, 2020)
www.patorjk.com/software/taag
Input anything you want to show as hello banner
Press "Test All" so that you can choose one touching you

0. History

2019年11-12月,永霖和新宇采购并安装配置了全新的climateserver服务器(以下简称cs),硬件参数如下:

  • 20 Processors (Intel Xeon CPU E5-2650L v2 @ 1.70 GHz)
  • 64G RAM (Samsung DDR3 1600 MHz)
  • Hard drive: 2 x 12T HHD (WD Red) + 1 x 480G SSD
hardware/cs2019/log.1593657132.txt.gz · Last modified: 2020/07/02 02:32 by Xinyu Wen