随笔分类 -  操作系统_macOS的使用

摘要:vim /etc/export /data_sda1/ 192.168.1.*(rw,sync,insecure,no_root_squash) mac端自带rpcbind 挂载 sudo mount -o resvport 192.168.1.180:/data_sda1 sda_data 阅读全文
posted @ 2018-05-19 20:34 zhaocundang 阅读(887) 评论(0) 推荐(0) 编辑
摘要:如果你知道密码: mysqladmin -u root -p password 新密码 MYSQL数据库密码忘记: 1. 在系统偏好 中,中止MYSQL服务.; 2. cd/usr/local/mysql-...../bin sudo ./mysqld_safe--skip-grant-tables 阅读全文
posted @ 2018-05-18 11:56 zhaocundang 阅读(315) 评论(0) 推荐(0) 编辑
摘要:终端输入 curl http://members.3322.org/dyndns/getip way 2: ➜ ~ wget http://ipecho.net/plain O q ; echo 1.180.18.115 阅读全文
posted @ 2018-05-12 15:05 zhaocundang 阅读(4326) 评论(2) 推荐(2) 编辑
摘要:sudo spctl master disable 阅读全文
posted @ 2018-05-10 18:47 zhaocundang 阅读(229) 评论(0) 推荐(0) 编辑
摘要:配置c++ 等编程语言补全等 https://www.cnblogs.com/zhaocundang/p/8909402.html 1. 安装 macvim brew install macvim 将vim替换为mvim alias vim='mvim -v' 2.安装Vundle git clon 阅读全文
posted @ 2018-04-22 20:48 zhaocundang 阅读(3426) 评论(0) 推荐(0) 编辑
摘要:切换bash ————》》》chsh -s /bin/bash 切换zsh 》》》chsh -s /bin/zsh 阅读全文
posted @ 2018-04-22 18:10 zhaocundang 阅读(1244) 评论(0) 推荐(0) 编辑
摘要:打开终端输入:diskutil list找到EFI这个分区,挂载EFI分区diskutil mount /dev/disk0s1回到Finder 删除除apple之外的两个文件夹就可以了(删除win10 EFI启动文件) 阅读全文
posted @ 2018-03-27 20:23 zhaocundang 阅读(2418) 评论(0) 推荐(0) 编辑
摘要:echo 手机厂商号 >> ~/.android/adb_usb.ini ~ echo 0x18d1 >> ~/.android/adb_usb.ini 重启系统即可 环境变量 vim .profile 添加:(根据自己SDK存放的位置而定) export PATH=${PATH}:/Applica 阅读全文
posted @ 2018-03-04 18:09 zhaocundang 阅读(316) 评论(0) 推荐(0) 编辑
摘要:下载地址: http://www.wch.cn/download/CH341SER_MAC_ZIP.html 安装,重启。 开机之前按住 command + r 进入recovery模式 终端输入:csrutil disable 关闭内核保护 重启:reboot 查看是否识别: ls /dev/cu 阅读全文
posted @ 2018-02-09 15:19 zhaocundang 阅读(1380) 评论(0) 推荐(0) 编辑
摘要:登陆 sftp -i 密钥路径 用户@ip ➜ ~ sftp -i Desktop/aliyun.pem root@39.106.30.1 Connected to 39.106.30.1 上传文件 put 本地路径 远程路径 sftp> put .ssh/* /home Uploading .ss 阅读全文
posted @ 2017-11-18 22:16 zhaocundang 阅读(1047) 评论(0) 推荐(0) 编辑
摘要:可行方法: mac终端输入 ssh-keygen 因为mac系统是类unix系统,linux系统是unix系统演变来的,所以呢,相当于在一个linux系统登录另外一个linux系统, 基本命令还是一样的。 用ssh-keygen生成公钥和私钥,把公钥放到服务器上,即可。 如果不行就参照一下方法: 从 阅读全文
posted @ 2017-11-12 21:36 zhaocundang 阅读(4098) 评论(0) 推荐(0) 编辑
摘要:下载mac数据库客户端: 地址:http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html 下载这俩个:(来源:http://www.cnblogs.com/xiaobo-Linux/p/7821402.html) 12.12 阅读全文
posted @ 2017-11-12 12:47 zhaocundang 阅读(2314) 评论(0) 推荐(0) 编辑
摘要:Installing Wine on Mac This tutorial is for intermediate users who want to install and use Wine on their computer running macOS. You should already kn 阅读全文
posted @ 2017-11-08 12:34 zhaocundang 阅读(499) 评论(0) 推荐(0) 编辑
摘要:1.mac 磁盘工具 抹掉sd卡 为fat 2. df -h 看清sd卡号 3. 卸载sd卡 diskutil unmount /dev/disk2s2 Volume UNTITLED on disk2s2 unmounted 4.列出sd卡分区 diskutil list /dev/disk0 ( 阅读全文
posted @ 2017-11-04 22:26 zhaocundang 阅读(3751) 评论(0) 推荐(0) 编辑
摘要:转载自:http://www.cnblogs.com/weixuqin/p/7029177.html 安装 首先我们下载的 iTem2 这个软件,比Mac自带的终端更加强大。直接官网 http://iterm2.com/ 下载并安装即可。 配置 将iTem2设置为默认终端: (菜单栏)iTerm2 阅读全文
posted @ 2017-08-19 09:31 zhaocundang 阅读(759) 评论(0) 推荐(0) 编辑
摘要:在app store 下载系统sierra; 打开磁盘工具,选择优盘,抹掉; 日志式,GUID分区; http://www.cnblogs.com/xiaobo-Linux/ 终端输入命令, sudo /Applications/Install\ macOS\ Sierra.app/Contents 阅读全文
posted @ 2017-08-16 20:53 zhaocundang 阅读(855) 评论(0) 推荐(0) 编辑
摘要:MAC 10.12.6 从Application直接删掉PD Mac盘--》资源庫--》preference--》删掉parallels 阅读全文
posted @ 2017-07-27 12:11 zhaocundang 阅读(1194) 评论(0) 推荐(0) 编辑
摘要:INSTALL brew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 其它: 其他brew命令 brew list 列出已安装的软件 brew update 更新b 阅读全文
posted @ 2017-07-21 12:15 zhaocundang 阅读(152) 评论(0) 推荐(0) 编辑
摘要:一、首先运行“终端”程序,执行以下命令: 1、调整每一列显示图标数量,7 表示每一列显示7个 defaults write com.apple.dock springboard-rows -int 7 2、调整每一行显示图标数量,这里我用的是7 defaults write com.apple.do 阅读全文
posted @ 2017-07-20 07:56 zhaocundang 阅读(493) 评论(0) 推荐(0) 编辑
摘要:先去官网下载一个 MySQL for mac http://www.cnblogs.com/xiaobo-Linux/ 命令行运行终端,运行下面两条命令: 1 2 alias mysql=/usr/local/mysql/bin/mysql alias mysqladmin=/usr/local/m 阅读全文
posted @ 2017-06-01 10:55 zhaocundang 阅读(511) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示