更换VPS系统为ubuntu 18.04
注意:自动安装的php版本是7.2,nginx的默认配置文件中php是7.0,需要手工编辑一下。
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04
注意:自动安装的php版本是7.2,nginx的默认配置文件中php是7.0,需要手工编辑一下。
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04
貌似新版的不能用,老是
Illegal instruction (core dumped)
/data/etc/misstar/applications/v2ray/v2ray -config /data/etc/misstar/applications/v2ray/config.json &
参考:
https://sixu.life/xiaomi-router-r2d-configuring-v2ray.html
https://cloverkit.coding.me/2018/08/07/%E9%85%8D%E7%BD%AE-V2Ray-%E5%92%8C%E8%B7%AF%E7%94%B1%E5%99%A8%E9%80%8F%E6%98%8E%E4%BB%A3%E7%90%86/
List of 3rd party packages repository providers. This way you get
update notifications and the list of all packages in the "package
center" as it should beThe first one is the best (synocommunity) but you can like me put all
http://packages.synocommunity.com
http://e-remonty.info/spkrepo/packages
http://packages.missilehugger.com/
http://www.cphub.net/
http://synopkg.superzebulon.org/spkrepo/packages
http://packages.pcloadletter.co.uk/
http://update.10trum.de/packageupdate/getpackages.php
http://synology.mdevries.org/spkrepo/packages
http://synology.sysco.ch
http://packages.hoel.dk/
http://spk.q14six.de/
http://packages.quadrat4.de
来源:https://xpenology.com/forum/topic/133-solvedsynology-3rd-party-apps/
PVE是基于Debian的,PVE基于最新的Debian 10,代号buster。
按PVE的官网文档,应该添加hpe的官方源,导入密钥,再使用apt进行安装。
但实际上,hpe官方源中并没有给Debian 10提供这个软件包,所以不必添加源和导入密钥,直接去软件包目录里去下载最新版的hpacucli_X.XX.X-X._amd64.deb包,再用下面命令手动安装。
dkpg -i hpacucli_X.XX.X-X._amd64.deb
当前最新版本是9.40.1-1。
将HP P410阵列卡插入PCI-Ex8或16插槽,完成硬件安装,先不接硬盘。
HP P410阵列卡较旧的固件版本可能无法正确识别硬盘。我遇到的3.0版的固件无法识别3T的SAS硬盘。所以要升级固件。
到hpe的官方页面上去下载固件和刷写工具包,工具包是rpm格式的,不能直接安装。
按照安装说明上的操作,用rpm2cpio来解压缩工具包再手动安装。需要注意的是PVE默认没安装rpm2cpio工具,apt安装即可。
按照安装说明刷写时,./hpsetup无法正常工作,手动执行./ccissflash即可。
连接硬盘与阵列卡硬件,按参考文档进行即可。
查看阵列卡和硬盘情况:
ctrl all show config
新建逻辑卷:
ctrl slot=X create type=ld drives=XX:X:X *raid=0*
按参考文档,使用hdparm测试即可。
hdparm -Tt /dev/sdX
这个问题主要是安装好阵列卡之后网卡的名称变了,导致网络接口配置文件失效造成的。
编辑/etc/network/interfaces文件,把网卡的名称改过来即可。
我遇到的情况是网卡名由enp1s0变成了enp2s0。
You can have 4 IDE disks, 14 SCSI disks, 16 VIRTIO disks and 6 SATA disks (= 40 disks).
打开启动注册表编辑器,展开HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Update
如果没有Update项,右击Control选择新建项目,命名为Update
右击Update项目,新建DWORD值(32位),命名为UpdateMode,双击该项将数值改0,之后重启再查看一下。
来源:https://answers.microsoft.com/zh-hans/windows/forum/all/windows-10/d321b99f-36ac-459f-ba53-a1fb8b9a501b
想要在当前目录下打开 cmd 或者 powershell 终端。直接在地址栏输入 cmd 或者 powershell 就可以了。
在当前位置启动其他应用程序的, 比如 wsl,notepad 等
Alt + d 快速切换至地址栏 然后输入 cmd
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
EPEL (Extra Packages for Enterprise Linux) is a free and open source,
popular, community based repository project aimed at providing high
quality packages that have been developed, tested, and improved in
Fedora and made available for RHEL, CentOS, Scientific Linux and
similar Linux distributions. Most of the other repositories listed in
this article are dependent on EPEL.To enable EPEL repository on your system, use the following commands.
# yum install epel-release
Note: On RHEL 7, you need to enable the optional and extras repositories since EPEL packages may depend on packages from these repositories.
# subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
from
https://www.tecmint.com/yum-thirdparty-repositories-for-centos-rhel/