以管理员账户登录到Windows 10 添加日文微软输入法
问题:非管理员的普通用户在“控制面板”添加日文微软输入法后,只能输入英文字母abc,不能输入日文平假字あいさつと。
尝试:以管理员账户登录后,在“控制面板”添加日文微软输入法后,会提示下载语言包,完成下载后(显示“已安装语言包”),非管理员账户也能输入日文平假字なに了。
参考:https://www.bilibili.com/read/cv3562323/
问题:非管理员的普通用户在“控制面板”添加日文微软输入法后,只能输入英文字母abc,不能输入日文平假字あいさつと。
尝试:以管理员账户登录后,在“控制面板”添加日文微软输入法后,会提示下载语言包,完成下载后(显示“已安装语言包”),非管理员账户也能输入日文平假字なに了。
参考:https://www.bilibili.com/read/cv3562323/
环境:腾讯云香港机,iredmail 1.3.1,centos7
问题:iredmail安装完成后,在浏览器里访问 iredadmin 提示 Internal Server Error 出错。
过程:查看 /var/log/message 内容,
Jul 22 13:35:30 mail uwsgi: *** Operational MODE: preforking ***
Jul 22 13:35:30 mail uwsgi: Traceback (most recent call last):
Jul 22 13:35:30 mail uwsgi: File "iredadmin.py", line 9, in <module>
Jul 22 13:35:30 mail uwsgi:
Jul 22 13:35:30 mail uwsgi: from libs import iredbase
Jul 22 13:35:30 mail uwsgi: File "/opt/www/iRedAdmin-1.0/libs/iredbase.py", line 7, in <module>
Jul 22 13:35:30 mail uwsgi:
Jul 22 13:35:30 mail uwsgi: import web
Jul 22 13:35:30 mail uwsgi: ImportError
Jul 22 13:35:30 mail uwsgi: :
Jul 22 13:35:30 mail uwsgi: No module named web
Jul 22 13:35:30 mail uwsgi:
Jul 22 13:35:30 mail uwsgi: unable to load app 0 (mountpoint='') (callable not found or import error)
Jul 22 13:35:30 mail uwsgi: *** no app loaded. going in full dynamic mode ***
回查安装过程中,有相关的错误提示内容:
Complete!
[ INFO ] Installing required Python-3 modules with pip3: web.py>=0.51 web.py>=0.51
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting web.py>=0.51
The repository located at mirrors.tencentyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host mirrors.tencentyun.com'.
Could not find a version that satisfies the requirement web.py>=0.51 (from versions: )
No matching distribution found for web.py>=0.51
[ INFO ] Installing required Python-2 modules with pip2: web.py>=0.51 more-itertools==5.0.0 web.py>=0.51 more-itertools==5.0.0
Collecting web.py>=0.51
The repository located at mirrors.tencentyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host mirrors.tencentyun.com'.
Could not find a version that satisfies the requirement web.py>=0.51 (from versions: )
No matching distribution found for web.py>=0.51
You are using pip version 8.1.2, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
那么可尝试手工安装python的相关包,pip3 install web.py>=0.51
pip2 install web.py>=0.51 more-itertools==5.0.0
然后再重启相应服务(iredamin和iredpad等),或重启系统后测试,可以正常登录到iredadmin进行管理了。
参考:https://forum.iredmail.org/topic17082-internal-server-error-iredadmin.html
现象:通过宝塔面板,在“软件商店”里安装php7.3,失败,提示 can't find evp.h。
尝试:查找 evp.h 文件,发现有两个地方有,/usr/include/openssl/evp.h 和 /usr/local/src/openssl-1.1.1c/include/openssl/evp.h 。查看 /www/server/panel/install/php.sh 里的内容,php7.3安装的编译参数有 --with-openssl=/usr/local/openssl 。尝试将usr/local/src/openssl-1.1.1c/include/openssl/ 里的编译原文件复制到 /usr/local/openssl/include/openssl/ 后,再安装就成功了。
参考:
问题:在centos8 64位系统里安装xampp for linux php 5.5,提示 “XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.”
尝试:可能是php使用了libnsl.so的模块,导致php加载出错。yum install libnsl
可安装 libnsl 后再次尝试。
过程:
/usr/src/obj/tooldir.NetBSD-9.0-amd64/bin/nbmakefs -t ffs -s 65093632 ramdisk.fs.tmp iso
的命令生成指定大小的ramdisk.fs文件。用如 /usr/src/obj/tooldir.NetBSD-9.0-amd64/bin/x86_64--netbsd-mdsetimage -v netbsd ramdisk.fs.tmp
的命令来将ramdisk.fs文件塞到netbsd的内核中。netbsd的内核可用INSTALL的配置文件,指定 MEMORY_DISK_ROOT_SIZE=127200
(反复测试后,最大值可能不能超过152500)。最后,用 mkisofs -no-emul-boot -J -R -v -b bootxx_cd9660 -o NetBSD-9-LiveCD-3.iso iso2
的命令来生成可启动的iso文件,其中iso2是只包含boot,boot.catalog,boot.cfg,bootxx_cd9660和netbsd内核文件的“精简”目录,这样生成的 NetBSD-9-LiveCD-3.iso 大小约有83M,且能在虚拟机的光驱及debian系统中的grub引导NetBSD-9-LiveCD-3.iso 保存在“百度网盘”里(链接:https://pan.baidu.com/s/1w8JUC4NiEELrITFHKfSUPQ
提取码:lg3e),有时间玩的话,可以试试。文件验证值是:
ssh root@144.172.126.250
Warning: Permanently added '144.172.126.250' (RSA) to the list of known hosts.
root@144.172.126.250's password:
X11 forwarding request failed on channel 0
NetBSD 9.0 (MKLIVECD_INSTALL_A2) #29: Fri Jul 3 17:50:52 CST 2020
We recommend that you create a non-root account and use su(1) for root access.
localhost# lsls
-sh: lsls: not found
localhost# ls -l /
total 149
-r--r--r-- 1 root wheel 1220 Feb 14 00:06 .cshrc
-r--r--r-- 1 root wheel 701 Feb 14 00:06 .profile
drwxr-xr-x 2 root wheel 1024 Jul 1 14:16 bin
-r--r--r-- 1 root wheel 84408 Jun 30 14:43 boot
-rw-r--r-- 1 root wheel 172 Feb 14 00:06 boot.cfg
-r--r--r-- 1 root wheel 2048 Jun 30 14:43 bootxx_cd9660
drwxr-xr-x 9 root wheel 41472 Jul 3 10:09 dev
drwxr-xr-x 30 root wheel 2048 Jul 3 10:10 etc
drwxr-xr-x 4 root wheel 2560 Feb 14 00:06 lib
drwxr-xr-x 2 root wheel 512 Jul 3 09:32 libdata
drwxr-xr-x 5 root wheel 512 Feb 14 00:06 libexec
drwxr-xr-x 2 root wheel 512 Feb 14 00:06 mnt
drwxrwxrwt 6 root wheel 512 Jul 3 10:09 ramfs
drwxr-xr-x 2 root wheel 512 Jun 21 15:34 rescue
drwxr-xr-x 2 root wheel 512 Jul 3 10:09 root
drwxr-xr-x 2 root wheel 3072 Jul 1 14:16 sbin
drwxr-xr-x 2 root wheel 512 Jul 3 07:54 stand
drwxrwxrwt 3 root wheel 512 Jul 3 10:12 tmp
drwxr-xr-x 10 root wheel 512 Jul 3 09:33 usr
drwxr-xr-x 24 root wheel 512 Jul 3 10:09 var
参考: