每当我开始我的笔记本电脑的过程中tracker-store
,并tracker-miner-fs
吃了我的CPU 30%-40%之间为10-15分钟。我在 ubuntu 12.04 上。
这些过程有什么作用?如何摆脱进程?
为 Ubuntu 寻找一个具有以下功能的闹钟:
当我mount
在root
我的 Ubuntu 系统上输入时,我得到了输出
/dev/xvdal on / type ext4 (rw,noatime)
我想知道这里面的意思是/dev/xvdal
什么?
我已经在 Ubuntu 12.04 LTS 上安装了 Tomcat 7,它在 Amzon EC2 实例上运行。现在我希望 tomcat 应该在系统重启时自动重启。
我阅读了这篇博客,其中建议将以下脚本添加到/etc/init.d/tomcat7
:
# Tomcat auto-start
#
# description: Auto-starts tomcat
# processname: tomcat
# pidfile: /var/run/tomcat.pid
case $1 in
start)
sh /usr/share/tomcat7/bin/startup.sh
;;
stop)
sh /usr/share/tomcat7/bin/shutdown.sh
;;
restart)
sh /usr/share/tomcat7/bin/shutdown.sh
sh /usr/share/tomcat7/bin/startup.sh
;;
esac
exit 0
Run Code Online (Sandbox Code Playgroud)
并发出以下命令:
sudo chmod 755 /etc/init.d/tomcat7
sudo ln -s /etc/init.d/tomcat7 /etc/rc1.d/K99tomcat
sudo ln -s /etc/init.d/tomcat7 /etc/rc2.d/S99tomcat
sudo /etc/init.d/tomcat7 restart
Run Code Online (Sandbox Code Playgroud)
我的问题
Ubuntu Linux 中的文件名和文件夹名可以有多长,Ubuntu Linux 中的文件名和文件夹名中允许使用哪些字符?
我已经在 Amazon EC2 上安装了 Ubuntu 12.04。有时在与实例连接后,我得到以下信息
7 packages can be updated.
4 updates are security updates.
Run Code Online (Sandbox Code Playgroud)
如何找到可以更新的软件包?如果不想更新某些软件包,我可以选择吗?
我正在尝试gedit
从 Windows 上的 SSH 终端运行,连接到运行 Ubuntu 12.04 服务器的 Amazon EC2 实例,但出现此错误:
Cannot open display:
Run Code Online (Sandbox Code Playgroud)
我如何解决它?