安装 mysql
1、在终端键入如下命令:
(sudo) apt-get install mysql-server
安装过程中,会出现 configuration 界面,提示用户设置 MySQL root user 的密码
如果安装成功, MySQL server 会自动启动。通过在终端键入如下命令, 查看 MySQL ser...
分类:
数据库 时间:
2015-01-09 19:20:25
阅读次数:
334
1.启用Apache2Centos7默认已经安装httpd服务,只是没有启动。如果你需要全新安装,可以yum install -y httpd启动服务:systemctl start httpd.service设置开机自动启动:systemctl enable httpd.serviceHTTP服务...
分类:
其他好文 时间:
2015-01-09 14:12:53
阅读次数:
195
window cmd命令 ?到openfire的bin目录下运行: openfire-service /install?-- installs the service. openfire-service /uninstall?-- uninstalls the service. openfire-service /start?-- starts the servi...
1、安装openssh、openssh-server2、启动sshd:servicesshdstart3、设置开机自动启动sshd:chkconfig--level35sshdon4、建立私钥公钥:ssh-keygen-trsa[user@centos64~]$ssh-keygen-trsaGeneratingpublic/privatersakeypair.Enterfileinwhichtosavethekey(/home/wspjing/.ssh/id..
分类:
其他好文 时间:
2015-01-07 19:07:04
阅读次数:
141
//系统启动后,自动启动时钟 void jishi_kernel() { try { while (DateTimeRun) { ...
分类:
编程语言 时间:
2015-01-06 17:00:47
阅读次数:
152
SQLServer扩展事件(ExtendedEvents)—使用system_health扩展事件会话system_health会话是SQLServer默认包含的扩展事件会话。该会话在SQLServer数据库引擎启动时自动启动,并且运行时不会对性能造成任何明显影响。该会话收集的系统数据可用于帮助对数据库引擎的性能问题进行故..
分类:
数据库 时间:
2015-01-05 18:54:47
阅读次数:
345
前言linux有自己一套完整的启动体系,抓住了linux启动的脉络,linux的启动过程将不再神秘。阅读之前建议先看一下附图。本文中假设inittab中设置的init tree为:/etc/rc.d/rc0.d/etc/rc.d/rc1.d/etc/rc.d/rc2.d/etc/rc.d/rc3.d...
分类:
系统相关 时间:
2015-01-05 12:28:41
阅读次数:
241
[root@master~]#echo“/usr/local/mfs/sbin/mfsmaster”>>/etc/rc.local
mfsmaster是要启动的应用
追加到/etc/rc.local文件中,rc.local里面的进程随操作系统的启动而启动...
分类:
其他好文 时间:
2014-12-29 12:16:11
阅读次数:
125
1、epmd是Erlang Port Mapper Daemon的缩写,完成Erlang节点和IP,端口的映射关系,不同节点间的通信要靠epmd进程进行沟通。
2、erl是启动erlang虚拟机的命令。
3、从实际操作的角度看,只要执行erl选项包含-name 或者-sname就会自动启动epmd和net_kernel。如果由于意外关闭了epmd进程,可以通过/usr/...
分类:
其他好文 时间:
2014-12-27 20:27:44
阅读次数:
313
之前将grub.cfg精简之后,系统自动启动后进入initramfs命令行,没有挂载根文件系统
如果从initramfs挂载根文件系统?采用如下命令:
mkdir mnt
mount /dev/sda1 /mnt
chroot /mnt
这是后系统进入root的命令行
(initramfs) chroot /mnt
bash: cannot set terminal proc...
分类:
系统相关 时间:
2014-12-27 00:16:16
阅读次数:
277