Host Nextcloud on Aliyun

Linux commands

    monitor linux:
    ssh user@hostaddress
    top,
    pisof,
    kill
    free -m
    vi:
    mode: insert(i); command(ESC :)
    save: q, q!, wq, ZZ

Apache command

    start/stop/restart apache

    /etc/init.d/apache2 restart

Host gitlab on Aliyun

install gitlab

install gitlab on unbuntu

mantain gitlab

  • vi /etc/gitlab/gitlab.rb
  • gitlab-ctl reconfigure
  • gitlab-ctl restart #stop, start