Comments (3)
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.
this is my example, running the above directive on Debian9, tencent cloud.
from general.
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)
- haproxy 未转发真实IP HOT 3
- centos 7 ovz开机不会自启动啊 HOT 2
- 魔改 BBR for Ubuntu-kernel-daily-20180105 HOT 8
- 魔改 BBR for Ubuntu-kernel-v4.15-rc8 HOT 1
- Closed HOT 1
- 安装LKL后frp无法正常运行 HOT 4
- 配置超过了40个端口就会报错 HOT 2
- 博客炸了~~~~ HOT 1
- 加一個判定 vmware 可以安裝
- check_ovz 出错 HOT 1
- OpenVZ安装完后ping是双返回吗?每次都多一个UDP! 返回 HOT 2
- 好像有个BUG ,前几天安装的好好的现在删掉重装 不行啊 HOT 1
- 网站挂了 HOT 2
- 大佬的脚本现在不支持VMWARE了吗?之前我用了还是可以的。 HOT 1
- 请问--(魔改 BBR 一键脚本,包含 Debian && CentOS 两个版本)支持ubuntu吗 HOT 1
- 【转载】LKL UML native 的比較: 有用嗎? (數據更新.... HOT 2
- 建议添加 License HOT 1
- get_url() 中 bit=`uname -m` 条件判断不全面 HOT 2
- 请问使用这个是几倍发包?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from general.