第一步:执行下面的命令sudo apt-get install mysql-server第二步:安装过程中会让你输入数据库的密码,需要输入两次第三步:验证是否安装成功mysql -uroot -p如果成功会直接进去!然后查看所有的数据库:原文:http://blog.51cto.com/11986455/2092986
说明:本人的Virtualbox虚拟机里装的是Ubuntu14.04,宿主机是windows7旗舰版1,用VirtualBox虚拟机的共享文件夹设置共享的本地文件(我的是设置的是本地E盘,E:\MyShare文件夹),勾选自动挂载和固定分配,点击确定。2,进入虚拟机Ubuntu系统,打开终端,首先在虚拟机上创建一个共享目录 myroot@myroot~:$sudo mkdir /mnt/share3,实现挂载 myroot@myroot~:$mount -t vboxsf MyShare /mnt/share(MyShare为本机windows...
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/love254443233/article/details/19576353处于好奇 ,把稳定版kubuntu13.10升级到kubuntu14.04,结果浪费了两 天一直在修复系统,一个接一个的bug!现在正在降级中。。。。kubuntu14.04->kubuntu13.101)找到两个系统的代号:saucy(13.10)|trusty(14.04)2)修改/etc/apt/sources.list文件,只放入...
1.启动cron工具[ps:使用root权限] centos启动cron两种方式 a) /etc/init.d/crond start b) service crond start ubuntu启动cron两种方式 a) /etc/init.d/cron start b) service cron start(推荐)2.添加定时任务[每个整点执行ls命令] centos crontab -e命令打开文件 添加一行:0 * * * * ls ubuntu crontab -e命令打开文件[ps:第一次用这个命令,会让你选择文本编辑器...
1.更换镜像(1)备份原来的源sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup(2)编辑sources.listssudo vim /etc/apt.sources.list添加如下内容:deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe m...
tomcat需要依赖jdk,所以在安装tomcat之前先安装jdk1、解压tomcat tomcat安装在/home/qqx/softtar -zxvf apache-tomcat-7.0.65.tar.gz 2、启动tomcat 进入tomcat安装目录的bin目录下 ./startup.sh 3、检测tomcat是否启动成功 通过tomcat的web页面:http://localhost:8080 4、关闭tomcat 进入tomcat安装目录的bin目录下 ./shutdown.sh 或者通过查看tomcat在后台的进程:ps -ef | grep tomcat, 然后通过进程编号...
1sudo apt-get update2 3sudo apt-get install 4 apt-transport-https 5 ca-certificates 6 curl 7 software-properties-common8 9 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -1011sudo apt-key fingerprint 0EBFCD88
1213sudo add-apt-repository 14"deb [arch=amd64] https://download.docker.com/linux/ubuntu \15 $(lsb_release -cs) 16 stable"
1718sudo apt-g...
1、查看当前系统使用的字符编码~$ locale
LANG=en_US
LANGUAGE=en_US:
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
2、查看当前系统支持的字符集:~$ locale -a
C
C.UTF-8
en_US
en_US.iso88591
en_US.utf8
POSIX
3、...
Vagrant搭建(Tomcat8+JDK7+MySQL5+dubbo)JDK1.下载jdk2.解压JDKtar -xzvf jdk-7u79-linux-x64.tar.gz 3.设置环境变量vim /home/vagrant/.bashrc 这里因为我用的vagrant所以提示:The program ‘vim‘ can be found in the following packages:
* vim
* vim-gnome
* vim-tiny
* vim-athena
* vim-gtk* vim-nox
Try: sudo apt-get install <selected package> 所以要先下载vim:sudo apt-get install vim如果继续报错,或者...
1.普通用户登录然后进入root sudo -s (输入普通用户密码)2,开启SSH服务,如果没有开启需要安装openssh-server:
sudo apt-get install openssh-server (安装中选择“y”)3,查看是否启动 ps -e | grep ssh 如果只有ssh-agent (一行)表示还没启动 需要/etc/init.d/ssh start; 有sshd说明已启动 4,查看ubuntu的ip地址 ifconfig5,xshell中 ssh <ubuntu的ip>原文:http://...
错误内容如下:
Error mounting: mount exited with exit code 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it‘s a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the de...
动画是什么?就是几张图片很快的顺序播放嘛,今天就画画gif小图吧,以后在演示效果图的时候也用的上。 1.准备一个小图就用小绿人好了 2.打开GIMP 3.新建一个图片打开
文件 -》新建输入图片的大小,背景最好选择透明啦。 4.打开图层对话框因为涉及到图层的操作。打开 窗口
-》可停靠对话框 -》图层 5.Ctrl+C Ctrl+V用gimp打开你准备的小图,然后复制,粘帖,在复制粘帖的时候要选中你正在操作的窗口,就是点一下那个窗口上...
在我搞坏了两个系统之后,一切都得从头开始了,这回好了,电脑就是一台裸机了。没办法,重新下win7吧。这个要先做一个win7的启动盘,然后再安装,只能说我技术不行,没能把win7搞定。让大神给装的win7,他让我用wubi装ubuntu,但是自我感觉那样太没意思,所以就偷偷的把ubuntu装上了。某些人说我干什么都干不成,呵呵。。不感慨了,步骤如下:一.制作ubuntu的安装U盘 1.前期准备 下载ubuntu12.04的镜像文件,地址:http://...
昨天遇到个问题,我的Ubuntu各种更新不上去,在系统设置里面做了很多调整,仍然没办法更新。如果你也是这样的,希望下面的操作能帮助你。 sudo apt-get update && sudo apt-get upgradesudo vim /etc/update-manager/release-upgrades然后把里面的prompt设置为normalsudo reboot(上面这个是重启)打开系统设置——>Software & Updates,找到最下面的Notify me a new Ubuntu version, 选择:For long-term support versions.sudo u...
一,安装方法1add-apt-repository ppa:ossug-hychen/getfastmirrorapt-get isntall getfastmirror如果添加了临时源,这样移除add-apt-repository --remove ppa:ossug-hychen/getfastmirror 二,安装方法2wget -O getfastmirror-master.zip https://github.com/alvan/getfastmirror/archive/debian/0.2.4-1.zipunzip ./getfastmirror-master.zipcd ./getfastmirror-master/./setup.py install注意:取最新release版本。 执行这个命令...