小编sis*_*sko的帖子

卸载 *.run 文件

我刚刚通过执行以下代码安装了一个名为SenchaCmd-4.0.2.67-linux-x64.run的文件:

./SenchaCmd-4.0.2.67-linux-x64.run
Run Code Online (Sandbox Code Playgroud)

由于我在这里详细描述的一个问题,我决定卸载 SenchaCmd。但是,它未在 Ubuntu 软件中心或 Synaptic 软件包管理器中列出。

如何完全卸载此程序?

运行其中,我发现安装位置为:

/root/bin/Sencha/Cmd/4.0.1.45/sencha-4.0.1.45
Run Code Online (Sandbox Code Playgroud)

如果我执行rm -rf /root/bin/Sencha会完全???

ubuntu terminal software-installation

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

Preserving changed in resolv.conf across reboots with resolvconf

What is the best way to edit the resolv.conf file?

I wasn't familiar with setting proxies until a task to configure a server came along. I manually edited my /etc/resolv.conf file and included the following input:

nameserver 192.168.115.147,192.178.116.168
Run Code Online (Sandbox Code Playgroud)

Any attempt to download was met with errors. After much googling, I came across a post which led me to reformat the file - directly as follows:

nameserver 192.168.115.147
nameserver 192.178.116.168
Run Code Online (Sandbox Code Playgroud)

That worked and file downloads were no longer interrupted with errors. …

resolvconf resolv.conf

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

从网站 URL 中删除目录级别

谁能告诉我如何配置 apache 以不在基本 URL 的末尾显示网站文件夹名称?- 但仅适用于众多网站之一。

让我描述一下场景......

我有一个测试服务器,里面有许多网站在单独的文件夹中/var/www。因为它是一个测试服务器,所以我通过它的 IP 地址 (64.244.144.78) 访问它。所以我会通过访问一个网站64.244.144.78/a_website_folder

当我需要其中一个名为 的站点applications具有子域名applications.ourorganisation.org而不是使用上述 IP 地址格式时,麻烦就开始了。

子域是由我们的 IT 人员在我们现有的 Windows 服务器上创建的。然后他将子域指向我的Linux测试服务器的IP地址64.244.144.78(显然他无法添加通向应用程序网站的子目录信息)。

为了解决这个问题,我创建了一个index.php文件64.244.144.78/var/www并使用 PHP 代码重定向到应用程序网站文件夹。

所有这些都有效,但我现在访问时applications.ourorganisation.org,我被重定向到applications.ourcompany.org/applications.

这不是一场灾难,但我希望最后没有applications目录名称。

hostname apache-httpd

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