https://wiki.archlinux.org/api.php?action=feedcontributions&user=Mardoct&feedformat=atomArchWiki - User contributions [en]2024-03-19T09:01:56ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Gopher&diff=84801Gopher2009-11-23T04:04:30Z<p>Mardoct: </p>
<hr />
<div>[[Category:Networking (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Gopher}}<br />
{{i18n_links_end}}<br />
<br />
= Gopher =<br />
Gopher is a protocol for information transfer over the internet that was very popular before HTTP took over as the dominant protocol, but there is still a community of gopher users that prefer the simplicity of the protocol over the more complex and large protocols more often encountered. A few examples of gopher sites can be found [gopher://gopher.floodgap.com/1/new here.] Note that not all browsers support gopher, or have incomplete support. Firefox has limited support, but it can be enhanced with [https://addons.mozilla.org/en-US/firefox/addon/7685 this] add-on.<br />
<br />
= GoFish =<br />
[http://gofish.sourceforge.net/ GoFish] is a basic gopher server that allows you to run your own gopherspace. The setup is somewhat like other servers, but generally requires less resources to function. Installation is easy from the AUR using [http://wiki.archlinux.org/index.php/Yaourt yaourt], but of course you can use any program you wish.<br />
<br />
yaourt -S gofish<br />
<br />
There are some basic settings for the server you can change in the /etc/gofish.conf file, but the defaults will work. If you do not alter any settings, the root of the gopher server will be /var/gopher and it will run on port 70. (Note that Firefox can only use the gopher protocol on port 70, so changing it will mean your users must use some other client.)<br />
<br />
To run the server:<br />
# /etc/rc.d/gopherd start<br />
<br />
As always, put in the daemons array in your /etc/rc.conf to autostart it at book. You can now connect to your server and see what you have by navigating to gopher://127.0.0.1<br />
<br />
= .cache =<br />
<br />
Unlike FTP which automatically shows all files, gopher relies on a file called .cache in each directory to determine how the page will be shown to the end user. Although GoFish comes with a manpage for the .cache files - man dotcache - it can be a little confusing. GoFish also comes with a program to autogenerate .cache files for all the directories and files in your server root.<br />
<br />
mkcache -r<br />
<br />
This will create all the needed .cache files recursively, but you may want to edit some names. A sample .cache file will look something like this:<br />
<br />
iHello none example.com 70<br />
0ReadMe 0/ReadMe.txt example.com 70<br />
1Ebooks 1/ebooks example.com 70<br />
<br />
The gopher protocol uses number prefixes to describe filetype. 0 is a plain text file, 1 is a directory and 9 is a binary file. The i indicates an image, and if it is linked to 'none', it will show up as plain text. This is good for introducing your site. See the manpage for dotcache for more info on the prefixes. After the prefix number is the name that will appear in the client, and it does not need to be the same as the file it links to. In the second section, we see the "path" to the file. There is not a directory named '0' or '1' in the file system, it is only added in the URI to let the gopher server and end user know what sort of file it is. The third section is whatever domain name the site is, and the fourth is the port it is on, default is 70. The space between each of the 4 sections must be a tab, not a space or it will not be parsed correctly.<br />
<br />
Now let's look at the .cache file in the ebooks directory.<br />
<br />
9Book 1 9/ebooks/Book1.chm example.com 70<br />
9Book 2 9/ebooks/Book2.pdf example.com 70<br />
<br />
Notice that the URI is 9/ebooks/Book1.chm, NOT 1/ebooks/9Book1.chm . There is always only one prefix number for the last item in the URI. Also notice that a chm file nor a pdf file is really a binary, but it is still given the prefix of 9. In the GoFish server, any file that is not a text file or a directory is given the binary prefix. Remember that if there are files within your server's root, people can download or view them even if they are not in your .cache file, so be careful.<br />
<br />
= Additional Resources =<br />
[http://gofish.sourceforge.net/ GoFish Homepage]</div>Mardocthttps://wiki.archlinux.org/index.php?title=Gopher&diff=84793Gopher2009-11-23T02:36:06Z<p>Mardoct: Created page with 'Category:Networking (English) {{i18n_links_start}} {{i18n_entry|English|Gopher}} {{i18n_links_end}} = Gopher = Gopher is a protocol for information transfer over the interne…'</p>
<hr />
<div>[[Category:Networking (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Gopher}}<br />
{{i18n_links_end}}<br />
<br />
= Gopher =<br />
Gopher is a protocol for information transfer over the internet that was very popular before HTTP took over as the dominant protocol, but there is still a community of gopher users that prefer the simplicity of the protocol over the more complex and large protocols more often encountered. A few examples of gopher sites can be found [gopher://gopher.floodgap.com/1/new here.] Note that not all browsers support gopher, or have incomplete support. Firefox has limited support, but it can be enhanced with [https://addons.mozilla.org/en-US/firefox/addon/7685 this] add-on.<br />
<br />
= GoFish =<br />
[http://gofish.sourceforge.net/ GoFish] is a basic gopher server that allows you to run your own gopherspace. The setup is somewhat like other servers, but generally requires less resources to function. Installation is easy from the AUR using [http://wiki.archlinux.org/index.php/Yaourt yaourt], but of course you can use any program you wish.<br />
<br />
yaourt -S gofish<br />
<br />
There are some basic settings for the server you can change in the /etc/gofish.conf file, but the defaults will work. If you do not alter any settings, the root of the gopher server will be /var/gopher and it will run on port 70. (Note that Firefox can only use the gopher protocol on port 70, so changing it will mean your users must use some other client.)<br />
<br />
To run the server:<br />
# /etc/rc.d/gopherd start<br />
<br />
As always, put in the daemons array in your /etc/rc.conf to autostart it at book. You can now connect to your server and see what you have by navigating to gopher://127.0.0.1<br />
<br />
= .cache =<br />
<br />
Unlike FTP which automatically shows all files, gopher relies on a file called .cache in each directory to determine how the page will be shown to the end user. Although GoFish comes with a manpage for the .cache files - man dotcache - it can be a little confusing. GoFish also comes with a program to autogenerate .cache files for all the directories and files in your server root.<br />
<br />
mkcache -r<br />
<br />
This will create all the needed .cache files recursively, but you may want to edit some names. A sample .cache file will look something like this:<br />
<br />
0Welcome! 0/Welcome.txt example.com 70<br />
1Ebooks 1/ebooks example.com 70<br />
<br />
The gopher protocol uses number prefixes to describe filetype. 0 is a plain text file, 1 is a directory and 9 is a binary file. See the manpage for dotcache for more info on the prefixes. After the prefix number is the name that will appear in the client, and it does not need to be the same as the file it links to. In the second section, we see the "path" to the file. There is not a directory named '0' or '1' in the file system, it is only added in the URI to let the gopher server and end user know what sort of file it is. The third section is whatever domain name the site is, and the fourth is the port it is on, default is 70. The space between each of the 4 sections must be a tab, not a space or it will not be parsed correctly.<br />
<br />
Now let's look at the .cache file in the ebooks directory.<br />
<br />
9Book 1 9/ebooks/Book1.chm example.com 70<br />
9Book 2 9/ebooks/Book2.pdf example.com 70<br />
<br />
Notice that the URI is 9/ebooks/Book1.chm, NOT 1/ebooks/9Book1.chm . There is always only one prefix number for the last item in the URI. Also notice that a chm file nor a pdf file is really a binary, but it is still given the prefix of 9. In the GoFish server, any file that is not a text file or a directory is given the binary prefix. Remember that if there are files within your server's root, people can download or view them even if they are not in your .cache file, so be careful.<br />
<br />
= Additional Resources =<br />
[http://gofish.sourceforge.net/ GoFish Homepage]</div>Mardocthttps://wiki.archlinux.org/index.php?title=Quick_Arch_Linux_Install&diff=82970Quick Arch Linux Install2009-11-10T23:54:58Z<p>Mardoct: </p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Quick Arch Linux Install}}<br />
{{i18n_entry|Slovak|Rýchla inštalácia Archlinuxu}}<br />
{{i18n_entry|ไทย|การติดตั้ง Arch Linux แบบเร็ว}}<br />
{{i18n_entry|Lietuviškai|Greitas Arch Linux įdiegimas (Lietuviškai)}}<br />
{{i18n_entry|简体中文|Arch Linux 快速安装指南 (简体中文)}}<br />
{{i18n_entry|繁體中文|Archlinux 快速安裝教學}}<br />
{{i18n_links_end}}<br />
<br />
This document walks you through a basic Arch Linux installation without being to verbose.<br />
<br />
== Introduction==<br />
<br />
This is a quick walk-through for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows partition on their hard drive and want to set up Arch Linux without harming the Windows install, and don't want too much hand holding.<br />
<br />
This guide is for "normal" hardware; nothing special (e.g. SCSI) is documented.<br />
<br />
Windows is assumed to exist on the first partition of the hard drive; otherwise, GRUB won't be able to find it.<br />
<br />
== Necessary things==<br />
<br />
* The Arch Linux Base-Installation-CD or Full-Installation-CD. (Get it from [http://www.archlinux.org/download/ here].)<br />
* Either one free hard disk or free space on one partition. You have to separate this free space from an existing partition in Windows with a partitioning utility (e.g. PartitionMagic).<br />
<br />
== Installation from the Arch CD ==<br />
<br />
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.<br />
* It will present you with a menu. For the installation, choose the "Boot ArchLive" option. It will go through the process to set up the live system. Give it a minute.<br />
*Now it should look like this:<br />
<br />
http://home.arcor.de/Langeland/1.png<br />
Default Arch Live screen<br />
<br />
To start the installation, type:<br />
<pre><br />
/arch/setup<br />
</pre><br />
<br />
If you got the net install (FTP) image, or wish to get the latest packages from the servers, choose net install. This is the preferred method. If you have the Core image, you can optionally install the packages on the CD with the CD install option. If you use the net install, try to choose a server near to you physically. (Ex. ftp://cs.uwaterloo.com is closest for people in the Greater Toronto Area.)<br />
<br />
The Main Menu will appear:<br />
<br />
http://home.arcor.de/Langeland/6.png <br />
Main Menu<br />
<br />
For the net install, you need to configure the network. If you have a DHCP server connected to your computer with an Ethernet cord, odds are the auto-configure will work automatically. You can also use ctrl-alt-F2 to set up the network connection from the command line, using ctrl-alt-F1 to go back to the installation script.<br />
<br />
If you are installing from the CD, there is no need to configure the network now.<br />
<br />
=== Partition Hard-Drive===<br />
<br />
If you have an empty hard drive, you may skip these steps and choose Auto-Partitioning. Please note this will erase all partitions from your hard drive! If you want to keep any partition on your hard drive (Like saving a Windows install), follow the steps below:<br />
<br />
* Select Prepare Hard Drive.<br />
* Select Partition Hard Drive.<br />
* Select the disk you want Arch Linux to be installed on. <br />
* The cfdisk partitioning utility will open and allow you to create the partitions. For Arch base installation there are at least two partitions needed:<br />
* one swap partition<br />
* one data partition<br />
<br />
* At this point the display may look like this (if you have an NTFS partition for Windows XP. Vista or Windows 7 may have 2 NTFS partitions.):<br />
<br />
http://home.arcor.de/Langeland/9.png <br />
cfdisk<br />
<br />
* Don't touch the NTFS partition/s in any way; otherwise, you may lose Windows.<br />
* The type of the swap partition should be set to 82. Swap space is generally recommended to be twice the amount of RAM you have, but you can use less.<br />
* You must have at least one primary partition and a swap space is recommended. A safer setup is to have one primary partition of 100MB and all other partitions for Arch Linux can be logical partitions. The primary partition must be marked bootable.<br />
* If you want to quit cfdisk without saving anything, then select quit; otherwise, select write. Use quit if you accidentally change a setting on a Windows partition.<br />
* Remember which partitions you want to use for what. Note the partition's number to the right. (ex. sda1, sda2, etc.)<br />
<br />
=== Set Mountpoints===<br />
* Select point 3: Set Filesystem Mountpoints<br />
* Select the partition you wish to use as '/' and use set it to mount to '/' (no quotes). The most common choice for file system is ext4, but any will work.<br />
* If you have a partitions to use as '/boot', set '/boot' (again, no quotes) as the mount point and ext2 is the recommended file system.<br />
* Select the partition to use as swap space, and choose the mount point of swap. No file system need be specified.<br />
* Select DONE!!<br />
''This last step is very important: many people skip this step, but no actions take place until you select DONE. If you do not do this, the install will appear to work, but it will not install any files''.<br />
<br />
=== Select Packages===<br />
<br />
* Select Choose Packages (Or something similar - it is selected automatically after setting mount points.<br />
* Now it should look like this:<br />
<br />
* For now, you should select only base. All packages already marked should not be unmarked unless you know you wont need them. Anything else you need not already marked should be installed later unless you need it for the setup.<br />
<br />
=== Install Packages===<br />
<br />
* This is rather easy: Just select install packages, say OK, and everything will be copied from CD/the server you selected to hard disk.<br />
<br />
=== Edit Config Files===<br />
<br />
* Choose nano to edit the files unless you already know Vi. Nano's commands are listed at the bottom and you use the arrow keys to move the cursor.<br />
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example, de is German.<br />
* nano is easy to understand: (Ctrl-X) saves the file and exits nano.<br />
* In 'rc.conf', set a host name in the HOSTNAME= field. (ex. HOSTNAME='Taco')<br />
* Be sure to change the root password. <br />
<br />
=== Install GRUB ===<br />
When you are done editing the config files, choose the 'Install Bootloader' option from the main menu.<br />
* Choose to install GRUB unless you will setup a bootloader yourself. If you don't install a new bootloader, only Windows will boot.<br />
* You will see a file like this:<br />
<br />
http://home.arcor.de/Langeland/13.png <br />
Menu.lst<br />
<br />
* Everything should be set up correctly to boot into Arch To dual boot, uncomment the following section at the end (remove the # symbol from the beginning of the line:<br />
<br />
<pre><br />
#title Windows<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
</pre><br />
<br />
Save it and quit nano.<br />
<br />
=== Ready to reboot===<br />
<br />
* Choose done at the main menu, type reboot, and the computer should reboot.<br />
* Remove the CD before it tries to boot from it again.<br />
* You should be able tp choose between Windows and Arch; default is Arch. The timeout is 5 seconds.<br />
<br />
== Alternative Installing Methods ==<br />
* [[Fast Arch Install from existing Linux System]]<br />
* [http://www.archlinux.org/static/docs/arch-install-guide.html The Official Arch Linux Installation Guide]</div>Mardocthttps://wiki.archlinux.org/index.php?title=Quick_Arch_Linux_Install&diff=82968Quick Arch Linux Install2009-11-10T23:51:05Z<p>Mardoct: </p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Quick Arch Linux Install}}<br />
{{i18n_entry|Slovak|Rýchla inštalácia Archlinuxu}}<br />
{{i18n_entry|ไทย|การติดตั้ง Arch Linux แบบเร็ว}}<br />
{{i18n_entry|Lietuviškai|Greitas Arch Linux įdiegimas (Lietuviškai)}}<br />
{{i18n_entry|简体中文|Arch Linux 快速安装指南 (简体中文)}}<br />
{{i18n_entry|繁體中文|Archlinux 快速安裝教學}}<br />
{{i18n_links_end}}<br />
<br />
This document walks you through a basic Arch Linux installation without being to verbose.<br />
<br />
== Introduction==<br />
<br />
This is a quick walk-through for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows partition on their hard drive and want to set up Arch Linux without harming the Windows install, and don't want too much hand holding.<br />
<br />
This guide is for "normal" hardware; nothing special (e.g. SCSI) is documented.<br />
<br />
Windows is assumed to exist on the first partition of the hard drive; otherwise, GRUB won't be able to find it.<br />
<br />
== Necessary things==<br />
<br />
* The Arch Linux Base-Installation-CD or Full-Installation-CD. (Get it from [http://www.archlinux.org/download/ here].)<br />
* Either one free hard disk or free space on one partition. You have to separate this free space from an existing partition in Windows with a partitioning utility (e.g. PartitionMagic).<br />
<br />
== Installation from the Arch CD ==<br />
<br />
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.<br />
* It will present you with a menu. For the installation, choose the "Boot ArchLive" option. It will go through the process to set up the live system. Give it a minute.<br />
*Now it should look like this:<br />
<br />
http://home.arcor.de/Langeland/1.png<br />
Default Arch Live screen<br />
<br />
To start the installation, type:<br />
<pre><br />
/arch/setup<br />
</pre><br />
<br />
If you got the net install (FTP) image, or wish to get the latest packages from the servers, choose net install. This is the preferred method. If you have the Core image, you can optionally install the packages on the CD with the CD install option. If you use the net install, try to choose a server near to you physically. (Ex. ftp://cs.uwaterloo.com is closest for people in the Greater Toronto Area.)<br />
<br />
The Main Menu will appear:<br />
<br />
http://home.arcor.de/Langeland/6.png <br />
Main Menu<br />
<br />
For the net install, you need to configure the network. If you have a DHCP server connected to your computer with an Ethernet cord, odds are the auto-configure will work automatically. You can also use ctrl-alt-F2 to set up the network connection from the command line, using ctrl-alt-F1 to go back to the installation script.<br />
<br />
If you are installing from the CD, there is no need to configure the network now.<br />
<br />
=== Partition Hard-Drive===<br />
<br />
If you have an empty hard drive, you may skip these steps and choose Auto-Partitioning. Please note this will erase all partitions from your hard drive! If you want to keep any partition on your hard drive (Like saving a Windows install), follow the steps below:<br />
<br />
* Select Prepare Hard Drive.<br />
* Select Partition Hard Drive.<br />
* Select the disk you want Arch Linux to be installed on. <br />
* The cfdisk partitioning utility will open and allow you to create the partitions. For Arch base installation there are at least two partitions needed:<br />
* one swap partition<br />
* one data partition<br />
<br />
* At this point the display may look like this (if you have an NTFS partition for Windows XP. Vista or Windows 7 may have 2 NTFS partitions.):<br />
<br />
http://home.arcor.de/Langeland/9.png <br />
cfdisk<br />
<br />
* Don't touch the NTFS partition/s in any way; otherwise, you may lose Windows.<br />
* The type of the swap partition should be set to 82. Swap space is generally recommended to be twice the amount of RAM you have, but you can use less.<br />
* You must have at least one primary partition and a swap space is recommended. A safer setup is to have one primary partition of 100MB and all other partitions for Arch Linux can be logical partitions. The primary partition must be marked bootable.<br />
* If you want to quit cfdisk without saving anything, then select quit; otherwise, select write. Use quit if you accidentally change a setting on a Windows partition.<br />
* Remember which partitions you want to use for what. Note the partition's number to the right. (ex. sda1, sda2, etc.)<br />
<br />
=== Set Mountpoints===<br />
* Select point 3: Set Filesystem Mountpoints<br />
* Select the partition you wish to use as '/' and use set it to mount to '/' (no quotes). The most common choice for file system is ext4, but any will work.<br />
* If you have a partitions to use as '/boot', set '/boot' (again, no quotes) as the mount point and ext2 is the recommended file system.<br />
* Select the partition to use as swap space, and choose the mount point of swap. No file system need be specified.<br />
* Select DONE!!<br />
''This last step is very important: many people skip this step, but no actions take place until you select DONE. If you do not do this, the install will appear to work, but it will not install any files''.<br />
<br />
=== Select Packages===<br />
<br />
* Select Choose Packages (Or something similar - it is selected automatically after setting mount points.<br />
* Now it should look like this:<br />
<br />
* For now, you should select only base. All packages already marked should not be unmarked unless you know you wont need them. Anything else you need not already marked should be installed later unless you need it for the setup.<br />
<br />
=== Install Packages===<br />
<br />
* This is rather easy: Just select install packages, say OK, and everything will be copied from CD/the server you selected to hard disk.<br />
<br />
=== Edit Config Files===<br />
<br />
* Choose nano to edit the files unless you already know Vi. Nano's commands are listed at the bottom and you use the arrow keys to move the cursor.<br />
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example, de is German.<br />
* Set a host name in the HOSTNAME= field. (ex. HOSTNAME='Taco')<br />
</pre><br />
* nano is easy to understand: (Ctrl-X) saves the file and exits nano.<br />
<br />
=== Install GRUB ===<br />
When you are done editing the config files, choose the 'Install Bootloader' option from the main menu.<br />
* Choose to install GRUB unless you will setup a bootloader yourself. If you don't install a new bootloader, only Windows will boot.<br />
* You will see a file like this:<br />
<br />
http://home.arcor.de/Langeland/13.png <br />
Menu.lst<br />
<br />
* Everything should be set up correctly to boot into Arch To dual boot, uncomment the following section at the end (remove the # symbol from the beginning of the line:<br />
<br />
<pre><br />
#title Windows<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
</pre><br />
<br />
Save it and quit nano.<br />
<br />
=== Ready to reboot===<br />
<br />
* Choose done at the main menu, type reboot, and the computer should reboot.<br />
* Remove the CD before it tries to boot from it again.<br />
* You should be able tp choose between Windows and Arch; default is Arch. The timeout is 5 seconds.<br />
<br />
== Alternative Installing Methods ==<br />
* [[Fast Arch Install from existing Linux System]]<br />
* [http://www.archlinux.org/static/docs/arch-install-guide.html The Official Arch Linux Installation Guide]</div>Mardocthttps://wiki.archlinux.org/index.php?title=Quick_Arch_Linux_Install&diff=82967Quick Arch Linux Install2009-11-10T23:50:09Z<p>Mardoct: /* First steps in Arch */</p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Quick Arch Linux Install}}<br />
{{i18n_entry|Slovak|Rýchla inštalácia Archlinuxu}}<br />
{{i18n_entry|ไทย|การติดตั้ง Arch Linux แบบเร็ว}}<br />
{{i18n_entry|Lietuviškai|Greitas Arch Linux įdiegimas (Lietuviškai)}}<br />
{{i18n_entry|简体中文|Arch Linux 快速安装指南 (简体中文)}}<br />
{{i18n_entry|繁體中文|Archlinux 快速安裝教學}}<br />
{{i18n_links_end}}<br />
<br />
This document walks you through a basic Arch Linux installation. It is based on the 0.8 (Don't Panic) installation scripts.<br />
<br />
== Introduction==<br />
<br />
This is a quick walk-through for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows partition on their hard drive and want to set up Arch Linux without harming the Windows install.<br />
<br />
This guide is for "normal" hardware; nothing special (e.g. SCSI) is documented.<br />
<br />
Windows is assumed to exist on the first partition of the hard drive; otherwise, GRUB won't be able to find it.<br />
<br />
== Necessary things==<br />
<br />
* The Arch Linux Base-Installation-CD or Full-Installation-CD. (Get it from [http://www.archlinux.org/download/ here].)<br />
* Either one free hard disk or free space on one partition. You have to separate this free space from an existing partition in Windows with a partitioning utility (e.g. PartitionMagic).<br />
<br />
== Installation from the Arch CD ==<br />
<br />
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.<br />
* It will present you with a menu. For the installation, choose the "Boot ArchLive" option. It will go through the process to set up the live system. Give it a minute.<br />
*Now it should look like this:<br />
<br />
http://home.arcor.de/Langeland/1.png<br />
Default Arch Live screen<br />
<br />
To start the installation, type:<br />
<pre><br />
/arch/setup<br />
</pre><br />
<br />
If you got the net install (FTP) image, or wish to get the latest packages from the servers, choose net install. This is the preferred method. If you have the Core image, you can optionally install the packages on the CD with the CD install option. If you use the net install, try to choose a server near to you physically. (Ex. ftp://cs.uwaterloo.com is closest for people in the Greater Toronto Area.)<br />
<br />
The Main Menu will appear:<br />
<br />
http://home.arcor.de/Langeland/6.png <br />
Main Menu<br />
<br />
For the net install, you need to configure the network. If you have a DHCP server connected to your computer with an Ethernet cord, odds are the auto-configure will work automatically. You can also use ctrl-alt-F2 to set up the network connection from the command line, using ctrl-alt-F1 to go back to the installation script.<br />
<br />
If you are installing from the CD, there is no need to configure the network now.<br />
<br />
=== Partition Hard-Drive===<br />
<br />
If you have an empty hard drive, you may skip these steps and choose Auto-Partitioning. Please note this will erase all partitions from your hard drive! If you want to keep any partition on your hard drive (Like saving a Windows install), follow the steps below:<br />
<br />
* Select Prepare Hard Drive.<br />
* Select Partition Hard Drive.<br />
* Select the disk you want Arch Linux to be installed on. <br />
* The cfdisk partitioning utility will open and allow you to create the partitions. For Arch base installation there are at least two partitions needed:<br />
* one swap partition<br />
* one data partition<br />
<br />
* At this point the display may look like this (if you have an NTFS partition for Windows XP. Vista or Windows 7 may have 2 NTFS partitions.):<br />
<br />
http://home.arcor.de/Langeland/9.png <br />
cfdisk<br />
<br />
* Don't touch the NTFS partition/s in any way; otherwise, you may lose Windows.<br />
* The type of the swap partition should be set to 82. Swap space is generally recommended to be twice the amount of RAM you have, but you can use less.<br />
* You must have at least one primary partition and a swap space is recommended. A safer setup is to have one primary partition of 100MB and all other partitions for Arch Linux can be logical partitions. The primary partition must be marked bootable.<br />
* If you want to quit cfdisk without saving anything, then select quit; otherwise, select write. Use quit if you accidentally change a setting on a Windows partition.<br />
* Remember which partitions you want to use for what. Note the partition's number to the right. (ex. sda1, sda2, etc.)<br />
<br />
=== Set Mountpoints===<br />
* Select point 3: Set Filesystem Mountpoints<br />
* Select the partition you wish to use as '/' and use set it to mount to '/' (no quotes). The most common choice for file system is ext4, but any will work.<br />
* If you have a partitions to use as '/boot', set '/boot' (again, no quotes) as the mount point and ext2 is the recommended file system.<br />
* Select the partition to use as swap space, and choose the mount point of swap. No file system need be specified.<br />
* Select DONE!!<br />
''This last step is very important: many people skip this step, but no actions take place until you select DONE. If you do not do this, the install will appear to work, but it will not install any files''.<br />
<br />
=== Select Packages===<br />
<br />
* Select Choose Packages (Or something similar - it is selected automatically after setting mount points.<br />
* Now it should look like this:<br />
<br />
* For now, you should select only base. All packages already marked should not be unmarked unless you know you wont need them. Anything else you need not already marked should be installed later unless you need it for the setup.<br />
<br />
=== Install Packages===<br />
<br />
* This is rather easy: Just select install packages, say OK, and everything will be copied from CD/the server you selected to hard disk.<br />
<br />
=== Edit Config Files===<br />
<br />
* Choose nano to edit the files unless you already know Vi. Nano's commands are listed at the bottom and you use the arrow keys to move the cursor.<br />
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example, de is German.<br />
* Set a host name in the HOSTNAME= field. (ex. HOSTNAME='Taco')<br />
</pre><br />
* nano is easy to understand: (Ctrl-X) saves the file and exits nano.<br />
<br />
=== Install GRUB ===<br />
When you are done editing the config files, choose the 'Install Bootloader' option from the main menu.<br />
* Choose to install GRUB unless you will setup a bootloader yourself. If you don't install a new bootloader, only Windows will boot.<br />
* You will see a file like this:<br />
<br />
http://home.arcor.de/Langeland/13.png <br />
Menu.lst<br />
<br />
* Everything should be set up correctly to boot into Arch To dual boot, uncomment the following section at the end (remove the # symbol from the beginning of the line:<br />
<br />
<pre><br />
#title Windows<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
</pre><br />
<br />
Save it and quit nano.<br />
<br />
=== Ready to reboot===<br />
<br />
* Choose done at the main menu, type reboot, and the computer should reboot.<br />
* Remove the CD before it tries to boot from it again.<br />
* You should be able tp choose between Windows and Arch; default is Arch. The timeout is 5 seconds.<br />
<br />
== Alternative Installing Methods ==<br />
* [[Fast Arch Install from existing Linux System]]<br />
* [http://www.archlinux.org/static/docs/arch-install-guide.html The Official Arch Linux Installation Guide]</div>Mardocthttps://wiki.archlinux.org/index.php?title=Quick_Arch_Linux_Install&diff=82966Quick Arch Linux Install2009-11-10T23:49:34Z<p>Mardoct: </p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Quick Arch Linux Install}}<br />
{{i18n_entry|Slovak|Rýchla inštalácia Archlinuxu}}<br />
{{i18n_entry|ไทย|การติดตั้ง Arch Linux แบบเร็ว}}<br />
{{i18n_entry|Lietuviškai|Greitas Arch Linux įdiegimas (Lietuviškai)}}<br />
{{i18n_entry|简体中文|Arch Linux 快速安装指南 (简体中文)}}<br />
{{i18n_entry|繁體中文|Archlinux 快速安裝教學}}<br />
{{i18n_links_end}}<br />
<br />
This document walks you through a basic Arch Linux installation. It is based on the 0.8 (Don't Panic) installation scripts.<br />
<br />
== Introduction==<br />
<br />
This is a quick walk-through for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows partition on their hard drive and want to set up Arch Linux without harming the Windows install.<br />
<br />
This guide is for "normal" hardware; nothing special (e.g. SCSI) is documented.<br />
<br />
Windows is assumed to exist on the first partition of the hard drive; otherwise, GRUB won't be able to find it.<br />
<br />
== Necessary things==<br />
<br />
* The Arch Linux Base-Installation-CD or Full-Installation-CD. (Get it from [http://www.archlinux.org/download/ here].)<br />
* Either one free hard disk or free space on one partition. You have to separate this free space from an existing partition in Windows with a partitioning utility (e.g. PartitionMagic).<br />
<br />
== Installation from the Arch CD ==<br />
<br />
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.<br />
* It will present you with a menu. For the installation, choose the "Boot ArchLive" option. It will go through the process to set up the live system. Give it a minute.<br />
*Now it should look like this:<br />
<br />
http://home.arcor.de/Langeland/1.png<br />
Default Arch Live screen<br />
<br />
To start the installation, type:<br />
<pre><br />
/arch/setup<br />
</pre><br />
<br />
If you got the net install (FTP) image, or wish to get the latest packages from the servers, choose net install. This is the preferred method. If you have the Core image, you can optionally install the packages on the CD with the CD install option. If you use the net install, try to choose a server near to you physically. (Ex. ftp://cs.uwaterloo.com is closest for people in the Greater Toronto Area.)<br />
<br />
The Main Menu will appear:<br />
<br />
http://home.arcor.de/Langeland/6.png <br />
Main Menu<br />
<br />
For the net install, you need to configure the network. If you have a DHCP server connected to your computer with an Ethernet cord, odds are the auto-configure will work automatically. You can also use ctrl-alt-F2 to set up the network connection from the command line, using ctrl-alt-F1 to go back to the installation script.<br />
<br />
If you are installing from the CD, there is no need to configure the network now.<br />
<br />
=== Partition Hard-Drive===<br />
<br />
If you have an empty hard drive, you may skip these steps and choose Auto-Partitioning. Please note this will erase all partitions from your hard drive! If you want to keep any partition on your hard drive (Like saving a Windows install), follow the steps below:<br />
<br />
* Select Prepare Hard Drive.<br />
* Select Partition Hard Drive.<br />
* Select the disk you want Arch Linux to be installed on. <br />
* The cfdisk partitioning utility will open and allow you to create the partitions. For Arch base installation there are at least two partitions needed:<br />
* one swap partition<br />
* one data partition<br />
<br />
* At this point the display may look like this (if you have an NTFS partition for Windows XP. Vista or Windows 7 may have 2 NTFS partitions.):<br />
<br />
http://home.arcor.de/Langeland/9.png <br />
cfdisk<br />
<br />
* Don't touch the NTFS partition/s in any way; otherwise, you may lose Windows.<br />
* The type of the swap partition should be set to 82. Swap space is generally recommended to be twice the amount of RAM you have, but you can use less.<br />
* You must have at least one primary partition and a swap space is recommended. A safer setup is to have one primary partition of 100MB and all other partitions for Arch Linux can be logical partitions. The primary partition must be marked bootable.<br />
* If you want to quit cfdisk without saving anything, then select quit; otherwise, select write. Use quit if you accidentally change a setting on a Windows partition.<br />
* Remember which partitions you want to use for what. Note the partition's number to the right. (ex. sda1, sda2, etc.)<br />
<br />
=== Set Mountpoints===<br />
* Select point 3: Set Filesystem Mountpoints<br />
* Select the partition you wish to use as '/' and use set it to mount to '/' (no quotes). The most common choice for file system is ext4, but any will work.<br />
* If you have a partitions to use as '/boot', set '/boot' (again, no quotes) as the mount point and ext2 is the recommended file system.<br />
* Select the partition to use as swap space, and choose the mount point of swap. No file system need be specified.<br />
* Select DONE!!<br />
''This last step is very important: many people skip this step, but no actions take place until you select DONE. If you do not do this, the install will appear to work, but it will not install any files''.<br />
<br />
=== Select Packages===<br />
<br />
* Select Choose Packages (Or something similar - it is selected automatically after setting mount points.<br />
* Now it should look like this:<br />
<br />
* For now, you should select only base. All packages already marked should not be unmarked unless you know you wont need them. Anything else you need not already marked should be installed later unless you need it for the setup.<br />
<br />
=== Install Packages===<br />
<br />
* This is rather easy: Just select install packages, say OK, and everything will be copied from CD/the server you selected to hard disk.<br />
<br />
=== Edit Config Files===<br />
<br />
* Choose nano to edit the files unless you already know Vi. Nano's commands are listed at the bottom and you use the arrow keys to move the cursor.<br />
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example, de is German.<br />
* Set a host name in the HOSTNAME= field. (ex. HOSTNAME='Taco')<br />
</pre><br />
* nano is easy to understand: (Ctrl-X) saves the file and exits nano.<br />
<br />
=== Install GRUB ===<br />
When you are done editing the config files, choose the 'Install Bootloader' option from the main menu.<br />
* Choose to install GRUB unless you will setup a bootloader yourself. If you don't install a new bootloader, only Windows will boot.<br />
* You will see a file like this:<br />
<br />
http://home.arcor.de/Langeland/13.png <br />
Menu.lst<br />
<br />
* Everything should be set up correctly to boot into Arch To dual boot, uncomment the following section at the end (remove the # symbol from the beginning of the line:<br />
<br />
<pre><br />
#title Windows<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
</pre><br />
<br />
Save it and quit nano.<br />
<br />
=== Ready to reboot===<br />
<br />
* Choose done at the main menu, type reboot, and the computer should reboot.<br />
* Remove the CD before it tries to boot from it again.<br />
* You should be able tp choose between Windows and Arch; default is Arch. The timeout is 5 seconds.<br />
<br />
== Alternative Installing Methods ==<br />
* [[Fast Arch Install from existing Linux System]]<br />
* [http://www.archlinux.org/static/docs/arch-install-guide.html The Official Arch Linux Installation Guide]<br />
<br />
== First steps in Arch==<br />
<br />
* Log in as root.<br />
* Execute the command <code>passwd</code> to set a password for root.<br />
<pre><br />
# passwd<br />
</pre><br />
* Add a user. You can use the adduser script. Your user should be in the users, audio, and optical groups.<br />
<pre><br />
# adduser<br />
</pre><br />
<br />
Now it's time to fix your internet and start installing packages with [[Pacman|Pacman]].<br />
Enjoy!</div>Mardocthttps://wiki.archlinux.org/index.php?title=Quick_Arch_Linux_Install&diff=82956Quick Arch Linux Install2009-11-10T23:42:51Z<p>Mardoct: /* Installation from the Arch CD */</p>
<hr />
<div>[[Category:Getting and installing Arch (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{out of date}}<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Quick Arch Linux Install}}<br />
{{i18n_entry|Slovak|Rýchla inštalácia Archlinuxu}}<br />
{{i18n_entry|ไทย|การติดตั้ง Arch Linux แบบเร็ว}}<br />
{{i18n_entry|Lietuviškai|Greitas Arch Linux įdiegimas (Lietuviškai)}}<br />
{{i18n_entry|简体中文|Arch Linux 快速安装指南 (简体中文)}}<br />
{{i18n_entry|繁體中文|Archlinux 快速安裝教學}}<br />
{{i18n_links_end}}<br />
<br />
This document walks you through a basic Arch Linux installation. It is based on the 0.8 (Don't Panic) installation scripts.<br />
<br />
== Introduction==<br />
<br />
This is a quick walk-through for those who don't yet know what Arch is and what it is capable of. It is written mainly for those people who already have an existing Windows partition on their hard drive and want to set up Arch Linux without harming the Windows install.<br />
<br />
This guide is for "normal" hardware; nothing special (e.g. SCSI) is documented.<br />
<br />
Windows is assumed to exist on the first partition of the hard drive; otherwise, GRUB won't be able to find it.<br />
<br />
== Necessary things==<br />
<br />
* The Arch Linux Base-Installation-CD or Full-Installation-CD. (Get it from [http://www.archlinux.org/download/ here].)<br />
* Either one free hard disk or free space on one partition. You have to separate this free space from an existing partition in Windows with a partitioning utility (e.g. PartitionMagic).<br />
<br />
== Installation from the Arch CD ==<br />
<br />
* Insert the CD in your drive, reboot, and check that your BIOS will boot from the CD-ROM drive first.<br />
* It will present you with a menu. For the installation, choose the "Boot ArchLive" option. It will go through the process to set up the live system. Give it a minute.<br />
*Now it should look like this:<br />
<br />
http://home.arcor.de/Langeland/1.png<br />
Default Arch Live screen<br />
<br />
To start the installation, type:<br />
<pre><br />
/arch/setup<br />
</pre><br />
<br />
If you got the net install (FTP) image, or wish to get the latest packages from the servers, choose net install. This is the preferred method. If you have the Core image, you can optionally install the packages on the CD with the CD install option. If you use the net install, try to choose a server near to you physically. (Ex. ftp://cs.uwaterloo.com is closest for people in the Greater Toronto Area.)<br />
<br />
The Main Menu will appear:<br />
<br />
http://home.arcor.de/Langeland/6.png <br />
Main Menu<br />
<br />
For the net install, you need to configure the network. If you have a DHCP server connected to your computer with an Ethernet cord, odds are the auto-configure will work automatically. You can also use ctrl-alt-F2 to set up the network connection from the command line, using ctrl-alt-F1 to go back to the installation script.<br />
<br />
If you are installing from the CD, there is no need to configure the network now.<br />
<br />
=== Partition Hard-Drive===<br />
<br />
If you have an empty hard drive, you may skip these steps and choose Auto-Partitioning. Please note this will erase all partitions from your hard drive! If you want to keep any partition on your hard drive (Like saving a Windows install), follow the steps below:<br />
<br />
* Select Prepare Hard Drive.<br />
* Select Partition Hard Drive.<br />
* Select the disk you want Arch Linux to be installed on. <br />
* The cfdisk partitioning utility will open and allow you to create the partitions. For Arch base installation there are at least two partitions needed:<br />
* one swap partition<br />
* one data partition<br />
<br />
* At this point the display may look like this (if you have an NTFS partition for Windows XP. Vista or Windows 7 may have 2 NTFS partitions.):<br />
<br />
http://home.arcor.de/Langeland/9.png <br />
cfdisk<br />
<br />
* Don't touch the NTFS partition/s in any way; otherwise, you may lose Windows.<br />
* The type of the swap partition should be set to 82. Swap space is generally recommended to be twice the amount of RAM you have, but you can use less.<br />
* You must have at least one primary partition and a swap space is recommended. A safer setup is to have one primary partition of 100MB and all other partitions for Arch Linux can be logical partitions. The primary partition must be marked bootable.<br />
* If you want to quit cfdisk without saving anything, then select quit; otherwise, select write. Use quit if you accidentally change a setting on a Windows partition.<br />
* Remember which partitions you want to use for what. Note the partition's number to the right. (ex. sda1, sda2, etc.)<br />
<br />
=== Set Mountpoints===<br />
* Select point 3: Set Filesystem Mountpoints<br />
* Select the partition you wish to use as '/' and use set it to mount to '/' (no quotes). The most common choice for file system is ext4, but any will work.<br />
* If you have a partitions to use as '/boot', set '/boot' (again, no quotes) as the mount point and ext2 is the recommended file system.<br />
* Select the partition to use as swap space, and choose the mount point of swap. No file system need be specified.<br />
* Select DONE!!<br />
''This last step is very important: many people skip this step, but no actions take place until you select DONE. If you do not do this, the install will appear to work, but it will not install any files''.<br />
<br />
=== Select Packages===<br />
<br />
* Select Choose Packages (Or something similar - it is selected automatically after setting mount points.<br />
* Now it should look like this:<br />
<br />
* For now, you should select only base. All packages already marked should not be unmarked unless you know you wont need them. Anything else you need not already marked should be installed later unless you need it for the setup.<br />
<br />
=== Install Packages===<br />
<br />
* This is rather easy: Just select install packages, say OK, and everything will be copied from CD/the server you selected to hard disk.<br />
<br />
=== Edit Config Files===<br />
<br />
* Choose nano to edit the files unless you already know Vi. Nano's commands are listed at the bottom and you use the arrow keys to move the cursor.<br />
''' You have to edit the rc.conf''' if you want to change your keyboard layout. For example, de is German.<br />
* Set a host name in the HOSTNAME= field. (ex. HOSTNAME='Taco')<br />
</pre><br />
* nano is easy to understand: (Ctrl-X) saves the file and exits nano.<br />
<br />
=== Install GRUB ===<br />
When you are done editing the config files, choose the 'Install Bootloader' option from the main menu.<br />
* Choose to install GRUB unless you will setup a bootloader yourself. If you don't install a new bootloader, only Windows will boot.<br />
* You will see a file like this:<br />
<br />
http://home.arcor.de/Langeland/13.png <br />
Menu.lst<br />
<br />
* Everything should be set up correctly to boot into Arch To dual boot, uncomment the following section at the end (remove the # symbol from the beginning of the line:<br />
<br />
<pre><br />
#title Windows<br />
rootnoverify (hd0,0)<br />
chainloader +1<br />
</pre><br />
<br />
Save it and quit nano.<br />
<br />
=== Ready to reboot===<br />
<br />
* Choose done at the main menu, type reboot, and the computer should reboot.<br />
* Remove the CD before it tries to boot from it again.<br />
* You should be able tp choose between Windows and Arch; default is Arch. The timeout is 5 seconds.<br />
<br />
== Alternative Installing Methods ==<br />
* [[Fast Arch Install from existing Linux System]]<br />
* [http://www.archlinux.org/static/docs/arch-install-guide.html The Official Arch Linux Installation Guide]<br />
<br />
== First steps in Arch==<br />
<br />
* Log in as root.<br />
* Execute the command <code>passwd</code> to set a password for root.<br />
<pre><br />
# passwd<br />
</pre><br />
* Add a user. You can use the adduser script. Your user should be in the users, audio, and optical groups.<br />
<pre><br />
# adduser<br />
</pre><br />
<br />
Now it's time to fix your internet and start installing packages with [[Pacman|Pacman]].<br />
Enjoy!</div>Mardocthttps://wiki.archlinux.org/index.php?title=Tor&diff=82951Tor2009-11-10T23:03:22Z<p>Mardoct: /* Installing necessary packages */</p>
<hr />
<div>{{stub}}<br />
{{merge|Proxy routing with Tor and Privoxy}}<br />
[[Category:Networking (English)]]<br />
[[Category:HOWTOs (English)]]<br />
== Introduction ==<br />
<br />
Tor is a free implementation of 2nd generation onion routing - essentially, it is an anonymous proxy network. Its primary goal is to protect its users against traffic analysis attacks.<br />
<br />
Onion routing is a method of networking traffic for end-user anonymity. It keeps you anonymous by encrypting traffic, sending it through other nodes of the Tor network, and the last node to receive your traffic decrypts it and forwards it to the server you specified.<br />
<br />
Although Tor is considerably safer than the direct connections used more commonly, it can be considerably slower due to the large amount of traffic re-routing. There is a also the chance that the last node your traffic goes through en route can read your message after decryption, but this is not believed to be common.<br />
<br />
== Installing necessary packages ==<br />
To use the Tor network, you need the Tor package and the Privoxy package. These packages allow you to use the Tor network with your web browser.<br />
<br />
pacman -S tor privoxy<br />
<br />
== Basic configuration ==<br />
<br />
Edit /etc/privoxy/config<br />
<br />
forward-socks4a / localhost:9050 . # Don't forget the '.' at the end!<br />
<br />
Privoxy's default configuration logs all GET, POST, and CONNECT HTTP requests. to disable, comment out.<br />
<br />
#debug 1 # show each GET/POST/CONNECT request<br />
<br />
=== Binding Privoxy to the local network, eg. ===<br />
<br />
listen-address 192.168.0.1:8118<br />
<br />
=== Starting service on boot ===<br />
<br />
Edit /etc/rc.conf<br />
<br />
DAEMONS=(.. privoxy tor ..)<br />
<br />
=== Starting service ===<br />
<br />
/etc/rc.d/privoxy start<br />
/etc/rc.d/tor start<br />
<br />
== Internet relay chat via irssi ==<br />
<br />
torify irssi<br />
<br />
=== Map address to hidden service ===<br />
<br />
Edit /etc/tor/torrc<br />
<br />
mapaddress 10.40.40.40 mejokbp2brhw4omd.onion # freenode<br />
<br />
=== Connect to freenode's hidden service ===<br />
<br />
torify irssi -c 10.40.40.40<br />
<br />
== Running a Tor Server ==<br />
<br />
=== Basic configuration ===<br />
<br />
You should at least share 20kb/s.<br />
<br />
Nickname <tornickname><br />
ORPort 9001<br />
BandwidthRate 20 KB # Throttle traffic to 20KB/s<br />
BandwidthBurst 50 KB # But allow bursts up to 50KB/s<br />
<br />
=== Allow irc ports 6660-6667 to exit from node ===<br />
<br />
ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more<br />
<br />
=== Running Tor as an exit node ===<br />
<br />
ExitPolicy accept *:119 # accept nntp as well as default exit policy<br />
<br />
=== Running Tor as middleman ===<br />
<br />
ExitPolicy reject *:*</div>Mardocthttps://wiki.archlinux.org/index.php?title=Tor&diff=82948Tor2009-11-10T23:02:04Z<p>Mardoct: /* Introduction */</p>
<hr />
<div>{{stub}}<br />
{{merge|Proxy routing with Tor and Privoxy}}<br />
[[Category:Networking (English)]]<br />
[[Category:HOWTOs (English)]]<br />
== Introduction ==<br />
<br />
Tor is a free implementation of 2nd generation onion routing - essentially, it is an anonymous proxy network. Its primary goal is to protect its users against traffic analysis attacks.<br />
<br />
Onion routing is a method of networking traffic for end-user anonymity. It keeps you anonymous by encrypting traffic, sending it through other nodes of the Tor network, and the last node to receive your traffic decrypts it and forwards it to the server you specified.<br />
<br />
Although Tor is considerably safer than the direct connections used more commonly, it can be considerably slower due to the large amount of traffic re-routing. There is a also the chance that the last node your traffic goes through en route can read your message after decryption, but this is not believed to be common.<br />
<br />
== Installing necessary packages ==<br />
<br />
pacman -S tor privoxy<br />
<br />
== Basic configuration ==<br />
<br />
Edit /etc/privoxy/config<br />
<br />
forward-socks4a / localhost:9050 . # Don't forget the '.' at the end!<br />
<br />
Privoxy's default configuration logs all GET, POST, and CONNECT HTTP requests. to disable, comment out.<br />
<br />
#debug 1 # show each GET/POST/CONNECT request<br />
<br />
=== Binding Privoxy to the local network, eg. ===<br />
<br />
listen-address 192.168.0.1:8118<br />
<br />
=== Starting service on boot ===<br />
<br />
Edit /etc/rc.conf<br />
<br />
DAEMONS=(.. privoxy tor ..)<br />
<br />
=== Starting service ===<br />
<br />
/etc/rc.d/privoxy start<br />
/etc/rc.d/tor start<br />
<br />
== Internet relay chat via irssi ==<br />
<br />
torify irssi<br />
<br />
=== Map address to hidden service ===<br />
<br />
Edit /etc/tor/torrc<br />
<br />
mapaddress 10.40.40.40 mejokbp2brhw4omd.onion # freenode<br />
<br />
=== Connect to freenode's hidden service ===<br />
<br />
torify irssi -c 10.40.40.40<br />
<br />
== Running a Tor Server ==<br />
<br />
=== Basic configuration ===<br />
<br />
You should at least share 20kb/s.<br />
<br />
Nickname <tornickname><br />
ORPort 9001<br />
BandwidthRate 20 KB # Throttle traffic to 20KB/s<br />
BandwidthBurst 50 KB # But allow bursts up to 50KB/s<br />
<br />
=== Allow irc ports 6660-6667 to exit from node ===<br />
<br />
ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more<br />
<br />
=== Running Tor as an exit node ===<br />
<br />
ExitPolicy accept *:119 # accept nntp as well as default exit policy<br />
<br />
=== Running Tor as middleman ===<br />
<br />
ExitPolicy reject *:*</div>Mardoct