<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[cheenbee的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/cheenbee</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; cheenbee]]></copyright><item><title><![CDATA[编译 openmptcprouter]]></title><link>https://blog.csdn.net/cheenbee/article/details/108500290</link><guid>https://blog.csdn.net/cheenbee/article/details/108500290</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 19:19:58 +0800</pubDate><description><![CDATA[Ubuntu/Debian
安装依赖
sudo apt-get update
sudo apt-get install subversion g++ zlib1g-dev build-essential git \
python python3 python3-distutils libncurses5-dev gawk gettext unzip \
file libssl-dev wget libelf-dev ecj fastjar java-propose-classpath

构建编译
git c]]></description><category></category></item><item><title><![CDATA[更换 Ubuntu 软件源]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489599</link><guid>https://blog.csdn.net/cheenbee/article/details/108489599</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:51:40 +0800</pubDate><description><![CDATA[更换使用国内软件源镜像
通过更换 Ubuntu 的软件源为国内镜像地址提升下载速度，软件源配置文件是 /etc/apt/sources.list
1.  先备份系统自带的软件源配置文件
$ cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. 需要注意的是服务器机器架构和 Ubuntu 版本号不同，使用的镜像内容也不同，云服务器基本上都是X86架构，本文使用清华源镜，具体请查看 Ubuntu 镜像使用帮助，而树莓派使用的是ARM架构处理器, 我安装的U]]></description><category></category></item><item><title><![CDATA[Centos 使用官方repo源安装 zabbix，报错 No more mirrors to try]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489434</link><guid>https://blog.csdn.net/cheenbee/article/details/108489434</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:46:21 +0800</pubDate><description><![CDATA[网络环境原因，更换为国内镜像源即可
过程： 根据官方给出的指示步骤Download and install Zabbix
报错：
Error downloading packages:
  zabbix-server-mysql-5.0.2-1.el7.x86_64: [Errno 256] No more mirrors to try.
  zabbix-agent-5.0.2-1.el7.x86_64: [Errno 256] No more mirrors to try.

解决方法：
$ cat /]]></description><category></category></item><item><title><![CDATA[树莓派安装ubuntu,设置静态ip,通过SSH连接]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489405</link><guid>https://blog.csdn.net/cheenbee/article/details/108489405</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:44:00 +0800</pubDate><description><![CDATA[ubuntu系统默认登录账号和密码均为ubuntu
本例设置静态IP适用于 Ubuntu 18.04 LTS、 Ubuntu 20.04 LTS
查看 ubuntu 版本号
// 系统版本
$ cat /etc/issue

// 内核版本
$ uname -a

查看当前ip
1.
$ ip addr 

2.
$ ifconfig -a

设置静态IP
修改网络配置文件
$ sudo vi /etc/netplan/50-cloud-init.yaml

设置IP地址为 192.168.1.126, 子]]></description><category></category></item><item><title><![CDATA[srt-live-server 编译安装测试]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489365</link><guid>https://blog.csdn.net/cheenbee/article/details/108489365</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:42:56 +0800</pubDate><description><![CDATA[使用一键脚本自动安装支持CentOS、Ubuntu
bash &lt;(curl -L -s https://raw.githubusercontent.com/cheenbee/bingo_onekey/master/go.sh)

手动编译安装（仅以Ubuntu示例）
srt-live-server 依赖 srt ，所以先编译安装 srt ，再编译 srt-live-server
由于要支持ubuntu14,ubuntu统一使用 apt-get install 安装依赖包
$ sudo apt-get ]]></description><category></category></item><item><title><![CDATA[SRT 直播服务部署]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489318</link><guid>https://blog.csdn.net/cheenbee/article/details/108489318</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:41:46 +0800</pubDate><description><![CDATA[SRT(安全可靠传输)是一种开源的传输技术，它可以在互联网等不可预测的网络中优化流媒体表现,主要应用于提供高质量和低延迟的音视频流传输。
srt 编译安装
一、使用一键脚本自动安装支持CentOS、Ubuntu
bash &lt;(curl -L -s https://raw.githubusercontent.com/cheenbee/bingo_onekey/master/go.sh)

二、手动编译安装（仅以Ubuntu示例）
$ sudo apt-get update
$ sudo apt-get.]]></description><category></category></item><item><title><![CDATA[使用 gitee 建立 github 仓库镜像加速源码下载]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489243</link><guid>https://blog.csdn.net/cheenbee/article/details/108489243</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:39:04 +0800</pubDate><description><![CDATA[gitee 提供了一个每日同步一次的 Github 镜像仓库 — 码云极速下载.
这个镜像站涵盖了github上大多数热门的仓库,对于没有镜像的仓库可以利用gitee自建镜像，迂回加速.
自建镜像仓库
1. 新建仓库
仓库名称建议保持与github仓库名一致，
选择导入已有仓库，填入github仓库克隆地址
点击创建，gitee会在后台自行下载此github仓库

2.可随时同步更新 github 仓库


...]]></description><category></category></item><item><title><![CDATA[NGINX-RTMP 直播服务部署]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489157</link><guid>https://blog.csdn.net/cheenbee/article/details/108489157</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:35:17 +0800</pubDate><description><![CDATA[基于NGINX的媒体流服务器: nginx 和 nginx-rtmp-module
功能:

RTMP、HLS、MPEG-DASH 直播
RTMP视频点播FLV/MP4，本地文件或HTTP播放
支持分布式串流：推流拉流 (可多推多拉)
支持H264/AAC
支持FFmpeg在线转码
在某些事件上运行外部程序(exec)，主要用来使用FFmpeg转码推流到其他平台，可推多平台
HTTP控制模块，用于录制音频/视频和投放客户端
HTTP回调(发布/播放/记录/更新等)
将统计数据存储在方便机器和人类可读的XML]]></description><category></category></item><item><title><![CDATA[ZeroTier 安装使用]]></title><link>https://blog.csdn.net/cheenbee/article/details/108489000</link><guid>https://blog.csdn.net/cheenbee/article/details/108489000</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:29:42 +0800</pubDate><description><![CDATA[ZeroTier 官网宣称可在任何地方轻松连接至云、手机、电脑和数据中心资源。
简介—全球局域网
ZeroTier技术更偏向于组网
可以将 ZeroTier 看作是跨本地局域网和全球广域网的交换机,你的设备只要连接到这个交换机，设备之间就可以互相通信访问。个人使用ZeroTier最多的情况可能是在外使用手机访问家里的NAS和电脑，需要注意的是手机和NAS/电脑都要加入到 ZeroTier 交换机的网络中。
支持的系统
ZeroTier 能在 Windows, MacOS, Android, iOS, Lin]]></description><category></category></item><item><title><![CDATA[编译 openwrt]]></title><link>https://blog.csdn.net/cheenbee/article/details/108488374</link><guid>https://blog.csdn.net/cheenbee/article/details/108488374</guid><author>cheenbee</author><pubDate>Wed, 09 Sep 2020 14:00:57 +0800</pubDate><description><![CDATA[1. 先决条件
使用 Linux, BSD 或 MacOSX 系统来进行编译.
1.1 安装编译所需依赖的软件包
依赖软件包安装官方示例
通用的 Linux 系统
CentOS
# 某些软件包会依赖 EPEL
sudo yum install binutils bzip2 gcc gcc-c++ gawk gettext flex \
ncurses-devel zlib-devel zlib-static make patch unzip openssl-devel \
perl-ExtUtils-Ma.]]></description><category></category></item><item><title><![CDATA[通过 iTunes Search API 检测版本更新]]></title><link>https://blog.csdn.net/cheenbee/article/details/65438041</link><guid>https://blog.csdn.net/cheenbee/article/details/65438041</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:59 +0800</pubDate><description><![CDATA[更新提示-w200

苹果对版本更新的限定

若你的 app 中有 用户可以主动检测更新的入口, 苹果审核时会被拒, 偶然间发现 手机QQ 的一个作弊手段, 当你手机上的 QQ 有更新版本时,在 app 设置中会出现提示你去更新的入口,若你的 QQ 已经是最新版本时,此入口会隐藏
有更新版本时,正确不会被拒的更新方法,是提示用户选择更新,而不是让用户主动检测更新    

获取 App Store]]></description><category></category></item><item><title><![CDATA[iOS 10 首次安装应用,授权允许使用数据,首页无数据]]></title><link>https://blog.csdn.net/cheenbee/article/details/65438030</link><guid>https://blog.csdn.net/cheenbee/article/details/65438030</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:56 +0800</pubDate><description><![CDATA[iOS 10 首次安装应用,授权允许使用数据,首页无数据
影响范围
国行 iOS10 系统的 iPhone,具体原因和解决方案参照 iOS 10 不提示「是否允许应用访问数据」，导致应用无法使用的解决方案 和 具透 | 你可能不知道，iOS 10 有一个中国「特供」的联网权限功能   

引导页或启动页使用网络数据将无法正常显示
首屏的 tabBar 页面数据一般是在 viewDidLoad 中加]]></description><category></category></item><item><title><![CDATA[UINavigationCtroller 的 viewControllers 与 topViewController 的关系]]></title><link>https://blog.csdn.net/cheenbee/article/details/65438022</link><guid>https://blog.csdn.net/cheenbee/article/details/65438022</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:53 +0800</pubDate><description><![CDATA[// The current view controller stack.
@property(nonatomic,copy) NSArray *viewControllers; 
* 栈中的控制器数组, 入栈依次通过[viewControllers addObject:]方式加入数组, 栈底控制器为 rootViewController.   


// The top view control]]></description><category></category></item><item><title><![CDATA[实现单击或双击 tabBar 按钮执行刷新]]></title><link>https://blog.csdn.net/cheenbee/article/details/65438011</link><guid>https://blog.csdn.net/cheenbee/article/details/65438011</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:50 +0800</pubDate><description><![CDATA[新浪微博中 单击首页 tabBarItem 会执行刷新操作
1. 只有在当前显示页是首页时,再次点击首页 tabBarItem 才会执行刷新
2. UITabBarControllerDelegate 中的代理方法 - (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(]]></description><category></category></item><item><title><![CDATA[ UIScrollView ,UITableView 和 UICollectionView 如何滚动到顶部或底部]]></title><link>https://blog.csdn.net/cheenbee/article/details/65438004</link><guid>https://blog.csdn.net/cheenbee/article/details/65438004</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:47 +0800</pubDate><description><![CDATA[滚动到顶部
1. UIScrollView 有一个属性 scrollsToTop 默认为 YES, 用户可以点击状态栏让 scrollView 滚动到顶部

当前显示的所有的 views 中,若同一显示视图中的多个 scrollView 的 scrollsToTop 为 YES ,则无效,只能有一个 scrollView 的 scrollsToTop 打开才有效  


2. 设置 content]]></description><category></category></item><item><title><![CDATA[查看模拟器和真机中的沙盒目录]]></title><link>https://blog.csdn.net/cheenbee/article/details/65437993</link><guid>https://blog.csdn.net/cheenbee/article/details/65437993</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:44 +0800</pubDate><description><![CDATA[查看模拟器沙盒内的文件
LLDB 控制台使用命令沙盒路径


在工程中断点调试,使用 lldb 命令 po NSHomeDirectory(), 打印沙盒路径





在 Finder 窗口中,使用组合快捷键 shift+command+G 跳转到控制台打印出的路径即沙盒中





使用 Mac 应用 SimPholders查看模拟器中应用沙盒

安装 SimPholders 后,在模拟器上运]]></description><category></category></item><item><title><![CDATA[git 分支使用]]></title><link>https://blog.csdn.net/cheenbee/article/details/65437988</link><guid>https://blog.csdn.net/cheenbee/article/details/65437988</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:41 +0800</pubDate><description><![CDATA[理解 HEAD 指针
HEAD 指向当前分支引用的指针,也就是一个指向你的最后一次提交的指针,通常可以简单的认为 HEAD 就是你的最后一次提交的快照. Git 也是通过 HEAD 指针区分你当前在哪个分支上工作.      
新建分支
//使用当前分支为父分支,新建名称为"newBranch"的分支,并将当前工作分支转换到 newBranch 分支
$ git checkout -b newBr]]></description><category></category></item><item><title><![CDATA[可能是最详细的发布应用到 App Store 流程]]></title><link>https://blog.csdn.net/cheenbee/article/details/65437981</link><guid>https://blog.csdn.net/cheenbee/article/details/65437981</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:38 +0800</pubDate><description><![CDATA[Xcode 配置


确认 app 基本信息,此处的两个版本概念需要区分开, Version 对应 iTunes Connect中的版本, Build 是构建版本





确保 Edit Scheme -> Archive -> Build Configuration 为 Release, 即设置打包为发布状态,其余选项不用作任何修改








Build Settings (构建设置):]]></description><category></category></item><item><title><![CDATA[ Mac 安装 Jenkins]]></title><link>https://blog.csdn.net/cheenbee/article/details/65437977</link><guid>https://blog.csdn.net/cheenbee/article/details/65437977</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:35 +0800</pubDate><description><![CDATA[安装 Jenkins 需要提前安装 JDK 和 Tomcat
借助 Jenkins 实现自动化打包, 而网上的 Jenkins 安装教程都是一带而过,被卡在了这儿,遂做个安装记录


安装 Java 开发环境 JDK,完成后在系统设置可查看





安装 Web 应用服务器 Tomcat

安装 Jenkins
可以直接下载 pkg 安装包
也可以使用 homeBrew 安装 : brew ca]]></description><category></category></item><item><title><![CDATA[Git 学习资源合集]]></title><link>https://blog.csdn.net/cheenbee/article/details/65437969</link><guid>https://blog.csdn.net/cheenbee/article/details/65437969</guid><author>cheenbee</author><pubDate>Thu, 23 Mar 2017 10:32:32 +0800</pubDate><description><![CDATA[Git 学习资源合集
廖雪峰的 Git 教程
猴子都能懂的 Git 入门
git - 简明指南
阮一峰的常用 Git 命令清单
Git Book
梁杰制作的 ProGit 电子书梁杰制作的廖雪峰 Git 教程电子书]]></description><category></category></item></channel></rss>