Giter VIP home page Giter VIP logo

Comments (3)

nanqinlang avatar nanqinlang commented on July 17, 2024

according: http://www.linuxandubuntu.com/home/meltdown-and-spectre-cpu-flaws-put-computers-laptops-phones-at-risk

UPDATE -
Canonical says that the actual date to announce the vulnerabilities was Jan 9 so it was preparing to release updates before the date.

"The original coordinated disclosure date was planned for January 9 and we have been driving toward that date to release fixes. Due to the early disclosure, we are trying to accelerate the release, but we don't yet have an earlier ETA when the updates will be released. We will release Ubuntu Security Notices when the updates are available", Ubuntu said.

The security patches for Meltdown and Spectre from Ubuntu are yet to be announced.

from general.

nanqinlang avatar nanqinlang commented on July 17, 2024

default
this is my example, running the above directive on Debian9, tencent cloud.

from general.

nanqinlang avatar nanqinlang commented on July 17, 2024

to use this script, you just need to run this:

wget https://github.com/nanqinlang-tcp/tcp_nanqinlang/releases/download/20180105-aptupgrade/20180105-aptupgrade-to-fixmeltdown.sh
bash 20180105-aptupgrade-to-fixmeltdown.sh

the following is the source of script:

#!/bin/bash
Green_font="\033[32m" && Red_font="\033[31m" && Font_suffix="\033[0m"
Info="${Green_font}[Info]${Font_suffix}"
Error="${Red_font}[Error]${Font_suffix}"

check_system(){
	[[ -z "`cat /etc/issue | grep -iE "debian"`" ]] && echo -e "${Error} only support Debian !" && exit 1
}

check_root(){
	[[ "`id -u`" != "0" ]] && echo -e "${Error} must be root user !" && exit 1
}

check_kvm(){
	apt-get install -y virt-what
	[[ "`virt-what`" != "kvm" ]] && echo -e "${Error} only support KVM !" && exit 1
}

apt-source-get(){
	cd /etc/apt
	mv sources.list  sources.list.bak
	wget -O sources.list https://raw.githubusercontent.com/nanqinlang/sources.list/master/us.sources_stretch.list
}

upgrade(){
	apt-get update
	apt-get dist-upgrade -y
}

apt-source-restore(){
	mv -f /etc/apt/sources.list.bak  /etc/apt/sources.list
}

restart(){
	echo -e "${Info} please ensure the above progress has not mistake, then reboot your device ."
	echo -e "${Info} so are you sure you want a reboot ?"
	echo -e "1.yes\n2.no"
	read -p "(please choose):" sure
	[[ "${sure}" = "1" ]] && reboot
}



echo -e "${Info} now will start Debian Meltdown fixing process via apt-upgrade :"
check_system
check_root
apt-get update
check_kvm
apt-source-get
upgrade
apt-source-restore
restart

from general.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.