mac下  部分服务启动,结束, 查看状态的命令
    
            
摘要:以sshd服务为例 启动sshd服务:sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist 停止sshd服务:sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.
        
阅读全文
 
            
         
        
            
    mac下 改变了ssh连接的端口  git怎么修改
    
            
摘要:1. 情况是这样的,为了安全起见,我们的服务器ssh连接端口改为了33 sudo vi /etc/ssh/ssh_config port 33 2. 因为git是基于ssh发送数据的,并且git服务器的默认端口是22,所以要修改git的默认连接端口 sudo vi /etc/ssh/ssh_conf
        
阅读全文
 
            
         
        
            
    freebsd 记录点
    
            
摘要:问题一: FreeBSD修改python的默认版本 在/usr/local/bin目录下, in X.X write your version 问题二: Python3 无法使用pip With Python 3.4 and later, you can use the ensurepip modu
        
阅读全文
 
            
         
        
            
    freebsd配置ip 网关  子网掩码 DNS
    
            
摘要:1、设置IP地址、网关ee /etc/rc.conf #编辑ifconfig_em0="inet 192.168.1.173 netmask 255.255.255.0" #设置IP地址,子网掩码defaultrouter="192.168.1.1" #设置网关hostname="FreeBSD" 
        
阅读全文