Posted in  linux 

在升级GitLab后,进行gitlab-ctl reconfigure的时候,碰到问题:

bash[migrate gitlab-rails database] (gitlab::database_migrations line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
Read more →
Posted in  linux 


Read more →
Posted in  linux 

How do I configure Apache HTTPD to listen on multiple ports under RHEL / Fedora / CentOS Linux Server?

Multiple ports can be configured via Listen directive under Apache web server. By default httpd listens on TCP port 80.

How to configure httpd to listen multiple ports?
Open configure file /etc/httpd/conf/httpd.conf and modify the Listen directive tells the server to accept incoming requests on the specified port. Multiple Listen directives may be used to specify a number of ports to listen to.

Read more →
Posted in  linux  物联网iot 


  • 国家一定要选择China,否则可能会造成SSH频繁断开和严重的卡顿!
  • 语言选择English,方便根据报错查找问题。




sudo systemctl restart dhcpcd.service
sudo systemctl restart networking.service
sudo reboot
Read more →
Posted in  linux 

Boutique: CentOS7 and FastDFS build image server

brief introduction

FastDFS is an open source high-performance Distributed File System. It manages files. Its main functions include: file storage, file synchronization, file access (file upload, file download), etc. It mainly solves the problem of massive data storage, especially for small and medium-sized files (recommended range: 4KB < file)_ Size < 500MB).

FastDFS system has three roles: tracker server, storage server and client.

Read more →