Category Archives: SYSTEM

xp win2003电脑无法连接samba共享目录

从samba 4.5开始,ntlm auth参数默认值由“yes”变为“no”。导致默认情况下使用NTLM级别LAN Manager身份验证的客户端不允许登录Samba服务器,受影响的客户端包括Windows XP、Windows2003等。

解决方法(任选一种都可解决):
1. Samba服务器端smb.conf配置文件中添加“ntlm auth = yes”后重启smb服务。
2. Windows XP客户端修改本地安全设置、安全选项、“网络安全:LAN Manager身份验证级别”的值为“仅发送 NTLMv2响应”。

Ubuntu 20.04 桌面版 关闭 图形界面

:cd /etc/default
:/etc/default$ ls
:sudo vi grub
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”to “text”
:sudo update-grub
:sudo systemctl set-default multi-user.target
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/multi-user.target.
:reboot

Microsoft Office 2010 MSXML 6.10.1129.0

https://www.microsoft.com/zh-cn/download/details.aspx?id=6276
regsvr32 /u msxml6.dll
regsvr32 msxml6.dll
regedit
找到: HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32
单击WIN32,在右边的窗口,双击“默认值”
如果默认值是这个内容就ok了,如果没有就填这个默认值 C:\Windows\System32\msxml6.dll
如果找不到 {F5078F18-C551-11D3-89B9-0000F81FE221}, import the key. as below:

****
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0]
[HKEY_CLASSES_ROOT\TypeLib\{F5078F18-C551-11D3-89B9-0000F81FE221}\6.0\0\win32]
@=”c:\\windows\\system32\\msxml6.dll”
****

using .reg file.

ubuntu wordpress sqlite

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install apache2 -y
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.1-fpm php7.1-mcrypt php7.1-cli php7.1-xml php7.1-mysql php7.1-gd php7.1-imagick php7.1-recode php7.1-tidy php7.1-xmlrpc
sudo apt-get install libapache2-mod-php7.1
sudo apt-get install php7.1-sqlite3
wget https://wordpress.org/latest.tar.gz
wget https://downloads.wordpress.org/plugin/sqlite-integration.1.8.1.zip
tar xvfz ./latest.tar.gz
unzip ./sqlite-integration.1.8.1.zip
sudo mv wordpress /var/www/html/
sudo chown -R www-data:www-data /var/www/html/wordpress
mv wp-config-sample.php wp-config.php
mv sqlite-integration /var/lib/wordpress/wp-content/plugins/
mv /var/www/html/wordpress/wp-content/plugins/sqlite-integration/db.php /var/www/html/wordpress/wp-content/
sudo service apache2 restart
IP/wordpress #start installation

Complete Guide to Install Zotero on Ubuntu 18.04

This tutorial explains how to download and install Zotero Bibliography Tool on Ubuntu 18.04 with web browser Firefox “Quantum”. The new Firefox “Quantum” (v57 and later) is the reason why Zotero changed to be stand-alone program with its own window outside of Firefox. You will download Zotero manually, extract and setup it on your desktop menu, and then integrating it with Firefox and LibreOffice Writer. The whole steps are easy to follow for anyone. Finally, enjoy Zotero and happy researching! Continue reading Complete Guide to Install Zotero on Ubuntu 18.04

文献管理 on ubuntu and iPad

Zotero是开源、跨平台的文献管理工具,可以方便的收集,组织,引用,和共享文献的工具。
官网:https://www.zotero.org/
Zotero过去只是Firefox浏览器下的一款扩展(add-on),现在已经有了桌面版。
Zotero源代码:https://github.com/zotero
Ubuntu安装Zotero桌面版:
$ sudo add-apt-repository ppa:smathot/cogscinl
$ sudo apt-get update
$ sudo apt-get install zotero-standalone
For iPad we have: PaperShip for Mendeley & Zotero