index.xml 10.7 KB
Newer Older
Jonathan Carter's avatar
Jonathan Carter committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tips-tricks on AIMS Desktop</title>
    <link>https://desktop.aims.ac.za/tips-tricks/index.xml</link>
    <description>Recent content in Tips-tricks on AIMS Desktop</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 09 Mar 2016 19:56:50 +0100</lastBuildDate>
    <atom:link href="https://desktop.aims.ac.za/tips-tricks/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Tips and Tricks</title>
      <link>https://desktop.aims.ac.za/tips-tricks/</link>
      <pubDate>Wed, 09 Mar 2016 19:56:50 +0100</pubDate>
      
      <guid>https://desktop.aims.ac.za/tips-tricks/</guid>
      <description>

&lt;h2 id=&#34;managing-software&#34;&gt;Managing software&lt;/h2&gt;

Jonathan Carter's avatar
Jonathan Carter committed
22
23
24
25
26
27
28
29
30
31
32
&lt;p&gt;Being based on Debian, AIMS Desktop uses the APT (Advanced Package Tool) to manage software.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;For example, if you want to install the program &amp;ldquo;meld&amp;rdquo;, you would use &lt;code&gt;apt install&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ sudo apt install meld
Jonathan Carter's avatar
Jonathan Carter committed
33
34
35
The following NEW packages will be installed:
  meld
Do you want to continue? [Y/n] y
Jonathan Carter's avatar
Jonathan Carter committed
36
37
38
39
40
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you would like to remove that package, you can use &lt;code&gt;apt remove&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ sudo apt remove meld
Jonathan Carter's avatar
Jonathan Carter committed
41
42
43
The following packages will be REMOVED:
  meld
Do you want to continue? [Y/n] y
Jonathan Carter's avatar
Jonathan Carter committed
44
&lt;/code&gt;&lt;/pre&gt;
Jonathan Carter's avatar
Jonathan Carter committed
45

Jonathan Carter's avatar
Jonathan Carter committed
46
47
48
49
50
51
&lt;p&gt;APT&amp;rsquo;s remove tool plays it safe, and doesn&amp;rsquo;t automatically remove configuration
files or data that may have been created for a package in the system. If you&amp;rsquo;d
like to remove that as well, you can use the purge command. This does not affect
any data in your home directory.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ sudo apt purge meld
Jonathan Carter's avatar
Jonathan Carter committed
52
53
54
The following packages will be REMOVED:
  meld*
Do you want to continue? [Y/n] y
Jonathan Carter's avatar
Jonathan Carter committed
55
56
&lt;/code&gt;&lt;/pre&gt;

Jonathan Carter's avatar
Jonathan Carter committed
57
58
59
&lt;p&gt;You will notice an asterisk next to the package name, this indicates that the
package will be purged, as apposed to a normal removal.&lt;/p&gt;

Jonathan Carter's avatar
Jonathan Carter committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
&lt;p&gt;Security updates and other important software updates happen regularly. To update
the list of the available packages for your system, you can run &lt;code&gt;apt update&lt;/code&gt;. To
install any available upgrades, you can run &lt;code&gt;apt upgrade&lt;/code&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ sudo apt update
Hit:1 http://http.debian.net/debian stretch InRelease
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [62.9 kB]
...
$ sudo apt upgrade
The following packages were automatically installed and are no longer required:
  libnfsidmap2 libtirpc1
  Use &#39;sudo apt autoremove&#39; to remove them.
The following packages will be upgraded:
  busybox
Do you want to continue? [Y/n] y
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In the example above, apt points out that two of the installed packages are no longer
required. They might have been installed as dependencies of packages that have been
previously removed. To remove them, use the &lt;code&gt;apt autoremove&lt;/code&gt; command:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;The following packages will be REMOVED:
  libnfsidmap2 libtirpc1
Do you want to continue? [Y/n]
&lt;/code&gt;&lt;/pre&gt;

Jonathan Carter's avatar
Jonathan Carter committed
86
&lt;div class=&#34;admonition note&#34;&gt;
Jonathan Carter's avatar
Jonathan Carter committed
87
&lt;p class=&#34;admonition-title&#34;&gt;Tip: GNOME Software&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
88
89
&lt;p&gt;GNOME Software is a graphical front-end that supports APT.
It makes it easier to find and install software if
Jonathan Carter's avatar
Jonathan Carter committed
90
91
you&amp;rsquo;re still new to the system.&lt;/p&gt;

Jonathan Carter's avatar
Jonathan Carter committed
92
&lt;div style=&#34;text-align: center; margin-top: 1em;&#34;&gt;
Jonathan Carter's avatar
Jonathan Carter committed
93
&lt;img src=&#34;https://desktop.aims.ac.za/images/tips-tricks/gnome-software.png&#34; alt=&#34;&#34; /&gt;
Jonathan Carter's avatar
Jonathan Carter committed
94
95
&lt;/div&gt;
&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
96
&lt;/div&gt;
Jonathan Carter's avatar
Jonathan Carter committed
97

Jonathan Carter's avatar
Jonathan Carter committed
98
99
100
101
102
103
104
&lt;h2 id=&#34;connecting-to-remote-servers-via-ssh&#34;&gt;Connecting to remote servers via SSH&lt;/h2&gt;

&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Introduction:&lt;/b&gt; 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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 1:&lt;/b&gt; Open Nautilus/Files&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
105
&lt;p&gt;&lt;span style=&#34;text-align: center&#34;&gt;&lt;img alt=&#34;&#34; src=&#34;https://desktop.aims.ac.za/images/tips-tricks/2017.01-nautilus-ssh-1.png&#34; /&gt;&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
106
107
108
109
110
&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 2:&lt;/b&gt; In the location pane,
click on &lt;em&gt;Other Locations&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;text-align: center&#34;&gt;&lt;img alt=&#34;&#34; src=&#34;https://desktop.aims.ac.za/images/tips-tricks/2017.01-nautilus-ssh-2.png&#34; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 3:&lt;/b&gt; At the bottom there is a
field to &lt;em&gt;Connect to Server&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
111
&lt;p&gt;&lt;span style=&#34;text-align: center&#34;&gt;&lt;img alt=&#34;&#34; src=&#34;https://desktop.aims.ac.za/images/tips-tricks/2017.01-nautilus-ssh-3.png&#34; /&gt;&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
112
113
114
115
116
117
118
119
120
121
122
123
124

&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 4:&lt;/b&gt; In this field enter
&lt;code&gt;ssh://&amp;lt;user&amp;gt;@&amp;lt;server&amp;gt;&lt;/code&gt;, where
&lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; is your username and
&lt;code&gt;&amp;lt;server&amp;gt;&lt;/code&gt; is the address of the server you are
connecting to.  Replace &lt;code&gt;ssh&lt;/code&gt; with &lt;code&gt;sftp&lt;/code&gt; if you
wish to connect to a SFTP server.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 5:&lt;/b&gt; 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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 6:&lt;/b&gt; If you wish to bookmark this server for future use,
right-click on the server in the location pane and select
&lt;em&gt;Add Bookmark&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
125
&lt;p&gt;&lt;span style=&#34;text-align: center&#34;&gt;&lt;img alt=&#34;&#34; src=&#34;https://desktop.aims.ac.za/images/tips-tricks/2017.01-nautilus-ssh-4.png&#34; /&gt;&lt;/span&gt;&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
126
127
128

&lt;h2 id=&#34;changing-your-password&#34;&gt;Changing your password&lt;/h2&gt;

Jonathan Carter's avatar
Jonathan Carter committed
129
&lt;p&gt;&lt;ul&gt;
Jonathan Carter's avatar
Jonathan Carter committed
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
&lt;li class=&#34;has-sub&#34; class=&#34;active&#34;&gt;&lt;a href=&#34;#&#34;&gt;&lt;span&gt;GNOME Desktop&lt;/span&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 1:&lt;/b&gt; Open the Activities
overview and start typing &lt;em&gt;Users&lt;/em&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;img width=&#34;100%&#34; alt=&#34;&#34; title=&#34;Finding the Users settings in GNOME&#34;
src=&#34;/images/tips-tricks/2017.01-change-password-1.png&#34; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 2:&lt;/b&gt; Click &lt;em&gt;Users&lt;/em&gt; to
open the panel.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;img alt=&#34;&#34; width=&#34;100%&#34; title=&#34;The Users panel in GNOME&#34;
src=&#34;/images/tips-tricks/2017.01-change-password-2.png&#34; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 3:&lt;/b&gt; Click the label next to
&lt;em&gt;Password&lt;/em&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 4:&lt;/b&gt; Enter your current
password, then a new password.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Enter your new password again in the
&lt;em&gt;Verify New Password&lt;/em&gt; field. You can press the gear icon to
automatically generate a random password.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;img width=&#34;100%&#34; alt=&#34;&#34; title=&#34;The change password dialog&#34;
src=&#34;/images/tips-tricks/2017.01-change-password-3.png&#34; /&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 5:&lt;/b&gt; Click &lt;em&gt;Change&lt;/em&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&#34;has-sub&#34; class=&#34;active&#34;&gt;&lt;a href=&#34;#&#34;&gt;&lt;span&gt;Command Line&lt;/span&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 1:&lt;/b&gt; Open the terminal&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;&lt;b&gt;Step 2:&lt;/b&gt; Enter
&lt;pre&gt;&lt;code&gt;passwd&lt;/code&gt;&lt;/pre&gt; and follow the prompts&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;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.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
Jonathan Carter's avatar
Jonathan Carter committed
161
162
163
&lt;/li&gt;&lt;/p&gt;

&lt;div class=&#34;admonition note&#34;&gt;
Jonathan Carter's avatar
Jonathan Carter committed
164
&lt;p class=&#34;admonition-title&#34;&gt;How to choose a strong password&lt;/p&gt;
Jonathan Carter's avatar
Jonathan Carter committed
165
&lt;p&gt;&lt;li class=&#34;has-sub&#34; class=&#34;active&#34;&gt;&lt;/a&gt;
Jonathan Carter's avatar
Jonathan Carter committed
166
&lt;ul&gt;
Jonathan Carter's avatar
Jonathan Carter committed
167
&lt;li&gt;&lt;span&gt;Make your passwords easy enough for
Jonathan Carter's avatar
Jonathan Carter committed
168
169
170
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.&lt;/span&gt;&lt;/li&gt;
Jonathan Carter's avatar
Jonathan Carter committed
171
&lt;li&gt;&lt;span&gt;Use a mixture of upper-case and
Jonathan Carter's avatar
Jonathan Carter committed
172
173
174
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.&lt;/span&gt;&lt;/li&gt;
Jonathan Carter's avatar
Jonathan Carter committed
175
&lt;li&gt;&lt;span&gt;Make your password as long as
Jonathan Carter's avatar
Jonathan Carter committed
176
177
possible. This makes it difficult for a person or computer to guess
it.&lt;/span&gt;&lt;/li&gt;
Jonathan Carter's avatar
Jonathan Carter committed
178
&lt;li&gt;&lt;span&gt;Do not use one or two words from a
Jonathan Carter's avatar
Jonathan Carter committed
179
180
dictionary in any language. These are what programs use to try crack
your password.&lt;/span&gt;&lt;/li&gt;
Jonathan Carter's avatar
Jonathan Carter committed
181
&lt;li&gt;&lt;span&gt;Do not use any personal information
Jonathan Carter's avatar
Jonathan Carter committed
182
such as a date, family member&amp;rsquo;s name or a pet.&lt;/span&gt;&lt;/li&gt;
Jonathan Carter's avatar
Jonathan Carter committed
183
184
&lt;li&gt;&lt;span&gt;Never write your password down.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Use different passwords for different
Jonathan Carter's avatar
Jonathan Carter committed
185
186
things.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
Jonathan Carter's avatar
Jonathan Carter committed
187
188
&lt;/ul&gt;&lt;/p&gt;
&lt;/div&gt;
Jonathan Carter's avatar
Jonathan Carter committed
189
190
191
192
193
</description>
    </item>
    
  </channel>
</rss>