Advertisement
Anon_Resistance

Linux set up for new users

Mar 21st, 2015
9,144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.23 KB | None | 0 0
  1. Open Terminal and run this command line
  2. Right click then paste ( no ctrl V in terminal ) then enter of course
  3.  
  4. sudo apt-get install network-manager && sudo apt-get -y install network-manager-openvpn && sudo apt-get install network-manager-openvpn-gnome && sudo add-apt-repository ppa:upubuntu-com/tor64 && sudo apt-get update && sudo apt-get install tor-browser && sudo apt-get install macchanger && sudo apt-get -y install default-jre && sudo apt-get -y install default-jdk && sudo apt-get install linux-firmware-nonfree sudo && sudo apt-get install gnome-commander libgnomevfs2-extra gedit &&
  5. sudo apt-get update && apt-get remove openjdk-6-jre && sudo apt-get autoremove && apt-get clean && sudo mkdir -p -v /opt/java/64
  6. cd ~/Downloads
  7. tar -zxvf jre-8u40-linux-x64.tar.gz
  8. sudo mv -v jre1.8.0_40 /opt/java/64
  9. sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.8.0_40/bin/java" 1
  10.  
  11. sudo update-alternatives --set java /opt/java/64/jre1.8.0_40/bin/java
  12. ln -s /opt/java/64/jre1.8.0_40/lib/amd64/libnpjp2.so ~/.mozilla/plugins/
  13. /opt/java/64/jre1.8.0_40/bin/ControlPanel
  14.  
  15.  
  16. You will be asked to enter your password it will not show * or anything just trust it is typing. Enter, It may ask you to confirm a few things I tried to make most of that auto run.
  17. In same terminal run this command
  18. sudo apt-get -y upgrade && sudo apt-get dist-upgrade && sudo apt-get update && sudo apt-get upgrade
  19. Keep terminal open
  20.  
  21. Go to your menu > Administration > Update Manager
  22. Update Manager > Edit > Pref
  23.  
  24. Check: Always check and trust security updates.
  25. Refresh Updates: every 30 min is a little much you can change this to a day
  26.  
  27. Update Manager > View > Linux Kernel
  28.  
  29. Update this to the lastest 3.13.x
  30. DO not use 3.16.x
  31.  
  32. sudo reboot
  33.  
  34. Set up tor browser
  35. Go to tor website and download the latest version for linux 64 or 32 what ever you got
  36. Open your file browser
  37. File System >usr >bin>tor browser
  38. Drop files from archive into here and replace all the old ones.
  39. A tor icon can be found in your menu now it is in the other tab. Right click it and add to panel. Now right click that icon and click edit then hit browse. Navigate to your tor folder from above and select the start tor command.
  40. File System >usr >bin>tor browser>Browser
  41. and select the start-tor-browser command.
  42. Now Open terminal and keep this one open so you only have enter your password once.
  43. sudo chown $USER -Rv /usr/bin/tor-browser/
  44. This will fix permissions. Now tor should work and have the easy launch button
  45.  
  46. VPN configuration
  47. I actually much prefer this way for vpn
  48. Go to the airvpn site and login. Then head to Client Area on the left look for config generator
  49. Select Linux then scroll down to single servers I would pic 3-4 of them different countries
  50. Under the servers check the advanced box, Pick one of these that has eithe TCP or UDP I prefer UDP alt entry port 2018
  51. On the right check seperate cert keys then at the bottom check the 2 boxes and generate and download the tar.gz file open the archive and put them in a folder I prefer the root folder and make a folder called vpn
  52. Now left click your netowrk icon on the task bar and click network connections. Then add then important save vpn config. Now set up one for each ovpn file.
  53. Now to connect just click your network connections and select vpn.
  54. If you want to make it auto connect edit wired connection or your wifi conection from where you are loading in vpn files it is under the general tab a check box you should know what to do here.
  55. Set up i2p and irc
  56. Menu>Admin>Software Manager
  57. search for and install kvirc
  58. Download this
  59. https://geti2p.net/en/download/0.9.18/https/download.i2p2.de/i2pinstall_0.9.18.jar/download
  60. in terminal
  61. cd Downloads
  62. ls
  63. Now copy the i2p file
  64. java -jar “paste file name”
  65. java -jar i2pinstall_0.9.18.jar
  66. Let it install in default should be home/username/i2p
  67. to start i2p use this in terminal
  68. /home/username/i2p/i2prouter start
  69. or
  70. /home/username/i2p/runplain.sh
  71. open kvirc anad do the intial setup
  72. Then creat a new server name it A something so it will be at the top of the list easy to find
  73. make a new network under this server
  74. where it says irc.unknown.net make this 127.0.0.1
  75. click advance>connection make the port 6668
  76. now connect and forget about it for a while it will take a while.
  77. We will come back and set up to browse i2p later when we do other stuff to browser
  78.  
  79.  
  80. Decrease the swap use (important)
  81. Instead of leaf pad use gedit
  82. 1.6. This is especially noticeable on computers with relatively low RAM memory (1 GB or less): they tend to be far too slow in Linux Mint, and Linux Mint accesses the hard disk too much. Luckily, this can be helped.
  83.  
  84. On the hard disk there's a separate partition for virtual memory, called the swap. When Mint uses the swap too much, the computer slows down a lot.
  85.  
  86. Mint's inclination to use the swap, is determined by a setting. The lower the setting number, the longer it takes before Mint starts using the swap. On a scale of 0-100, the default setting is 60. Which is much too high for normal desktop use, and only fit for servers.
  87. Now the how-to:
  88.  
  89. a. Check your current swappiness setting:
  90.  
  91. Menu - Accessories - Terminal
  92. Type (use copy/paste to avoid errors):
  93. cat /proc/sys/vm/swappiness
  94.  
  95. Press Enter.
  96.  
  97. The result will probably be 60.
  98.  
  99. b. Make sure that you have installed the applications gksu and leafpad:
  100.  
  101. Menu - Accessories - Terminal
  102.  
  103. Type (use copy/paste to transport this magical incantation to the terminal):
  104. sudo apt-get install gksu leafpad
  105.  
  106. Press Enter. When prompted, type your password. Your password will remain entirely invisible, not even dots will show, this is normal.
  107. Press Enter again.
  108.  
  109. c. To change the swappiness into a more sensible setting, type in the terminal (use copy/paste):
  110. gksudo leafpad /etc/sysctl.conf
  111.  
  112. Press Enter.
  113.  
  114. Scroll to the bottom of the text file and add your swappiness parameter to override the default. Copy/paste the following blue lines:
  115. # Decrease swap usage to a more reasonable level
  116. vm.swappiness=10
  117.  
  118. d. Save and close the text file. Then reboot your computer.
  119.  
  120. e. After the reboot, check the new swappiness value:
  121. Menu - Accessories - Terminal
  122. Type (use copy/paste):
  123. cat /proc/sys/vm/swappiness
  124.  
  125. Press Enter.
  126.  
  127. Now it should be 10.
  128.  
  129. Note: your machine might benefit from an even bigger decrease in swappiness. A useful rule of thumb might be this:
  130. 1 GB RAM or more: set swappiness to 10
  131. Less than 1 GB RAM: set swappiness to 5
  132.  
  133.  
  134. Bug fixxes
  135. https://sites.google.com/site/easylinuxtipsproject/bugs
  136.  
  137. Things to not do
  138. https://sites.google.com/site/easylinuxtipsproject/fatalmistakes
  139.  
  140. Some software replaces
  141. sudo apt-get remove brasero
  142. sudo apt-get install xfburn
  143. sudo apt-get remove mono-runtime-common
  144.  
  145. Menu - Administration - Software Manager
  146.  
  147. - Query: microsoft
  148.  
  149. - Double-click ttf-mscorefonts-installer for installation and press the Install button.
  150.  
  151. While you are here install orcale virtualbox && VLC
  152.  
  153.  
  154. fixes
  155. https://sites.google.com/site/easylinuxtipsproject/libreoffice
  156.  
  157. https://sites.google.com/site/easylinuxtipsproject/4
  158.  
  159.  
  160.  
  161.  
  162. sudo apt-get install software-properties-common
  163. sudo add-apt-repository ppa:team-xbmc/ppa
  164. sudo apt-get update
  165. sudo apt-get install kodi
  166. sudo add-apt-repository ppa:team-xbmc/ppa && sudo apt-get update && sudo apt-get install kodi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement