惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - 南桥一梦

Windows Hyper-v 开启嵌套虚拟化的方法 MySQL命令记录 Windows Server 2019 安装Windows Docker和.NET Framework 4.8镜像 Windows Docker 固定容器IP地址 透明网络驱动程序 MySQL优化 右键菜单怎样添加“在此处打开命令提示符”选项 MemSQL与MySQL不兼容问题总结 Ubuntu Server 18.04 修改网路配置 How to Install MemSQL Metro UI 菜单(Winform) Windows Server 2008 系统设置集合 MySQL 参数设置 VS中如何自定义新建文件模板(添加自定义版权信息) Microsoft Windows Server 2008 R2 CHS 官方最新正版下载 在Hyper-V中安装和配置Ubuntu Server 11.04 10.10 解决WebClient或HttpWebRequest首次连接缓慢问题 Ubuntu MySQL Master-Master InnoDb Utf-8 配置文件 Ubuntu MySQL热备份安装 HOWTO:为 Hyper-V 配置外部网络
Ubuntu 12.04和MySQL5.5安装
南桥一梦 · 2012-11-20 · via 博客园 - 南桥一梦

Ubuntu 12.04和MySQL5.5安装

1. 安装系统

下载64位版本的Ubuntu 12.04服务器安装光盘,然后创建一个新的Hyper-V虚拟机,使用该光盘安装。安装时语言选择UTF-8英语,如果选择中文,会出现某些不支持UTF-8中文显示的终端出现乱码,其它使用默认,并选择安装SSH Server,12.04已经内置了Hyper-V虚拟机的驱动,无须像以前的版本需要自己安装。

2. 取消sudo密码

>sudo visudo

为了使所有的组成员执行sudo命令不在输入password 输入如下内容:

%sudo ALL=NOPASSWD: ALL

按F3保存,你将得到提示 File Name to Write: /ect/sudoers.tmp. 按四次backspace键删掉.tmp 然后回车,然后会覆盖系统原来的文件,按Y

3. 设置网络

>sudo vi /etc/network/interfaces

自动分配IP:

auto eth0

iface eth0 inet dhcp

静态IP:

iface eth0 inet static

address 192.168.1.21

netmask 255.255.255.0

gateway 192.168.1.1

broadcast 192.168.1.255

dns-nameservers 192.168.1.1 8.8.8.8

4. 安装MySQL

> sudo apt-get instal mysql-server

5. 更新系统

>sudo apt-get update

>sudo apt-get dist-upgrade