index.xml 9.12 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
&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
67
&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
68
69
70
71
72
&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
73
&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
74
75
76
77
78
79
80
81
82
83
84
85
86

&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
87
&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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

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

&lt;ul&gt;
&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;
&lt;/li&gt;
&lt;li class=&#34;has-sub&#34; class=&#34;active&#34;&gt;&lt;a href=&#34;#&#34;&gt;&lt;span&gt;Choosing a Strong Password&lt;/span&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;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.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;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.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Make your password as long as
possible. This makes it difficult for a person or computer to guess
it.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Do not use one or two words from a
dictionary in any language. These are what programs use to try crack
your password.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Do not use any personal information
such as a date, family member&#39;s name or a pet.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Never write your password down.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&#34;color: #424242;&#34;&gt;Use different passwords for different
things.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
Jonathan Carter's avatar
Jonathan Carter committed
147
148
149
150
151
</description>
    </item>
    
  </channel>
</rss>