########################################
#
# LookingGlass is a user-friendly script
# to create a functional Looking Glass
# for your network.
#
# Created by Nick Adams (telephone)
# http://iamtelephone.com
#
########################################
Do you wish to install LookingGlass? (y/n): y
### ###
# Starting install #
### ###
#这一步是检查相关依赖是否安装 没有安装的话会自动安装的
Checking script requirements:
Checking for host...
Checking for mtr...
Checking for ping...
Checking for traceroute...
Checking for sqlite3...
Checking for previous config:
Creating Config.php...
Creating test files:
Test files already exist...
### ###
# Starting configuration #
### ###
Running setup:
#输入网站的名字,会显示在标题和header上
Enter your website name (Header/Logo) []: Xiaomage`s LookingGlass
#输入lookingGlass的URL(你想把LG放在哪,包含http协议头)
Enter the public URL to this LG (including http://) []: https://bbx.xmgspace.me/lg
#服务器位置 可不填
Enter the servers location []: San Jose, LA, USA
#服务器IP 为了放在IP泄露,可不填
Enter the test IPv4 address []:
#IPv6地址 可不填
Enter the test IPv6 address (Re-enter everytime this script is run) []:
#生成测速文件的大小 可不填
Enter the size of test files in MB (Example: 25 50 100) []:
#限制每个IP每小时的测试次数 选n就表示不开启此功能
Do you wish to enable rate limiting of network commands? (y/n): n
#不选择其他主题,主题就一套
Would you like to choose a different theme? (y/n): n
Creating Config.php...
Creating SQLite database...
#输入服务器的用户名或用户组 root一把梭
Enter the username of your webserver (E.g. www-data): root
Enter the user group of your webserver (E.g. www-data): root
Fixing besttrace permissions...
Installation is complete