index.md 5.67 KB
Newer Older
Jonathan Carter's avatar
Jonathan Carter committed
1
2
3
4
5
6
7
8
---
date: 2016-03-09T19:56:50+01:00
title: Tips and Tricks
weight: 20
---

## Managing software

Jonathan Carter's avatar
Jonathan Carter committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Being based on Debian, AIMS Desktop uses the APT (Advanced Package Tool) to manage software.

Software and its dependencies on AIMS Desktop is managed via packages, for each program on
your computer, there is at least one package. Packages can be installed, removed or upgraded.

Here we will show you how to manage software using APT in the command line. APT needs root
(administrator) privileges, so you need to run it using the sudo command.

For example, if you want to install the program "meld", you would use `apt install`:

```
$ sudo apt install meld
```

If you would like to remove that package, you can use `apt remove`:

```
$ sudo apt remove meld
```
Jonathan Carter's avatar
Jonathan Carter committed
28

Jonathan Carter's avatar
Jonathan Carter committed
29
30
31
32
33
34
35
36
37
APT's remove tool plays it safe, and doesn't automatically remove configuration
files or data that may have been created for a package in the system. If you'd
like to remove that as well, you can use the purge command. This does not affect
any data in your home directory.

```
$ sudo apt purge meld
```

Jonathan Carter's avatar
Jonathan Carter committed
38
39
40
41
42
43
44
## Connecting to remote servers via SSH

<p><span style="color: #424242;"><b>Introduction:</b> Servers that you
normally ssh into can be accessed through the Nautilus file manager.
This allows you browse your remote files, edit them and copy to and
from the remote server.</span></p>
<p><span style="color: #424242;"><b>Step 1:</b> Open Nautilus/Files</span></p>
Jonathan Carter's avatar
Jonathan Carter committed
45
<p><span style="text-align: center"><img alt="" src="/images/tips-tricks/2017.01-nautilus-ssh-1.png" /></span></p>
Jonathan Carter's avatar
Jonathan Carter committed
46
47
48
49
50
<p><span style="color: #424242;"><b>Step 2:</b> In the location pane,
click on <em>Other Locations</em>.</span></p>
<p><span style="text-align: center"><img alt="" src="/images/tips-tricks/2017.01-nautilus-ssh-2.png" /></span></p>
<p><span style="color: #424242;"><b>Step 3:</b> At the bottom there is a
field to <em>Connect to Server</em>.</span></p>
Jonathan Carter's avatar
Jonathan Carter committed
51
<p><span style="text-align: center"><img alt="" src="/images/tips-tricks/2017.01-nautilus-ssh-3.png" /></span></p>
Jonathan Carter's avatar
Jonathan Carter committed
52
53
54
55
56
57
58
59
60
61
62
63
64

<p><span style="color: #424242;"><b>Step 4:</b> In this field enter
<code>ssh://&lt;user&gt;@&lt;server&gt;</code>, where
<code>&lt;user&gt;</code> is your username and
<code>&lt;server&gt;</code> is the address of the server you are
connecting to.  Replace <code>ssh</code> with <code>sftp</code> if you
wish to connect to a SFTP server.</span></p>
<p><span style="color: #424242;"><b>Step 5:</b> This will prompt you for
a password if necessary and mount the location. You will see the
server in the left panel and a listing of files on the right.</span></p>
<p><span style="color: #424242;"><b>Step 6:</b> If you wish to bookmark this server for future use,
right-click on the server in the location pane and select
<em>Add Bookmark</em></span></p>
Jonathan Carter's avatar
Jonathan Carter committed
65
<p><span style="text-align: center"><img alt="" src="/images/tips-tricks/2017.01-nautilus-ssh-4.png" /></span></p>
Jonathan Carter's avatar
Jonathan Carter committed
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124

## Changing your password

<ul>
<li class="has-sub" class="active"><a href="#"><span>GNOME Desktop</span></a>
<ul>
<li><span style="color: #424242;"><b>Step 1:</b> Open the Activities
overview and start typing <em>Users</em>.</span></li>
<li><img width="100%" alt="" title="Finding the Users settings in GNOME"
src="/images/tips-tricks/2017.01-change-password-1.png" /></li>
<li><span style="color: #424242;"><b>Step 2:</b> Click <em>Users</em> to
open the panel.</span></li>
<li><img alt="" width="100%" title="The Users panel in GNOME"
src="/images/tips-tricks/2017.01-change-password-2.png" /></li>
<li><span style="color: #424242;"><b>Step 3:</b> Click the label next to
<em>Password</em>.</span></li>
<li><span style="color: #424242;"><b>Step 4:</b> Enter your current
password, then a new password.</span></li>
<li><span style="color: #424242;">Enter your new password again in the
<em>Verify New Password</em> field. You can press the gear icon to
automatically generate a random password.</span></li>
<li><img width="100%" alt="" title="The change password dialog"
src="/images/tips-tricks/2017.01-change-password-3.png" /></li>
<li><span style="color: #424242;"><b>Step 5:</b> Click <em>Change</em>.</span></li>
</ul>
</li>
<li class="has-sub" class="active"><a href="#"><span>Command Line</span></a>
<ul>
<li><span style="color: #424242;"><b>Step 1:</b> Open the terminal</span></li>
<li><span style="color: #424242;"><b>Step 2:</b> Enter
<pre><code>passwd</code></pre> and follow the prompts</span></li>
<li><span style="color: #424242;">Enter your current password, your new
password and then confirm your new password. You will not be able to
see your password when you type it in.</span></li>
</ul>
</li>
<li class="has-sub" class="active"><a href="#"><span>Choosing a Strong Password</span></a>
<ul>
<li><span style="color: #424242;">Make your passwords easy enough for
you to remember, but very difficult to for others to guess. Your
password guards your personal information, so you should make sure
it is a strong one.</span></li>
<li><span style="color: #424242;">Use a mixture of upper-case and
lower-case letters, numbers, symbols and spaces in the password. A
good way of doing this to the take the first letter of each word
and the grammar of a phrase you can remember.</span></li>
<li><span style="color: #424242;">Make your password as long as
possible. This makes it difficult for a person or computer to guess
it.</span></li>
<li><span style="color: #424242;">Do not use one or two words from a
dictionary in any language. These are what programs use to try crack
your password.</span></li>
<li><span style="color: #424242;">Do not use any personal information
such as a date, family member's name or a pet.</span></li>
<li><span style="color: #424242;">Never write your password down.</span></li>
<li><span style="color: #424242;">Use different passwords for different
things.</span></li>
</ul>
</ul>