Posted in  linux 

Raspberry Pi Zero W吃灰有一段时间了,想着能否废物利用,使用普通USB摄像头改成一个RTSP协议网络摄像头。

1. 查看摄像头是否可用

查看是否已识别USB摄像头:

lsusb -t

安装luvcview:

sudo apt-get install luvcview
Read more →
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 

公司需要注册几个小程序,注册小程序需要邮箱,腾讯企业邮箱新账户需要绑定手机号和个人微信,不适合批量使用。昨天用turbomail搭建了邮件服务,功能很强大,但仅限于windows。因某些原因,服务器操作系统今天上午更改为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,方便根据报错查找问题。

开启WIFI

连接WiFi网络

进入桌面找到并连接WiFi。如果频繁断开或者无法连接,运行:

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 →