accessing phpmyadmin db from terminal now in ubuntu 13.04 i firstly installed mysql server with
sudo apt-get install mysql-server mysql server version 5.5 now in terminal i can check if it is working by
sudo netstat -tap | grep mysql
Run Code Online (Sandbox Code Playgroud)
it responds me by prompting me for password and then
tcp 0 0 localhost:mysql *:* LISTEN 26214/mysqld
Run Code Online (Sandbox Code Playgroud)
but to connect using my root account i typed mysql -u root -p prompting for password it shows
ERROR 1045 (28000): Access denied …
我有一张 SD 卡,上面有树莓派的 Raspbian jessy 图像。
我的计算机上目前只有一个 SD 卡读卡器,我想仅使用此读卡器将这张 SD 卡克隆到另一张 SD 卡。
是否有可能实现这一目标
我有一个混合了一堆文件扩展名的目录,我想列出一个特定的文件扩展名(可能类似于grep *.mp3),并在列出时使用输出删除它们。我该怎么做,或者如果有骗子,请随时标记我。
例子:
grep "*.mp3" . | rm -fr
Run Code Online (Sandbox Code Playgroud) 我经常使用 RDP 将 Windows 服务器和 SSH 远程连接到 linux 发行版。
正如主题所解释的那样;我一直想知道如何在活动的 RDP 窗口之间切换。我正在使用默认客户端Remmina,因为它非常适合我的目的。但唯一的问题是,当我需要在两者之间切换活动窗口时,我迷路了。为了更清楚地说明这一点;
当我 RDP 到 windows pc1 时,它连接完美。然后当我在有 pc1 的情况下连接到 windows pc2 时,是的,它确实以相同的方式连接。但是,不久之后,当我尝试检查在这两者之间切换的选项时,我迷路了。我进行了多少 RDP 会话无关紧要,因为它可以完美地连接到请求的服务器。尽管有许多连接的窗口,但我总是需要关闭每个连接的会话才能返回到另一个活动会话。
PS:虽然看起来很简单,但我不想通过关闭它来多次连接到每台机器。我的要求是无需关闭并再次连接即可切换活动窗口。我相信会有办法做到这一点。
我试图找出一种方法来列出给定日期范围内的修改过的文件。嗅探每个文件夹有点忙。我找不到使用日期范围的正确指南,但我能看到的只是返回抛出一堆静态日期或类似日期。
请告知是否有办法使用find,grep甚至ls参数来做到这一点。
我正在寻找具有高级功能的文本编辑器。例如; 我应该能够轻松展开和折叠 xml 代码/部分(或 c/c++ 部分)。
适用于 Windows 的类似记事本 ++ 的东西。
另外,如果它可以从标签中额外创建一个目录,那就更好了!
我在Ubuntu One上有很多东西,我想在服务关闭之前下载它。不幸的是,我找不到适用于 Mac 的 Ubuntu One 客户端。官方网站上没有Ubuntu One for Mac
当他们宣布关闭 Ubuntu One 时,他们是否将其删除?我在哪里可以下载它?
我刚刚通过 apt-get 存储库安装了 nginx。但是,不幸的HttpAuthDigestModule是,安装时不包括在内。这是从源代码安装的方法 -./configure --add-module=../samizdatco-nginx-http-auth-digest-xxxxxxx
如何配置已安装的 nginx?
当我尝试升级时,出现以下错误:
sudo aptitude upgrade
Resolving dependencies...
open: 217520; closed: 114638; defer: 5; conflict: 6 O
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Run Code Online (Sandbox Code Playgroud)
如果我尝试使用软件更新程序,首先我会收到一个对话框,提示 并非所有更新都可以安装
运行部分升级......当我尝试时,它说安装需要不受信任的软件并终止。我尝试查看确实需要升级的软件包,但有很多并且不容易找出导致问题的原因。
非常感谢任何提示或帮助。我不能让这台机器过时和不受支持。
我目前的版本是
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
Run Code Online (Sandbox Code Playgroud)
sudo apt-get update 的完整输出
Ign dl.google.com stable InRelease
Hit dl.google.com stable Release.gpg
Ign us.archive.ubuntu.com utopic InRelease
Ign security.ubuntu.com utopic-security InRelease
Hit dl.google.com stable Release
Ign us.archive.ubuntu.com utopic-updates InRelease
Hit security.ubuntu.com trusty-security InRelease
Ign extras.ubuntu.com utopic InRelease
Hit archive.canonical.com utopic InRelease
Ign archive.ubuntu.com trusty InRelease …Run Code Online (Sandbox Code Playgroud)