Guest User

Untitled

a guest
Jul 12th, 2015
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.87 KB | None | 0 0
  1. lubuntu@lubuntu:~$ wget https://github.com/spring/uberserver/archive/master.zip
  2. --2015-07-12 11:18:15-- https://github.com/spring/uberserver/archive/master.zip
  3. Resolving github.com (github.com)... 192.30.252.131
  4. Connecting to github.com (github.com)|192.30.252.131|:443... connected.
  5. HTTP request sent, awaiting response... 302 Found
  6. Location: https://codeload.github.com/spring/uberserver/zip/master [following]
  7. --2015-07-12 11:18:15-- https://codeload.github.com/spring/uberserver/zip/master
  8. Resolving codeload.github.com (codeload.github.com)... 192.30.252.146
  9. Connecting to codeload.github.com (codeload.github.com)|192.30.252.146|:443... connected.
  10. HTTP request sent, awaiting response... 200 OK
  11. Length: unspecified [application/zip]
  12. Saving to: ‘master.zip’
  13.  
  14. master.zip [ <=> ] 85.28K 299KB/s in 0.3s
  15.  
  16. 2015-07-12 11:18:16 (299 KB/s) - ‘master.zip’ saved [87324]
  17.  
  18. lubuntu@lubuntu:~$ unzip master.zip
  19. Archive: master.zip
  20. 096b88fa8e70c3e29f18083e11e3f2655934f492
  21. creating: uberserver-master/
  22. inflating: uberserver-master/.gitignore
  23. inflating: uberserver-master/.travis.yml
  24. inflating: uberserver-master/BaseClient.py
  25. inflating: uberserver-master/ChanServ.py
  26. inflating: uberserver-master/Client.py
  27. inflating: uberserver-master/CryptoHandler.py
  28. inflating: uberserver-master/DataHandler.py
  29. inflating: uberserver-master/LICENSE
  30. inflating: uberserver-master/NATServer.py
  31. inflating: uberserver-master/README.md
  32. inflating: uberserver-master/SQLUsers.py
  33. inflating: uberserver-master/SayHooks.py
  34. inflating: uberserver-master/TestLobbyClient.py
  35. inflating: uberserver-master/XmlRpcServer.py
  36. inflating: uberserver-master/XmlRpcTestClient.py
  37. inflating: uberserver-master/agreement.txt
  38. creating: uberserver-master/docs/
  39. inflating: uberserver-master/docs/ChanServCommands.html
  40. inflating: uberserver-master/docs/TODO.txt
  41. inflating: uberserver-master/docs/propertymap.txt
  42. inflating: uberserver-master/ip2country.py
  43. inflating: uberserver-master/motd.txt
  44. creating: uberserver-master/protocol/
  45. inflating: uberserver-master/protocol/AutoDict.py
  46. inflating: uberserver-master/protocol/Battle.py
  47. inflating: uberserver-master/protocol/Channel.py
  48. inflating: uberserver-master/protocol/Protocol.py
  49. extracting: uberserver-master/protocol/__init__.py
  50. creating: uberserver-master/scripts/
  51. inflating: uberserver-master/scripts/build_exe.py
  52. inflating: uberserver-master/scripts/fetch_deps.py
  53. inflating: uberserver-master/server.py
  54. inflating: uberserver-master/stacktracer.py
  55. inflating: uberserver-master/stresstest.py
  56. inflating: uberserver-master/twistedserver.py
  57. inflating: uberserver-master/updates.txt
  58. creating: uberserver-master/www/
  59. extracting: uberserver-master/www/getip.php
  60. lubuntu@lubuntu:~$ cd uberserver-master
  61. lubuntu@lubuntu:~/uberserver-master$
  62. lubuntu@lubuntu:~/uberserver-master$ sed -i "s#urlopen('http://springrts.com/lobby/getip.php').read()#'8.8.8.8'#" DataHandler.py
  63. lubuntu@lubuntu:~/uberserver-master$ sed -i "s#allowed = False#allowed = True#" protocol/Protocol.py
  64. lubuntu@lubuntu:~/uberserver-master$ sed -Ei "s#(def in_LOGIN.*)#\1\n\t\tself.userdb.legacy_register_user(username, password, client.ip_address, client.country_code)#" protocol/Protocol.py
  65. lubuntu@lubuntu:~/uberserver-master$ sed -i "s#(client.access == 'agreement'#(client.access == 'agreement_disabled'#" protocol/Protocol.py
  66. lubuntu@lubuntu:~/uberserver-master$ sudo apt-get install python-sqlalchemy python-pycryptopp python-twisted
  67. Reading package lists... Done
  68. Building dependency tree
  69. Reading state information... Done
  70. python-sqlalchemy is already the newest version.
  71. python-twisted is already the newest version.
  72. python-pycryptopp is already the newest version.
  73. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  74. lubuntu@lubuntu:~/uberserver-master$ ./server.py
  75. Couldn't load /usr/share/GeoIP/GeoIP.dat: No module named GeoIP
  76. Hint: apt-get install geoip-database python-geoip
  77. Error parsing profanity list: [Errno 2] No such file or directory: 'bad_words.txt'
  78. Error parsing shock site list: [Errno 2] No such file or directory: 'bad_sites.txt'
  79.  
  80. Detecting local IP:
  81. 127.0.1.1
  82. Detecting online IP:
  83. 8.8.8.8
  84.  
  85. ----------------------------------------
  86. Starting uberserver...
  87.  
  88. Awaiting UDP messages on port 8201
  89. Using 25 client handling thread(s).
  90. Listening for XMLRPC clients on 127.0.0.1:8300
  91. Multiple threads are not supported with sqlite, forcing a single thread
  92. Please note the server performance will not be optimal
  93. You might want to install a real database server
  94.  
  95. [0] Successfully logged in static user <ChanServ>
  96. [1] Client connected from 8.8.8.8:33381
  97. [1] Successfully logged in user <YourName> (access=agreement).
Advertisement
Add Comment
Please, Sign In to add comment