搜索内容

Liunx
  • 举一反三,Debian利用buster-backports源更新
    Liunx

    举一反三,Debian利用buster-backports源更新

    近期好多PT站貌似都进行了升级,或者是cloudflare的部分CDN节点被封了 Flexget突然间不能访问PT站的RSS的,tracker也连接不正常,提示 curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to tracker.XXXX.XXX:443 有说是curl版本的问题,所以想升级下curl,结果debian10默认源的curl为最新 搜了下,发现buster-backports源里的版本比较新 所以找到了下面的文章,直接上步骤 添加buster-backports源-更新源-安装 nano /etc/apt/sources.list #deb http://deb.debian.org/debian buster-backports main apt update apt……
    Jays 2021-11-06
  • debian升级openssl
    Liunx

    debian升级openssl

    方法一: apt install cmake wget perl wget https://www.openssl.org/source/openssl-1.1.1i.tar.gz tar -zxvf openssl-1.1.1i.tar.gz cd openssl-1.1.1i ./config --prefix=/usr/local/openssl ./config -t make && make install mv /usr/bin/openssl /usr/bin/openssl.old mv /usr/lib64/openssl /usr/lib64/openssl.old mv /usr/lib64/libssl.so /usr/lib64/libssl.so.old mv /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1.old cp /usr/local/openssl/lib/libcrypt……
    Jays 2021-10-30
  • 甲骨文ARM DD重装Debian10,并升级5.10内核
    Liunx

    甲骨文ARM DD重装Debian10,并升级5.10内核

    原文地址:猫直立行走 -甲骨文ARM DD重装Debian10,并升级5.10内核  https://maofun.com/1782.html 新建实例时选的 ubuntu 20.4,非 mini 版 1.curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh 2.chmod a+rx debi.sh 3.sudo ./debi.sh --architecture arm64 --user root --password password 设置默认root的密码为password,登陆成功之后记得自己输入passwd修改密码!!! 没报错的话继续运行: sudo shutdown -r now 更新内核至5.10 1、添加 back­ports 源 echo "deb http://deb.debian.org/debian $(lsb_……
    Jays 2021-07-31
  • 甲骨文改root登录
    Liunx

    甲骨文改root登录

    echo root:要修改的密码 |sudo chpasswd root sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo service sshd restart 四行命令搞定 或者一键脚本 bash <(curl -sSL https://cdn.jsdelivr.net/gh/YG-tsj/CFWarp-Pro/root.sh) AZ改root登录 (Azure 里的 linux 模板应该是通过了 sshd_config 文件禁用了 Root 登陆,我们只需重新开启即可。 sudo su vim /etc/ssh/sshd_config # 在 sshd_co……
    Jays 2021-07-18
  • 升级avconv使youtube-dl在ubuntu 12.04上正常运行
    Liunx

    升级avconv使youtube-dl在ubuntu 12.04上正常运行

    起因:youtube-dl合并音视频的时候提示如下错误 WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors. 故:升级avconv 1.) Make a directory avconv-source mkdir avconv-source 2.) Download and install the x264 library cd ~/avconv-source git clone git://git.videolan.org/x264.git x264 cd x264 sudo ./configure --enable-static sudo make sudo make install 3.) Download the avconv source cd ~/avconv-source git clone git://git.libav.org/libav.git avcon……
    Jays 2015-01-05
  • 搬瓦工Centos6.X编译安装最新版FFmpeg
    Liunx

    搬瓦工Centos6.X编译安装最新版FFmpeg

    最近找到一个新玩具,需要用到FFmpeg,找了好多方法在我的Centos上,都没有成功.最后找到下面的内容,特此记录一下! 0、首先检查VPS所用的系统是否为CentOS 6.X // Check you system CentOS version cat /etc/redhat-release 1、添加rpm repo , 并检测一下更新 // Install the additional repo&Update repository rpm -Uhv http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum -y update PS:上面的URL可以打开:http://pkgs.repoforge.org/rpmforge-release/查看最新版,并修改为最新版 2……
    Jays 2014-12-20
  • CentOS/Ubuntu/Debian安装vnstat
    Liunx

    CentOS/Ubuntu/Debian安装vnstat

    vnstat是一个基于命令行的Linux系统流量监控工具。 官网:http://humdi.net/vnstat/ 测试环境:centos6.5 x86 1、安装vnstat cd /tmp wget http://humdi.net/vnstat/vnstat-1.12.tar.gz tar -zxvf vnstat-1.12.tar.gz cd vnstat-1.12 make make install 2、通过ifconfig查看网卡名称,生成数据库 vnstat -u -i eth0 // eth0为你要监控的网卡,具体请根据ifconfig情况调整 3、自启动更新数据 vnstatd -d cd /etc/init.d wget http://humdi.net/vnstat/init.d/redhat/vnstat chmod +x vnstat chkconfig --add vnstat chkconfig vnstat on se……
    Jays 2014-12-20
  • Ghost Blog Resetting your Ghost Blog password
    Liunx

    Ghost Blog Resetting your Ghost Blog password

    Didn’t set up Mailgun in your Ghost blog, and lost your password? Hmm. A little bit of fancy-footwork, and we can be back up and running in no time. You’ll need to reset the password in the SQLite DB by manually inserting a new hash into the DB. Get access to your DB from the console, or through a gui tool if you have it. If you are going through the console, CD to your ghost webroot, (the DB is under content/data/) and then type: sqlite3 ghost.db Generate a temporary BCrypt hash (Find a gener……
    Jays 2014-12-17
  • ERROR: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14′ not found
    Liunx

    ERROR: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14′ not found

    debian 运行 ghost 或者 shadowsocks 出现 ERROR: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found 这个问题是由于debian软件中心上libc的最高版本为2.13所致,更新libc版本即可。 具体步骤为: echo "deb http://ftp.debian.org/debian sid main" >> /etc/apt/sources.list apt-get update apt-get -t sid install libc6 libc6-dev libc6-dbg 参考:http://www.v2ex.com/t/136721
    Jays 2014-12-11