Can anyone tell me how to setup our own TOR private network in linux? - tor

I need to setup my own TOR private network but I am not able to find any useful link. Please let me know if you have asap.

Open a terminal window.
Type in the following commands then hit Enter after each.
sudo add-apt-repository ppa:webupd8team/tor-browser
sudo apt-get update
sudo apt-get install tor-browser
Tell me how it goes

Related

apt-get install build-essential

I am writing bash script for vps server. I got this problem:
I need to install the build-essential package by script.
Command using in script:
eval 'apt-get install build-essential'
I coped with the problem (yes / no), found the -y switch for apt-get.
eval 'apt-get -y install build-essential'
But how to get around the second problem?:
(Enter the items or ranges you want to select, separated by spaces.)
Which services should be restarted?
I don't have to choose anything. A simple press of Enter would solve the problem!
So, any
echo, echo "\r", yes | apt-get -y install build-essential
does not working and my ideas are over!
I figured out how to solve this problem! The reboot service selection menu pops up on Ubuntu 22.04. I installed 20.04 and
and there is no menu. Might be useful for someone!

cloudcompare mount hard drive issue

I tried to mount other hard drive in CloudCompare, and tried the link and the command already, but still didn't work.
Could someone tell me how to fix it? thx
https://www.danielgm.net/cc/forum/viewtopic.php?f=12&t=2376
sudo snap connect cloudcompare:removable-media :removable-media
I use CloudCompare v2.10.1, and the code works for me.
sudo snap refresh -- stable
snap install cloudcompare
sudo snap refresh
sudo snap connect cloudcompare:removable-media :removable-media

Tomoyo profile doesnt exist

I have installed on my Vbox Parrot-Security 32bit
After a day, I got error while booting machine.
/dev/sda1: clean, 450934/1523712 files 3510770/6092032 blocks
I got :
TOMOYO: Default profile doesn't exist.
TOMOYO: Select a profile from the following list.
After this its looks it want input but when i type help, ? , /? , --help, -h its says:
TOMOYO: Select a profile from the following list.
disable
Anyone know what happened and how I can fix this?
I bypassed this by presing 'e' in GNU GRUB and in line which starts with linux i changed (ro initrd=/install/...) with rw init=/bin/bash (run this with ctrl-x)and when shell starts I run exec /sbin/init.
I saw in boot editor in linie linux ... there is:
security=tomoyo i could change that or no?
when you boot parrot you will see error type this:
1- disable
2- sudo apt install parrot-core
3- sudo apt autoremove
4- sudo apt autoclean
5- sudo apt update && sudo apt dist-upgrade
6- sudo reboot
after rebooting you will be a little bit confused because you will notice some changes in terminal fonts and some icons, etc..
Don't worry this an update and we all got it after updating Parrot.

Reset Realm Object Server on Linux

Can I ask that are there any scripts in Linux that similar to reset-server-realms.command on Mac that can delete all realms on server. Actually I need to reset the server and clean it before use the application officially. I try to uninstall regarding to the guides on Realm website but somehow the old data still comes up.
Thanks
Uninstalling the package doesn't remove any data. This is done on purpose, so that the upgrade process of RPMs and debs works properly.
We don't provide a script, but the easiest way to wipe everything is simply to run:
sudo rm -rf /var/lib/realm
# CentOS
sudo yum remove realm-object-server-de
sudo yum install realm-object-server-de
# Ubuntu
sudo apt-get install --reinstall realm-object-server-de
Please note that this will preserve your configuration, still. The configuration is stored in /etc/realm.

Cant apt-get remove or apt-get install | fopen permission denied

So out of no where I was unable to SSH into my headless linux box.
So I hooked up a screen and started tooling with it.
My server is still fully functional and the box seems in tact. I just wouldn't let me SSH in.
So I tried follow a few online tutorials on adding my IP to the SSH allow file but nothing seemed to work.
I kept getting
"Network Connect: Connection Refused"
when attempting to SSH in with putty.
So I decided to nuke the iptables and do
sudo apt-get remove --purge iptables
which resulted in a failure.
Something like this
"processing tables for mandb " "fopen permission denied"
So I tried doing
sudo apt-get install iptables
which it said the same fopen error.
End result is my server is up and running but I have no ssh capabilities into my box. On that note though I do still have an active samba connection. Take that for what its worth.
The fopen permission denied thing when doing apt-get or dpkg, is very often a sign that your manpages cache at /var/cache/man is owned by root:root instead of man:root. Try changing this with
chown -R man:root /var/cache/man
I followed the instructions below and the problem was solved. I hope it works for you.
sudo apt autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

Resources