小编cat*_*h23的帖子

我应该输入什么命令来从终端运行 Chrome?

我有远程盒子VNCjwm桌面访问。
没有菜单,没有桌面图标,只有一个终端窗口。

我已经下载了 Chrome 的.deb包并安装了它。

如何从终端窗口运行它?

command-line google-chrome

81
推荐指数
3
解决办法
48万
查看次数

E: 部分索引文件下载失败。它们已被忽略,或者在 apt-get update 后使用旧的

我的/etc/apt/sources.list包含:

nazar_art@nazar-desctop:/etc/apt$ cat source.list
deb http://security.ubuntu.com/ubuntu precise-security main universe
nazar_art@nazar-desctop:/etc/apt$ cat sources.list.old
deb http://archive.ubuntu.com/ubuntu precise universe
nazar_art@nazar-desctop:/etc/apt$ cat source.list
deb http://security.ubuntu.com/ubuntu precise-security main universe
nazar_art@nazar-desctop:/etc/apt$ 
Run Code Online (Sandbox Code Playgroud)

我根据这篇文章更新了如何恢复默认存储库?

但是当我运行时它调用了另一个问题sudo apt-get update我有一些这样的输出:

Err http://ua.archive.ubuntu.com main/restricted Sources                       
  404  Not Found [IP: 91.189.91.13 80]
Err http://ua.archive.ubuntu.com main/universe Sources                         
  404  Not Found [IP: 91.189.91.13 80]
Err http://ua.archive.ubuntu.com main/multiverse Sources                       
  404  Not Found [IP: 91.189.91.13 80]
Err http://ua.archive.ubuntu.com main/restricted amd64 Packages                
  404  Not Found [IP: 91.189.91.13 80]
Err http://ua.archive.ubuntu.com main/universe amd64 Packages …
Run Code Online (Sandbox Code Playgroud)

apt repository

26
推荐指数
3
解决办法
27万
查看次数

只有 root 可以在 /media/sdb1 上挂载 /dev/sdb1 - 贡献于外部 USB 驱动器

我不明白为什么,当我在 Ubuntu 12.04 中尝试插入外部 USB 驱动程序时,我看到下一条消息:

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sdb1 on /media/sdb1
Run Code Online (Sandbox Code Playgroud)

以下是内容/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> …
Run Code Online (Sandbox Code Playgroud)

fstab usb automount gvfs

14
推荐指数
1
解决办法
7万
查看次数

用于连接到 MS Exchange Server 的 ExQuilla 替代方案?

我根据这个教程安装了ExQuilla After Installation: Creating an Exchange account。用于访问Microsoft Exchange 帐户

我毫无困难地访问了我的 MS 邮件:

雷鸟看

但这种软不是免费的。许可证将超过 2 周。

出于相同目的,哪些免费替代方案是可能的?

mail thunderbird ms-exchange

9
推荐指数
2
解决办法
3万
查看次数

如何在 ubuntu 12.04 中更改权限外置硬盘

我想将任何文件复制到我的外部硬盘驱动器。但总是当我尝试这样做时,我有下一个输出:

cp: cannot create regular file /media/NameOfCard/[file]' : Read only file system

我也试过:

sudo chmod -R 775 /media/NameOfCard
sudo chmod -R 777 /media/NameOfCard
Run Code Online (Sandbox Code Playgroud)

但同样的效果—— ... Read only file system

更新:

mount我有下一个输出之后:

nazar_art@nazar-desctop:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts …
Run Code Online (Sandbox Code Playgroud)

permissions hard-drive 12.04

5
推荐指数
1
解决办法
3万
查看次数

无法在 Ubuntu 上运行 sqldeveloper

我尝试sqldeveloper通过以下方式安装:

\n\n
Download SQL Developer from Oracle website (I chose Other Platforms download).\n\nExtract file to /opt:\n\nsudo unzip sqldeveloper-*-no-jre.zip -d /opt/\nsudo chmod +x /opt/sqldeveloper/sqldeveloper.sh\nLinking over an in-path launcher for Oracle SQL Developer:\n\nsudo ln -s /opt/sqldeveloper/sqldeveloper.sh /usr/local/bin/sqldeveloper\nEdit /usr/local/bin/sqldeveloper.sh replace it\'s content to:\n\n#!/bin/bash\ncd /opt/sqldeveloper/sqldeveloper/bin\n./sqldeveloper "$@"\nRun SQL Developer:\n\nsqldeveloper\n
Run Code Online (Sandbox Code Playgroud)\n\n

但它显示了下一个输出:

\n\n
nazar@lelyak-desktop:/opt/sqldeveloper\xe2\x9f\xab ./sqldeveloper.sh \n\n Oracle SQL Developer\n Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.    \n\n LOAD TIME : 401#\n# A fatal error has been detected by the Java …
Run Code Online (Sandbox Code Playgroud)

sqldeveloper software-installation 14.04

3
推荐指数
1
解决办法
2万
查看次数

包“tomcat7”在 ubuntu 12.04 上没有安装候选

我正在尝试使用以下命令在 Ubuntu Server 12.04 上安装 tomcat 7:

sudo apt-get install tomcat7
Run Code Online (Sandbox Code Playgroud)

我尝试根据此安装教程执行此操作,但立即收到此答案:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package tomcat7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tomcat7' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

更新:

我尝试tomcat7按照本教程逐步下载和安装。但是当我尝试运行程序时

`$ ./catalina.sh run` 
Run Code Online (Sandbox Code Playgroud)

我收到了一些警告 + SEVERE: Cannot start server. Server instance is …

tomcat7 software-installation

2
推荐指数
1
解决办法
8352
查看次数