Install seafile server, Armbian arch64 (Failed)

Install seafile server, Armbian arch64 I write this to ask you to give it up. This is a note with failed result. Just use docker if you wanna quick&smooth deployment. Download binary package Visit our download page, download the latest server package: reference: https://seafile.gitbook.io/seafile-server-manual/deploying-seafile-under-linux/deploying-seafile-with-sqlite https://forum.seafile.com/t/compilation-arm64-done/6170 cd mkdir -p Downloads/seafile wget hhttps://cdn.iklive.eu/tcb13/2018/seafile-server_6.3.0_arm64.tar.gz Deploy you may need sudo -i first mkdir haiwen mv seafile-server_*.tar.gz haiwen cd haiwen # after moving seafile-server_* to this directory tar -xzf seafile-server_*.tar.gz mkdir installed mv seafile-server_*.tar.gz installed Setting up seafile server: # As the default python binary on Debian server is python 3(check by `phthon3 -V`), we need to install python (python 2) first.

READ MORE

Deploy NextCloudPi (ncp) docker on aarch64 (arm64) board

Deploy NextCloudPi(ncp) docker on aarch64 board 在Arm64或aarch64架构的板卡上使用Docker布署NextCloudPi云盘服务 About “arm64 vs aarch64”, just Google it.   figure source Reference: Get started with NextCloudPi (ncp) installation via docker: https://docs.nextcloudpi.com/en/how-to-get-started-with-ncp-docker/ Docker installation, on aarch64, ref: https://www.cnblogs.com/sonictl/p/12909874.html 1. Install ncp with docker: If you wanna firstly have a taste in LAN network env.: docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi 127.0.0.1 If you have a domain name: docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi $YOUR_Domain 2.

READ MORE

Install Docker-compose, armbian, aarch64

Install Docker-compose, armbian, aarch64 reference: aarch64安装Docker Compose Docker 17.03.2-ce on Arm64 (Aarch64) Debian 1. Check your system $ uname -s Linux $ uname -m aarch64 $ docker --version Docker version 18.09.1, build 4c52b90 reference: https://www.huaweicloud.com/kunpeng/software/dockercompose.html 2. Compile Follow the link above and test after finished. 3. Test bash commands and result for reference: root@bbhost:/usr/local/src/docker-compose-aarch64# docker run docker-compose-aarch64-builder root@bbhost:/usr/local/src/docker-compose-aarch64# find / -name "docker-compose-Linux-aarch64" /var/lib/docker/volumes/7ea3070ed7150ec80bd98ee7a09875cd891b98c2f570a656685dbd231dbb31be/_data/docker-compose-Linux-aarch64 /var/lib/docker/overlay2/83f1b21fb322a2f5b3eda68d2ae785c7fff1eaa14d36b6bcbd3df7ea89775501/diff/build/dockercompose/docker-compose-Linux-aarch64 root@bbhost:/usr/local/src/docker-compose-aarch64# /var/lib/docker/volumes/7ea3070ed7150ec80bd98ee7a09875cd891b98c2f570a656685dbd231dbb31be/_data/docker-compose-Linux-aarch64 --version docker-compose version 1.22.0, build e20d808e you may create a symlink for better convenience:

READ MORE

实时监控linux主机网络活动,上传下载速度

实时监控linux主机网络活动,上传下载速度 16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux by Aaron Kili | Published: September 20, 2018 | Last Updated: February 13, 2020 ref: https://www.tecmint.com/linux-network-bandwidth-monitoring-tools/ Linux Certifications - RHCSA / RHCE Certification | Ansible Automation Certification | LFCS / LFCE Certification Are you having problems monitoring your Linux network bandwidth usage? Do you need help? It’s important that you are able to visualize what is happening in your network in order to understand and resolve whatever is causing network slowness or simply to keep an eye on your network.

READ MORE

block SSH attacks on Linux with denyhosts (centOS7)

How To Install and Configure DenyHosts in CentOS 7 for preventing the violent cracking on ssh 防止ssh被暴力破解:denyhost工具 DenyHosts is an open-source python-based tool developed by Phil Schwartz intended to prevent brute-force attacks and dictionary-based attacks on SSH servers. It is a log-based security tool. It is simple and the ability to configure rules manually. DenyHosts is widely used as an alternative to Fail2ban. If there have been too many invalid SSH login attempts it assume that it’s brute-force attacks or dictionary-based attacks and prevents the IP address from making any further attempts by adding it to /etc/hosts.

READ MORE

ASCII Camera

https://andrei.codes/ ASCII Camera Transforms your webcam stream into a real-time ASCII representation using WebRTC APIs. Requires webcam and WebRTC enabled browser. Predator Vision Transforms your webcam stream into a real-time movement-triggered heatmap representation. Requires webcam and WebRTC enabled browser. ........................................ . .....,/((#####%#%%##((/*,,*////((/////*,.................. .... ..... ............... ............................................,*(###(##%%#######%%%#%#####%###%%%%%#%%###(//***,.......... ... ..... ............... ....................................... .*(###%&%%%%%%%%%%%&%&%%&%%%%&%%%&%%%&%%%%%%%%%%%%&&%%%#(/,..,..... ........... ............... .....................................,/##%%%%%%%%%%&&&&&&&&&&&&&&&&&&&&&&&&&&&&%%%&%%%&&%%%%%%%%%%%((*,,***..... . .................................,/#%%%%&%%&&&&&&&&&&&&&&@@@@@@@@&@@@@&&&&&&&&&&%&&&%%%%%%%&%%%%%%%%%%%%#/,**,... ...................... ....,,/#%%%%%&&&&&%&&&&&&&&&&&&@@@@@@@&&@&&@@&&&&&&&&&&&&&&&&&&%%%%%%%%%%%%%%%%%%###/*,.. .. ............................,/%%%%&&%%%&&&&&&&&&&&&&&&&&&&@&&&&&&&&&&@&&&@@&&&&@@&&&&@&&&&&&&&&%%%%%%%%%&&%%%##(*. ................ ........./##%%&%%&&&&&&&@@@@@@&@@@@&&&&&&&&&&&&&&&&%&&&%&&&&&&&&&&&&&&&&&&&&&%%&%%&&&&%%%%&%###(*,... .......................,/###%%&&@@&&&@&&&&&&&&&&&&&&&&&&%&&&&&&&&&&&&&&&&&&&&&&&&%&&&&&&&&&&&%%%%&&&&&%%&&&%%%%%#(*,.. .....................,./##%%&&&&&@&&&&&&&&&&&&&&&&&&%%%&&&&&&&&&&&&&&&&&&&&&&&&&&%&&&&&&&&&&&&&&&&&&&&&&&&&%%%&%%%(*,.. ....................,/(#%%%&&&&&&&@@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&&%%&&&&&%(*,.. ...................,/(#%%%&&&&&&&@@@@&&&&&&&&&&&%%&%%%%%%#############################%%%%%%%%%%&&&&&&&&&&&&&&&&&%%(*, ...................*(%%%&&&&&&&@@@@&%%&&&&%%%%###(((((//((///////////////////////////((((####%%%%%%%&&&&&&&&&&&&&&&%#*.. ..................,(#%%&&&&&@&@@&&&&&%%%%%##((((/////////////////************//////////////(((((####%%&&&&&&&&&&&&%%%%*. ..................*#%%&&&&&&&&&&&&&%%%%##((((////////////////*******************///////////////////((#%%%&&&&&&%%&&&%%%/. . . .................*#%&&&&&&&@&&&&&&%%##((((//////////////*****************************////////////////((#%%%&&&&&&%%%%%%&(, ................,#%&&&&&&&&&&&&&&%##(((((/////////////**********************************///////////////((%%%&&&&&&&%&&%%%(.. ...............,((%%&&&&&&&&&&&&%##(((((/////////////***********************************////////////////(#%%%%&&&&&&&&&%%(. ............. .,/#%&&&&&&%%&&&%%#(((((/(/////////////************************************///////////////((#%%%%%&&&%&%%%%(. ................,(%%&&&&%%&&&%%##((((((((////////////***********************************////////////////((##%%%%%&&%%%%%%(. . ................,(#&&&&%&&&&&%%#(((((((//////////////*************************************///////////////((#%%%&&%%&&&&%#*. . .

READ MORE

Mac OSX Catalina: can’t be opened because Apple cannot check for malicious software

Mac OSX Catalina: can’t be opened because Apple cannot check for malicious software macOS cannot verify that this app is free from malware. Solution: check with Security&Privacy settings under System Preferences to lift the Gatekeeper blocks, and fix alert messages. when you are using Catalina, the warning message reappears every time you open the non-notarized app open Terminal and run the cmd below xattr -d com.apple.quarantine /Applications/<your App's Name>.app e.g.: xattr -d com.apple.quarantine /Applications/qbittorrent.app

READ MORE

手机—— “精神糖(Psycho Candy)”

手机—— “精神糖(Psycho Candy)” 糖吃多了会对身体有很多害处,但糖却对味觉有强大的吸引力。 手机,越来越超越它本该承载的通讯功能,太多的信息、app和精心设计的用户操作体验,给人的精神带来愉悦与嗜欲。 你在睡前是否会玩会手机,感觉像是吸口大烟,吸了就舒服了。 你在起床前是否会刷一会新闻或朋友圈?不刷感觉心理有缺失感。 这种现象需引起重视,一不小心就会让本该过得更有效的时光从指间悄悄流逝,更别提眼镜和颈椎上带来的伤害。 你会发现那些信息、动态刷过之后,对生活没有任何益处,生命被浪费,换来的是精神的嗜手机欲得以满足而已。 不要让手机进入卧室,会减轻这一“精神糖果”对人生的妨害。

READ MORE

Linux 网络、Daemon、systemd 相关命令

=== CentOS 7+ 网络、Daemon 相关命令 === 包含了centos system 中 firewalld, port occupation, systemd service management 相关常用命令。 1. firewalld `firewall-cmd --permanent --add-port=100/tcp ` # open specific port `firewall-cmd --permanent --add-port=200-300/tcp` `firewall-cmd --permanent --add-service=http` # open port for service `firewall-cmd --reload` # take changes into effect `firewall-cmd --list-ports` # check the ports opened. `firewall-cmd --list-services` # check the service ` iptables-save` # check all currently applied rules 2. port netstat -tlunp # display all ports opened in host lsof -i # list the network open ports netstat -lptu # the process that owns them netstat -tulpn # You can add " | grep "kw1\|kw2\|kw3' " for keywords grep 3.

READ MORE