系统启动时按住Shift以进入Grub界面,选择recovery进入。然后点击prompt root shell进入root环境,此时的文件系统为read-only。执行mount -o remount,rw /后便可对文件系统进行修改。
原创 2014-12-16 10:49:11
531阅读
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
原创 2022-07-19 11:29:06
41阅读
www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
原创 2012-10-30 01:57:41
476阅读
icsearch-on-linux/# Elasticsearch is flexible and powerful open source, distributed real-time search and analytic engine. Using a simple set of APIs, it p...
原创 2023-08-04 11:07:21
175阅读
整个MySQL Server由以下组成:Connection Pool : 连接池组件 Management Services & Utilities : 管理服务和工具组件 SQL Interface : SQL接口组件 Parser : 查询分析器组件 Optimizer : 优化器组件 Caches & Buffffers : 缓冲池组件 Pluggable Storage
Too many things to modify after installing ubuntu or linux mint. One o
原创 2023-04-03 23:15:49
10000+阅读
2019-06-02 15:09:36 Single Number 问题其实我很早就遇到了,当时还是第一次刷leetcode,那个时候完全没有想到怎么在<O(n), O(1)>完成这个解答,看了答案之后才恍然大悟,原来可以使用异或来解决。这个问题还有很多的变种问题,比如1-n的数字缺少了一个,找到缺
转载 2019-06-02 16:34:00
152阅读
2评论
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory?这题是Amazon的经典面试题。 最简单的解法是用hashmap,O(n)即可。但是要用额外的存储空间。或者是维持一个数组,用于存放没有被配对的数。用二分来更新这个数组,如果数组中没有当前数就加入
转载 2013-10-11 11:06:00
62阅读
2评论
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
Single Number题目大意一个数组中除了一个数字出现过一次外,其余的数字都出现了两次,找出那个只出现一次的数字。 注意点: 算法时间杂度要求为O(n) 空间复杂度为O(1)解题思路参考:http://www.cnblogs.com/zuoyuan/p/3719584.html 这题考的是位操作。只需要使用异或(xor)操作就可以解决问题。异或操作的定义为:x ^ 0 = x; x ^
原创 2021-06-16 19:41:20
128阅读
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
转载 2014-11-18 17:05:00
72阅读
转载 2015-11-14 22:22:00
83阅读
Linux操作系统的世界中,有一种备受瞩目的技术叫做Linux Single用户模式,也称作Linux单用户模式。这一模式是指在Linux系统引导过程中的一种特殊运行方式,其特点是在此模式下系统只启动一个root用户,用户能够进入系统进行故障排除和修复。 进入Linux Single用户模式的方式有多种,常见的方法是在系统启动时按下“e”键,修改启动参数中的“ro”为“rw single”,之后
https://leetcode.com/problems/single-number/Given an array of integers, every e
原创 2022-12-13 15:48:29
72阅读
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using
原创 2016-03-15 12:03:11
462阅读
今天去办了单身证明,听这名字,就是个有中国特色的东西.. 放在电影里,老外一定会这样问:What the hell is that? 不知道中国的法律制度是怎样的,难道结婚之后户口本上不显示“已婚”字样么? 我没有这个字样,我自然就是单身啊 办个证明要我20大洋 接着又来问题,男人法定结婚年龄是22岁,那个中介的人让我确保证明里我从20岁开始就是单身。 整个一法盲,我20岁的时候想结婚,人家也不给
转载 2007-11-01 20:09:00
179阅读
2评论
## mysqldump single ### 简介 `mysqldump`是MySQL数据库管理系统的一个命令行工具,用于备份MySQL数据库。`mysqldump`可以备份整个数据库、单个表、多个表或者选定的数据行。在备份过程中,`mysqldump`会生成一个SQL脚本文件,包含了创建数据库、创建表以及插入数据的语句。这个脚本文件可以用来恢复数据库。 ### 命令语法 `mysqldum
原创 8月前
23阅读
一、环境1. Ubuntu虚拟机4台2. 安装golang版本为1.11或更高因为sudo apt install golang目前安装的版本是1.10,所以需要通过手动安装,若之前已经通过apt安装了golang,则可以参考https://shijianfeng.blog.csdn.net/article/details/117306277卸载。#下载wget https://dl.google.com/go/go1.15.3.linux-amd64.tar.gz#解压sudo
原创 2021-06-17 11:38:57
660阅读
一、环境1. Ubuntu虚拟机4台nameiprolenode1192.168.92.129bootNodenode2192.168.92.130node3192.168.92.131node4192.168.92.1322. 安装golang版本为1.11或更高因为sudo apt install golang目前安装的版本是1.10,所以需要通过手动安装,若之前已经通过apt安装了golan
原创 2022-03-27 16:55:51
1330阅读
1点赞
centos7创建SSH登录二次身份验证目前来说,二次验证(这里就不做过多解释了)是比较常用的安全手段,通过设置二次验证(谷歌或其他工具),就可以有效的避免账户密码的泄露导致的安全问题。因为,每次登陆前都需要获取一次性验证码,如果没有验证码的话就无法成功登陆。安装安全模块 ###我这里是已经安装好epel源了,没有安装的可以yum -y install epel-release安装一下。 然后安装
转载 3月前
0阅读
  • 1
  • 2
  • 3
  • 4
  • 5