### Install Lantern on Ubuntu
Source: https://github.com/getlantern/lantern/wiki/Installation:-Linux
This snippet details the commands required to install Lantern on Ubuntu. It involves changing directory, making the script executable, and running the installer with sudo privileges. It also notes potential dependencies like Java.
```Shell
cd Downloads/
chmod 700 lantern-net-installer_unix.sh
sudo ./lantern-net-installer_unix.sh
```
--------------------------------
### Install Lantern on Ubuntu
Source: https://github.com/getlantern/lantern/wiki/安装:Linux
This snippet details the steps to download and execute the Lantern network installer script on Ubuntu. It includes changing file permissions and running the script with sudo. It also mentions potential dependencies like Java.
```Shell
cd Downloads/
chmod 700 lantern-net-installer_unix.sh
sudo ./lantern-net-installer_unix.sh
```
--------------------------------
### Compile Lantern from Source
Source: https://github.com/getlantern/lantern/wiki/安装
Instructions for compiling Lantern from its source code if your operating system is not yet supported. This process requires setting up a development environment.
```Markdown
If your system platform has not yet been supported by Lantern, you can [compile and install from source code](https://github.com/getlantern/lantern/blob/master/README.md#setting-up-a-development-environment).
```
--------------------------------
### Direct Link to Lantern on App Store
Source: https://github.com/getlantern/lantern/wiki/iOS
A direct URL to download the Lantern application from the Apple App Store. Users can also search for 'Lantern' in the App Store.
```url
https://apps.apple.com/app/id1457872372?l=zh_cn
```
--------------------------------
### Releasing Program Code Examples
Source: https://github.com/getlantern/lantern/wiki/LICENSE.txt
Recommends a best practice for including program code examples within documents licensed under the GNU FDL. It suggests releasing these examples under a free software license like the GNU General Public License to facilitate their use in free software projects.
```text
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.
```
--------------------------------
### Configure Hosts File for Testing
Source: https://github.com/getlantern/lantern/wiki/[developers]-QA-Scripts
This snippet demonstrates how to modify the /etc/hosts file to simulate Google services being blocked, a key step in testing Lantern's fallback proxy functionality in 'Get Mode'.
```bash
0.0.0.0 talk.google.com
0.0.0.0 accounts.google.com
0.0.0.0 google.com
```
--------------------------------
### Check for Latest Lantern Version
Source: https://github.com/getlantern/lantern/wiki/iOS
Instructions to check the GitHub repository for the latest version number of Lantern. This is important for ensuring the app is up-to-date and may require re-downloading.
```url
https://github.com/getlantern/lantern
```
--------------------------------
### Uninstall Lantern from Ubuntu
Source: https://github.com/getlantern/lantern/wiki/安装:Linux
This snippet describes the process of uninstalling Lantern from an Ubuntu system. It involves navigating to the installation directory and executing the uninstall script.
```Shell
cd /usr/local/lantern-net-installer/
sudo ./uninstall
```
--------------------------------
### Locate Lantern Pi with nmap
Source: https://github.com/getlantern/lantern/wiki/Lantern-Pi-Instructions
Uses the nmap command-line tool to scan the local network for devices, specifically to locate the Lantern Pi if it's not automatically appearing.
```Shell
nmap -sn 192.168.1.0/24
```
--------------------------------
### Download Lantern for Linux (64-bit)
Source: https://github.com/getlantern/lantern/blob/devel/README.zh.md
Offers download links for the Lantern installer in .deb format for 64-bit Linux systems, specifically Ubuntu 14.04+. Includes stable and preview versions.
```html
```
--------------------------------
### Example fallback.json Configuration
Source: https://github.com/getlantern/lantern/wiki/Updating-your-Fallback-Proxy-Settings
This JSON snippet shows the structure of the fallback.json file, including fields for IP address and port, which can be modified to configure a new fallback proxy.
```json
{
"ip" : "54.254.96.14",
"port" : 16589
}
```
--------------------------------
### Uninstall Lantern from Ubuntu
Source: https://github.com/getlantern/lantern/wiki/Installation:-Linux
This snippet outlines the commands to uninstall Lantern from an Ubuntu system. It requires navigating to the uninstallation directory and executing the uninstall script with sudo.
```Shell
cd /usr/local/lantern-net-installer/
sudo ./uninstall
```
--------------------------------
### iOS App Store Account Credentials
Source: https://github.com/getlantern/lantern/wiki/iOS
Provides temporary Apple ID credentials for downloading Lantern from non-China App Stores. Users are advised to use these accounts only for downloading and to avoid logging into iCloud with them to protect personal information.
```text
xma37k8@icloud.com
uj4dvt0@icloud.com
xjamc96@icloud.com
d8u217n@icloud.com
f3uz3z1@icloud.com
o88937e@icloud.com
d4r6j78@icloud.com
ev4e595@icloud.com
er683ag@icloud.com
wwrld02@icloud.com
qw4zwnj@icloud.com
my2k79z@icloud.com
Password 密码:Ee778877
```
--------------------------------
### Download Lantern for Linux (32-bit)
Source: https://github.com/getlantern/lantern/blob/devel/README.zh.md
Provides download links for the Lantern installer in .deb format for 32-bit Linux systems, specifically Ubuntu 14.04+. Includes stable and preview versions.
```html
```
--------------------------------
### Download Lantern for Windows
Source: https://github.com/getlantern/lantern/blob/devel/README.zh.md
Provides direct download links for the Lantern installer on Windows. Includes links for Windows 10+ (stable and preview) and Windows 7.
```html
```
--------------------------------
### Lantern Uninstallation - Remove Configuration
Source: https://github.com/getlantern/lantern/wiki/Installation:-Mac
To fully uninstall Lantern, you can remove the '.lantern/' directory from your home directory. This action ensures that any previous Lantern setup is cleared, and prompts for setup upon reinstallation. If this directory is left intact, Lantern will resume with the existing configuration upon restart.
```shell
rm -rf ~/.lantern/
```
--------------------------------
### Temporary Apple IDs for Lantern iOS Download
Source: https://github.com/getlantern/lantern/wiki/蓝灯iOS安装使用教程
Provides a list of temporary Apple IDs that can be used to download the Lantern application from the US App Store. Users are advised to use these accounts only for downloading and to log out immediately afterward to protect their privacy.
```text
Password 密码:Aa112211
r71ecd09@icloud.com
o705ee6c@icloud.com
e263b4cb@icloud.com
z7c1bcff@icloud.com
kpy38615@icloud.com
i364881b@icloud.com
jcy88132@icloud.com
qzs89819@icloud.com
m6e19cde@icloud.com
cw253790@icloud.com
hsw95774@icloud.com
be5e4fd0@icloud.com
tedd11d7@icloud.com
lsm62656@icloud.com
dgc59208@icloud.com
gcfcd2e0@icloud.com
m6526973@icloud.com
uff8dbc1@icloud.com
qb781f32@icloud.com
ywj68542@icloud.com
```
--------------------------------
### Formatting a Site List for Lantern Wiki
Source: https://github.com/getlantern/lantern/wiki/Proxied-sites-configuration
This shows the required format for pasting a list of proxied sites into a new page on the Lantern Proxied Sites List Wiki. Each site should be on a new line, enclosed by triple backticks.
```markdown
```
site1.com
site2.com
site3.com
```
```
--------------------------------
### Download Lantern for macOS
Source: https://github.com/getlantern/lantern/blob/devel/README.zh.md
Provides direct download links for the Lantern installer DMG file for macOS. Supports macOS 10.13+ for stable and preview versions.
```html
```
--------------------------------
### Troubleshoot Chrome Proxy Settings
Source: https://github.com/getlantern/lantern/wiki/Home
This guide helps resolve issues where Chrome's proxy settings might be managed by other software. It instructs users to verify Chrome's proxy configuration via `chrome://net-internals/#proxy` and ensure it matches Lantern's advanced settings, or to check and fix other software or Chrome extensions interfering with proxy settings.
```text
Navigate to chrome://net-internals/#proxy to verify proxy settings match Lantern's advanced settings. Check for interfering software or Chrome proxy extensions.
```
--------------------------------
### Documenting with GNU FDL
Source: https://github.com/getlantern/lantern/wiki/LICENSE.txt
Provides instructions on how to incorporate the GNU Free Documentation License into your own documents. It specifies the copyright and permission notices to be included, and how to handle invariant sections, front-cover texts, and back-cover texts.
```text
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
```
```text
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
```
--------------------------------
### Configure Manual Proxy on Mac
Source: https://github.com/getlantern/lantern/wiki/_User-Guide_scraps
Instructions for setting up a manual web proxy on macOS through System Preferences. This involves specifying the proxy server address and port.
```text
Mac: System Preferences -> Network -> Advanced -> Proxies.
Select "Web Proxy (HTTP)" and then enter 127.0.0.1 for the server and
whatever port is set in your Lantern Dashboard in the [Settings
panel](#dashboard-settings).
```
--------------------------------
### GitHub Pull Request for List Contribution
Source: https://github.com/getlantern/lantern/wiki/Proxied-sites-configuration
This describes the process of contributing a new list of proxied sites to the Lantern repository using GitHub. It involves forking the repository, creating a new file for the list, and submitting a pull request for review and merging.
```bash
git clone https://github.com/getlantern/lantern-proxied-sites-lists.git
cd lantern-proxied-sites-lists
# Create a new file, e.g., china/my-list.txt
# Add your list of sites to the file
git add .
git commit -m "Add new site list"
git push origin
# Then create a pull request on GitHub
```