Centos · Nov 25, 2020 Keep Your SSH Session Running when You Disconnect Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them. It also…
Centos · Nov 13, 2020 centos push jekyll to github cd /www/wwwroot/hearing-aids.com.cn git config --system user.name "audisound" git config --system user.email "[email protected]" git remote rm origin git init git remote add origin [email protected]:audisound/hearing-aids.com.cn.git git fetch origin…
Centos · Jun 1, 2020 Solved:Could not resolve host: mirrors.iuscommunity.org Solved:Could not resolve host: mirrors.iuscommunity.org Quote Post by henk » 29 Jan 2020 13:02 Yum update had an issue with the IUS mirror list. ( eFa4 kickstart on Centos7 minimal…
Centos · Nov 25, 2019 Install: Quick Install Magento 2 on litespeed Install: Quick Install Magento 2 After you install OpenLiteSpeed, follow the instructions below to get your Magento 2 site working. You MUST enable Rewrites and “Auto Load from .htaccess”…
Centos · May 23, 2019 How to Create an HTTP Proxy Using Squid on CentOS 7 Web proxies have been around for quite some time now and have been used by millions of users around the globe. They have a wide range…
Centos · Mar 12, 2019 aliyun auto mysql and file backup to oss //autorun crontab -e 02 4 * * * root run-parts /etc/cron.daily 42 4 1 * * root run-parts /etc/cron.monthly // mysqlbackup vi /etc/cron.daily/bakmysql.sh DATE=`date +%Y%m%d%H%M` #every…
Centos · Mar 11, 2019 yum upgrade php 7.0 to php7.2 yum provides php #自带的只有5.4版本 yum remove php* rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm #更新源 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum remove php-common -y #移除系统自带的php-common yum install -y…
Centos · Feb 28, 2019 aliyun oss file batch upload shell command 摘要: 经常碰到内部同学或者外部客户问ossutil关于增量上传的问题。本文简单描述下原理并举例说明。 # 应用场景 ## 场景一 某用户有一批文件(比如1000个)要上传到OSS(或从OSS下载,或从OSS拷贝到OSS,下同),当执行批量上传的过程中出现失败(比如在上传第601个文件时失败)。 经常碰到内部同学或者外部客户问ossutil关于增量上传的问题。本文简单描述下原理并举例说明。 用户可从这里获取ossutil。 官网:https://help.aliyun.com/document_detail/50452.html 代码:https://github.com/aliyun/ossutil 应用场景 场景一 某用户有一批文件(比如1000个)要上传到OSS(或从OSS下载,或从OSS拷贝到OSS,下同),当执行批量上传的过程中出现失败(比如在上传第601个文件时失败)。用户立即使用相同命令重新上传,并希望能跳过已经成功上传的文件,实现增量上传。 场景二 考虑这样一个场景,某用户有个目录dir1,连续一周每天往里面写10000个文件(比如监控场景等),每天晚上12:00将当天写入的文件上传至OSS。用户希望后续每天上传当天写入的新文件时能快速跳过前一天已经上传的文件,从而实现加速增量上传。 ossutil相关选项 –update/-u 选项说明 如果指定了该选项,只有以下情况,ossuti才执行上传、下载、拷贝 目标文件(或object)不存在 源文件(或object)新于目标文件(或object) 当指定了该选项时,无论是否指定了–force选项,当目标文件存在时,ossutil都不会提示,直接采取上述策略。 该选项可用于场景一。 例子 单个上传 $…
Centos · Nov 29, 2018 CentOS 7: Install Xfce for desktop environment CentOS 7: Install Xfce for desktop environment This article will describe installing Xfce for desktop environment. Table of Contents 1. Install Xfce 2. Login to Xfce…
Centos · May 10, 2018 https and wordpress config for nginx.conf server { listen 80 default backlog=2048; listen 443 ssl; # listen [::]:80 default_server; server_name www.shopaii.net shopaii.net; #这里是你自己的域名,如果没有,用本机ip root /www/shopaii.net; #这里是放wordpress的文件目录 index index.php index.html; ssl_certificate cert/hss5._com.crt; ssl_certificate_key…
Centos · Sep 14, 2017 How to Install xrdp on CentOS 7 / RHEL 7 xrdp is an Open Source Remote desktop Protocol server, which allows you to RDP to your Linux server from Windows machine; it is capable of accepting…