Manjaro Difference between pages "Installation Guides" and "Change to a Different Download Server"

Difference between pages "Installation Guides" and "Change to a Different Download Server"

From Manjaro
(Difference between pages)
imported>Verityproductions
 
imported>Verityproductions
 
Line 1: Line 1:
= Overview =
= Overview =  


{{Tip|For the best results, please ensure that Manjaro is connected to the internet prior to starting the installation process.}}
{{tip| Those who installed Manjaro 0.8.0-1 will have had the fastest server automatically selected for them during the installation process, via the use of the ''Rankmirrors'' command. Those who installed Manjaro 0.8.2 will have had the UK server selected by default.}}


Installation guides for every release of Manjaro have been provided bellow for both beginners and experienced users. These guides may also be used to install Manjaro as a main operating system, or within a virtual machine environment using '''[https://www.virtualbox.org/ Oracle's Virtualbox]'''. Rebooting your computer (or starting your virtual machine) after connecting your installation media should be sufficient to start the process.  If you find that your computer continues to boot into your existing operating system despite this, then check that:


* The ISO Download and/or installation media has not been corrupted, and that
The official Manjaro repositories (also known as ''mirrors'') are hosted on ''Software Servers''. Physically located throughout the world, these servers are responsible for receiving requests for software packages via the terminal and/or pacman-gui, and consequently delivering them to your system. There are therefore three primary factors that will determine how fast your downloads are:
* Your disc drive or USB flash-drive - depending on which you are using to install - is listed higher up in the boot order than your hard drive (i.e. that they will be booted from first).


Checking and amending your boot order if necessary will require either going into your computer's ''BIOS settings'' (if installing Manjaro as your main operating system), or Virtualbox's ''System Settings'' (if installing in a virtual machine).
* Your internet connection
* The speed of the server itself, and
* The proximity of the server to you (i.e. how close or how far away it is)




= Quick Guides =
Barring upgrading your internet package or switching providers, it is therefore potentially possible to improve the speed of downloads from the Manjaro repositories by selecting a different server to use. Servers are currently located in the following countries:


<div style="float: left; width: 50%">
* Brazil
* [[Installation to SSD (quick guide)]] '''<font color="green">(NEW!)</font color>'''
* France
: ''An example of how to install Manjaro to SSD for experienced users''.
* Germany
* Greece
* United Kingdonm
* United States


</div>


<div style="float: right; width: 50%">
Those who installed Manjaro 0.8.2 using the '''[[Installation_Guide_for_Beginners_0.8.2|Installation Guide for Beginners]]''' will have had the United Kingdom server set by default, irrespective of their actual country of residence. As such, users living in the United States may consequently achieve better results by switching to the U.S. server instead, for example. Two methods to switch servers are available. The first is to manually determine the server to use, as is provided in this guide. The second is to use the ''Rankmirrors'' command to automatically determine and set the fastest possible server on your behalf, provided in the '''[[Rankmirrors to Set the Fastest Download Server|Use Rankmirrors to Set the Fastest Download Server]]''' guide.
* [[cfdisk Basic Partitioning Scenarios]]
: ''How to create two or three partition schemes to install Manjaro''.


</div>
<div style="clear: both"></div>


{{note|The closest server may not always necessarily be the fastest!}}


= Manjaro 0.8.2 Installation Guides =


{{Tip|It is recommended that unless there is a specific reason to do otherwise, most users - beginners and experienced alike - should use the standard Stable Installer for the best results.}}
= Step 1: Changing Servers =


In addition to the standard '''Stable Installer''', Manjaro 0.8.2 also provides the experimental '''Testing Installer''', which is <u>specifically aimed at more experienced users</u>. The Testing Installer provides several new - and advanced - features not otherwise found in the Stable Installer. This includes supporting the ''Unified Extensible Firmware Interface'' ('''[http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface EFI]'''), ''B-tree file system'' ('''[http://en.wikipedia.org/wiki/Btrfs btrfs]'''), and ''Redundant Array of Independent Disks'' ('''[http://en.wikipedia.org/wiki/RAID RAID]''') storage system.
{{note|The contents of the mirrorlist will look different depending on when and which version of Manjaro was installed. This is because prior to the release of 0.8.2, Rankmirrors was automatically used to select the fastest server. This feature was removed with the release of 0.8.2, resulting in a cleaner and simplier looking mirrorlist.}}


<div style="float: left; width: 50%">


This is undertaken by amending the '''mirrorlist''' file, which is used by Manjaro's package manager - '''[[pacman]]''' - to tell it the internet addresses of the Manjaro servers in order to download updates and software applications from them.


* [[Installation Guide for Beginners 0.8.2|Installation Guide for Beginners]]
: ''A simple guide where no technical knowledge or expertise is required''.


== Open the Mirrorlist ==


* [[Installation Guide for Experienced Users 0.8.2|Installation Guide for Experienced Users]]
{{tip|More than one server can be enabled. However, they will be selected in the order they are listed, and ''pacman'' will only select another server if there is a problem with the one before it.}}
: ''Manually partition your hard disk and edit the necessary configuration files''.
</div>


<div style="float: right; width: 50%">


You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is:


* [[Installation Guide for the NET Edition 0.8.2|Installation Guide for the NET Edition]]
sudo [text editor] /etc/pacman.d/mirrorlist
: ''Build your own Manjaro system from the ground up!''
</div>
<div style="clear: both"></div>




For example, if you wish to edit the file within the terminal using ''nano'' (a standard terminal-based text editor) then enter:


= Manjaro 0.8.0 and 0.8.1 Installation Guides=
sudo nano /etc/pacman.d/mirrorlist


Both guides provided are virtually identical. The only real difference between them is that the ''Guide for Beginners'' utilises the '''assisted preparation''' method to automatically prepare and partition your computer's hard disk for you. The ''Guide for Experienced Users''  requires that the '''hard disk be prepared and partitioned manually'''. The ''Guide for Beginners'' also provides additional detail and explanations on how to edit various configuration files, while the ''Guide for Experienced Users'' assumes existing knowledge and expertise.


<div style="float: left; width: 50%">
Otherwise - if you have installed the full version of Manjaro (i.e. not the NET-Edition) - you may find it easier to use the pre-installed ''gedit'' text editor instead. This will open the mirrorlist file up as a document, making it easier to read and edit. To use gedit instead, the command is:


sudo gedit /etc/pacman.d/mirrorlist


* [[Installation Guide for Beginners 0.8.0-1|Installation Guide for Beginners]]
: ''Automatically partition your computer's hard disk''.


</div>
== Edit the Mirrorlist (Manjaro 0.8.2 and 0.8.3) ==


<div style="float: right; width: 50%">
'''Lines beginning with a hash '#' will be ignored by pacman'''. In the example below, only the UK server has had the hash removed, and as such, this is the only server that has been enabled for use:


##
## Manjaro Linux repository mirrorlist
## Generated on 2012-11-08
##
## Brasil
# Server = http://manjaro.fis.unb.br/$repo/$arch
## France
# Server = http://manjarolinux.polymorf.fr/$repo/$arch
## Germany
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch
## Greece
# Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch
'''## United Kingdom'''
'''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
## United States
# Server = http://mirror.dacentec.com/manjaro/$repo/$arch


* [[Installation Guide for Experienced Users 0.8.0-1|Installation Guide for Experienced Users]]
: ''Requires manual preparation and partitioning of your computer's hard disk''.
</div>
<div style="clear: both"></div>


The United Kingdom Server can therefore be disabled by simply placing a hash at the beginning of the '''Server=''' line. Another Server can be enabled in turn by removing its hash at the beginning of the appropriate line. In the instance below, the United Kingdom server has been disabled, and the United States Sever has been enabled instead:


=See Also=
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-11-08
##
## Brasil
# Server = http://manjaro.fis.unb.br/$repo/$arch
## France
# Server = http://manjarolinux.polymorf.fr/$repo/$arch
## Germany
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch
## Greece
# Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch
## United Kingdom
'''#''' Server = http://repo.manjaro.org.uk/$repo/$arch
'''## United States'''
'''<font color="green">Server =</font color> http://mirror.dacentec.com/manjaro/$repo/$arch'''
 
 
{{warning|Do not remove hashes from any lines that list the names of the server countries.}}
 
 
Once you have disabled and/or enabled the desired server(s), save the changes and close the mirrorlist by:
 
*'''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
*'''gedit''': Select the 'save' option and then close the window.
 
 
'''All that is required now is to Synchronise with the newly enabled server(s)'''.
 
 
== Edit the Mirrorlist (Manjaro 0.8.0 and 0.8.1) ==
 
{{tip|If you find the contents too confusing, then you may wish to consider replacing them with the example provided above for Manjaro 0.8.2. You may gain an additional server or two (i.e. Brazil and Germany) in the process. Otherwise, you could add these servers to your existing file; copying and pasting from the above example will work.}}
 
 
Once opened, the mirrorlist file presented should look similar to this (text has been coloured for illustrative purposes):
 
# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch <font color="red">... 0.494</font color>
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch <font color="red">... 0.367</font color>
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch <font color="red">... 0.300</font color>
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch <font color="red">... 0.769</font color>
## United Kingdom
# http://repo.manjaro.org.uk/$repo/$arch <font color="red">... 0.518</font color>
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch <font color="red">... 0.887</font color>
'''<font color="green">Server =</font color> http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch'''
'''<font color="green">Server =</font color> http://mirrors.mycraft.eu/manjaro/$repo/$arch'''
'''<font color="green">Server =</font color> http://manjarolinux.polymorf.fr/$repo/$arch'''
'''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
 
 
'''Lines beginning with a hash '#' will be ignored by pacman.''' As such, the top part of the file is a table that lists the names of countries followed by their server internet addresses purely for your own information. Its purpose is to tell you - not pacman - which servers are available in what countries. The text coloured in <font color="red">red</font color> at the end of each internet address is there to tell you the <font color="red">download speed</font color> of the server. It is actually the bottom part of the file that is intended to be used by pacman to connect to the Manjaro servers. Notice that each of these lines does not have a hash, and begins with the command <font color="green">Server =</font color>. They are also accessed in the order that they are listed.
 
 
Any of the servers listed at the bottom of the file may therefore be disabled by placing a hash at the beginning of the appropriate line. The order they are used may also be changed by changing the order that they are listed in turn. '''If you wish to use any of the servers listed in the table above instead''':
 
* start the server address line with the <font color="green">Server =</font color> command, and
* remove the text that tells you the <font color="red">download speed</font> of the server (e.g. '<font color="red">... 0.769</font color>')
 
 
In the following example, the servers at the bottom of the file have been disabled, and the United Kingdom Server has been enabled in the above table instead:
 
# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch <font color="red">... 0.494</font color>
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch <font color="red">... 0.367</font color>
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch <font color="red">... 0.300</font color>
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch <font color="red">... 0.769</font color>
'''## United Kingdom'''
'''<font color="green">Server =</font color> http://repo.manjaro.org.uk/$repo/$arch'''
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch <font color="red">... 0.887</font color>
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://manjarolinux.polymorf.fr/$repo/$arch
# Server = http://repo.manjaro.org.uk/$repo/$arch
 
 
Once you have disabled and/or enabled the desired server(s), save the changes and close the mirrorlist by:
 
*'''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
*'''gedit''': Select the 'save' option and then close the window.
 
 
'''All that is required now is to Synchronise with the newly enabled server(s)'''.
 
 
= Step 2: Synchronising with the Newly Enabled Server(s) =
 
Your Manjaro system has a database of all the software packages that are available from the official repositories. These are used by pacman to locate and download them for installation. Synchronising your database after changing servers will therefore ensure that it is up to date, and avoid any potential problems when subsequently downloading software packages.
 
To synchronise your database with the Manjaro repositories, enter the following command in the terminal:
 
sudo pacman -Syy
 
 
Once the Mirrorlist has been amended and the database synchronised, the change will be immediate. There will be no need to reboot your system for the change to take effect.
 
 
= See Also =
 
* '''[[Pacman troubleshooting]]'''
* '''[[Rankmirrors to Set the Fastest Download Server|Use Rankmirrors to Set the Fastest Download Server]]'''


* '''[[Download Manjaro]]'''
* '''[[Check a Downloaded ISO Image For Errors]]'''
* '''[[Burn an ISO File]]'''




[[Category:Getting Started]]
[[Category:Contents Page]]
[[Category:Contents Page]]

Revision as of 23:36, 3 March 2013

Overview

Tip
Those who installed Manjaro 0.8.0-1 will have had the fastest server automatically selected for them during the installation process, via the use of the Rankmirrors command. Those who installed Manjaro 0.8.2 will have had the UK server selected by default.


The official Manjaro repositories (also known as mirrors) are hosted on Software Servers. Physically located throughout the world, these servers are responsible for receiving requests for software packages via the terminal and/or pacman-gui, and consequently delivering them to your system. There are therefore three primary factors that will determine how fast your downloads are:

  • Your internet connection
  • The speed of the server itself, and
  • The proximity of the server to you (i.e. how close or how far away it is)


Barring upgrading your internet package or switching providers, it is therefore potentially possible to improve the speed of downloads from the Manjaro repositories by selecting a different server to use. Servers are currently located in the following countries:

  • Brazil
  • France
  • Germany
  • Greece
  • United Kingdonm
  • United States


Those who installed Manjaro 0.8.2 using the Installation Guide for Beginners will have had the United Kingdom server set by default, irrespective of their actual country of residence. As such, users living in the United States may consequently achieve better results by switching to the U.S. server instead, for example. Two methods to switch servers are available. The first is to manually determine the server to use, as is provided in this guide. The second is to use the Rankmirrors command to automatically determine and set the fastest possible server on your behalf, provided in the Use Rankmirrors to Set the Fastest Download Server guide.


Note
The closest server may not always necessarily be the fastest!


Step 1: Changing Servers

Note
The contents of the mirrorlist will look different depending on when and which version of Manjaro was installed. This is because prior to the release of 0.8.2, Rankmirrors was automatically used to select the fastest server. This feature was removed with the release of 0.8.2, resulting in a cleaner and simplier looking mirrorlist.


This is undertaken by amending the mirrorlist file, which is used by Manjaro's package manager - pacman - to tell it the internet addresses of the Manjaro servers in order to download updates and software applications from them.


Open the Mirrorlist

Tip
More than one server can be enabled. However, they will be selected in the order they are listed, and pacman will only select another server if there is a problem with the one before it.


You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is:

sudo [text editor] /etc/pacman.d/mirrorlist


For example, if you wish to edit the file within the terminal using nano (a standard terminal-based text editor) then enter:

sudo nano /etc/pacman.d/mirrorlist


Otherwise - if you have installed the full version of Manjaro (i.e. not the NET-Edition) - you may find it easier to use the pre-installed gedit text editor instead. This will open the mirrorlist file up as a document, making it easier to read and edit. To use gedit instead, the command is:

sudo gedit /etc/pacman.d/mirrorlist


Edit the Mirrorlist (Manjaro 0.8.2 and 0.8.3)

Lines beginning with a hash '#' will be ignored by pacman. In the example below, only the UK server has had the hash removed, and as such, this is the only server that has been enabled for use:

##
## Manjaro Linux repository mirrorlist
## Generated on 2012-11-08
##

## Brasil
# Server = http://manjaro.fis.unb.br/$repo/$arch

## France
# Server = http://manjarolinux.polymorf.fr/$repo/$arch

## Germany
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch

## Greece
# Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch

## United Kingdom
Server = http://repo.manjaro.org.uk/$repo/$arch

## United States
# Server = http://mirror.dacentec.com/manjaro/$repo/$arch


The United Kingdom Server can therefore be disabled by simply placing a hash at the beginning of the Server= line. Another Server can be enabled in turn by removing its hash at the beginning of the appropriate line. In the instance below, the United Kingdom server has been disabled, and the United States Sever has been enabled instead:

##
## Manjaro Linux repository mirrorlist
## Generated on 2012-11-08
##

## Brasil
# Server = http://manjaro.fis.unb.br/$repo/$arch

## France
# Server = http://manjarolinux.polymorf.fr/$repo/$arch

## Germany
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirror.vinzv.de/manjaro/repo/$repo/$arch

## Greece
# Server = http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch

## United Kingdom
# Server = http://repo.manjaro.org.uk/$repo/$arch

## United States
Server = http://mirror.dacentec.com/manjaro/$repo/$arch


Warning
Do not remove hashes from any lines that list the names of the server countries.


Once you have disabled and/or enabled the desired server(s), save the changes and close the mirrorlist by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.


All that is required now is to Synchronise with the newly enabled server(s).


Edit the Mirrorlist (Manjaro 0.8.0 and 0.8.1)

Tip
If you find the contents too confusing, then you may wish to consider replacing them with the example provided above for Manjaro 0.8.2. You may gain an additional server or two (i.e. Brazil and Germany) in the process. Otherwise, you could add these servers to your existing file; copying and pasting from the above example will work.


Once opened, the mirrorlist file presented should look similar to this (text has been coloured for illustrative purposes):

# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch ... 0.494
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch ... 0.367
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch ... 0.300
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch ... 0.769
## United Kingdom
# http://repo.manjaro.org.uk/$repo/$arch ... 0.518
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch ... 0.887
Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
Server = http://manjarolinux.polymorf.fr/$repo/$arch
Server = http://repo.manjaro.org.uk/$repo/$arch


Lines beginning with a hash '#' will be ignored by pacman. As such, the top part of the file is a table that lists the names of countries followed by their server internet addresses purely for your own information. Its purpose is to tell you - not pacman - which servers are available in what countries. The text coloured in red at the end of each internet address is there to tell you the download speed of the server. It is actually the bottom part of the file that is intended to be used by pacman to connect to the Manjaro servers. Notice that each of these lines does not have a hash, and begins with the command Server =. They are also accessed in the order that they are listed.


Any of the servers listed at the bottom of the file may therefore be disabled by placing a hash at the beginning of the appropriate line. The order they are used may also be changed by changing the order that they are listed in turn. If you wish to use any of the servers listed in the table above instead:

  • start the server address line with the Server = command, and
  • remove the text that tells you the download speed of the server (e.g. '... 0.769')


In the following example, the servers at the bottom of the file have been disabled, and the United Kingdom Server has been enabled in the above table instead:

# Server list generated by rankmirrors on 2012-10-07
##
## Manjaro Linux repository mirrorlist
## Generated on 2012-09-11
##
## France
# http://manjarolinux.polymorf.fr/$repo/$arch ... 0.494
## Germany
# http://mirrors.mycraft.eu/manjaro/$repo/$arch ... 0.367
# http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch ... 0.300
## Greece
# http://ftp.cc.uoc.gr/mirrors/linux/manjaro/$repo/$arch ... 0.769
## United Kingdom
Server = http://repo.manjaro.org.uk/$repo/$arch
## United States
# http://mirror.dacentec.com/manjaro/$repo/$arch ... 0.887
# Server = http://ftp.halifax.rwth-aachen.de/manjaro/$repo/$arch
# Server = http://mirrors.mycraft.eu/manjaro/$repo/$arch
# Server = http://manjarolinux.polymorf.fr/$repo/$arch
# Server = http://repo.manjaro.org.uk/$repo/$arch


Once you have disabled and/or enabled the desired server(s), save the changes and close the mirrorlist by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.


All that is required now is to Synchronise with the newly enabled server(s).


Step 2: Synchronising with the Newly Enabled Server(s)

Your Manjaro system has a database of all the software packages that are available from the official repositories. These are used by pacman to locate and download them for installation. Synchronising your database after changing servers will therefore ensure that it is up to date, and avoid any potential problems when subsequently downloading software packages.

To synchronise your database with the Manjaro repositories, enter the following command in the terminal:

sudo pacman -Syy


Once the Mirrorlist has been amended and the database synchronised, the change will be immediate. There will be no need to reboot your system for the change to take effect.


See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.