Último Compartir

Publicando las últimas noticias e ideas para ti

Popular Articles

Recent Stories

Ubuntu 10.04架设VPN

There is no translation available.

整了两天,终于在Ubuntu 10.04 VPS上成功架设了VPN,并可在Windows 7上通过VPN拨号访问Facebook,Twitter等网站,爽!

服务器环境: OS:Ubuntu 10.04 (我最想用11.04,无奈服务商提供的最新的版本也只是10.04,郁闷!) VPS类型:Xen VPN类型:PPTP

本地环境: OS:Windows 7 Internet: 联通光纤,须拨号

介绍下搭建步骤:

Linux系统修改MySQL数据库密码的方法

There is no translation available.

第一种方法:
root用户登录系统
/usr/local/mysql/bin/mysqladmin -u root -p password 新密码
enter password 旧密码

Linux平台下如何重置mysql的root密码

There is no translation available.

1.首先确认服务器出于安全的状态,也就是没有人能够任意地连接MySQL数据库。
因为在重新设置MySQL的root密码的期间,MySQL数据库完全出于没有密码保护的状态下,其他的用户也可以任意地登录和修改MySQL的信息。可以采用将MySQL对外的端口封闭,并且停止Apache以及所有的用户进程的方法实现服务器的准安全状态。最安全的状态是到服务器的Console上面操作,并且拔掉网线。

控制macOS的开机启动

There is no translation available.

Mac开机启动的配置与其他类Unix系统相比较麻烦,Linux配置rc.local文件即可。
macOS系统上开机启动这个叫法不准确,应该叫“自启动”或者“登录时启动”。macOS上启动项可分为登陆项(Login Items)和启动项(Startup Items)。Login items在用户登录后立即启动并一直运行,直到用户退出登录或者手动终止才会停止运行。Startup items苹果官方不推荐再使用,Startup items在系统装载的最后阶段启动。

App 在macOS Catalina下提示已损坏无法打开的解决办法

There is no translation available.

在Terminal:
sudo xattr -r -d com.apple.quarantine /Applications/xxxx.app

安装odoo openerp时出现python setup.py egg_info

There is no translation available.

由于用homebrew安装了python2和python3,

在运行pip install -r requirement.txt时出现以下错误:

在MacOS下同时安装Python 2 和 3,并设置默认使用的版本

There is no translation available.

#Python 命令

  • 系统默认使用python2,使用brew可安装python3
  • python --version:查看python2版本

MacOS下 homebrew update 失败,提示路径不可写

There is no translation available.

运行 brew update 之后,

提示:

You should probably change the ownership and permissions of /usr/local

back to your user account.

sudo chown -R $(whoami):admin /usr/local