Unfortunately, I could not find my gpg.conf file anywhere. So in order to get a hardened gpg configuration file, I downloaded a Hardened gpg.conf file from Dr.Duh's github page at github.com/drduh/config/blob/master/gpg.conf
Then I modified it to include the keyservers of my desire, in the order I want Mac OS to read them, with the keyserver at the top, ...
These routes are created automatically because you have declared the following in your netplan yaml:
If you don't want there to be routes to these networks on the vlan10 interface, you can simply not declare them.
Hmmm. Do you have physical access to the server? If so I'd hook up a monitor and keyboard, and boot into emergency mode if possible. (Add a "1" no quotes to the end of the kernel line.) This should allow you to enter the password of any user with sudo permissions, even if the root user password is disabled.
Then, you can edit the firewall config ...
There is no tested and supported path from 20.04 to 21.04 nor to 21.10. There are a lot of hacks of varying quality.
Recommended: The simplest, safest, and fastest path is to back up your data and services, then install 21.10 Server over the older Desktop system.
The backup is in case you select the wrong option during install; if you select the correct ...
If you have a shared space, then the directory will be visible to other users.
But you can give users read, write, and executable access exclusively using chmod.
Which will essentially not let them read the contents of the files.
I suggest you read this, it will give you an idea of how permissions work in Linux. Click Me.
The correct answer is:
/ 500 gb (which is used by /tmp, /var, and /home. /Home is your long term storage whereas /tmp and
/Var are short term; it stores almost everything so make it big. By also making it big, you
Enable your computer to work with say a 498 gb file, so you could download afike that huge.
/Swap (2gb ...
NOTE: This assumes that you use the convention of adding the ~ suffix to backups. If you use something else, you need to change the find argument accordingly. For example, if you use, If you instead of something like .bak, the *~ should instead be .bak.
sudo find /sites -type f -name '*~'
and look through the output. If you are ...
changes the admin password (that is the user used to create the system with) not the password for root. Anything related to root does not require sudo and will mess things up (as Ubuntu expects you meant the admin user when using sudo).
change the root password.
You change to root using
(requires the admin password) and then change ...
In my case, therefor I install mongodb 4.0 so when I remove it but not data then mongodb 5 can not use this. These is my steps:
1. sudo tail -40 /var/log/mongodb/mongod.log and read somes log relative to mongodb "This version of MongoDB is too recent to start up on the existing data files. Try MongoDB 4.2 or earlier."
2. cd /var/lib/mongodb and ...
I am satisfied that my question...my problem...has been answered and solved. heynnema's solution, to use STARTTLS is working for me. Thank you to all who responded and worked on this, for me. –
A partition boundary introduced with UEFI. It aligns the partitions.
You did not find this one?
msgid "BIOS grub spacer"
It is partition type 81.
It says you don't have permission to connect to the socket unix:///var/run/docker.sock
Simply, to provide permission you can do:
sudo chown $USER /var/run/docker.sock
Then continue with your other docker commands like docker pull hello-world
If you want don't want to type sudo before every docker command, you might want to add the currently logged-in ...
I figured it out, this answer is just to help anyone who may have the same problem. This way is probably not so secure, with 3306 open, but a) I only have homework b) you still need the user name and password.
When you create a user on mysql it looks something like this, also when you do it via ssh on the server:
CREATE USER 'peter'@'localhost' IDENTIFIED ...
Unless you are uploading files via the command line interface (CLI), this may not be the file you’re looking for. Apache uses the php.ini file found in /etc/php/7.4/apache2.
SSH into to your server (if you’re not already connected)
Edit the file with your preferred text editor and sudo:
sudo vi /etc/php/7.4/apache2/php.ini
If you choose to use vi like in ...
In the file 01-network-manager-all.yaml remove all except this lines:
sudo netplan generate
sudo netplan try
This should revert your changes until reboot.
I removed Windows from a dual boot setup and I also had this lingering Windows entry in the grub menu.
What finally worked to get rid of it was either one of these two things, or the combination of them:
going into /boot/efi/EFI/Microsoft/Boot and renaming
bootmgfw.efi to just bootmgfw
using efibootmgr to remove the Windows entry
I did them on the same ...
I don't have definitive confirmation, but I do have quite a bit of observational confirmation that this was a result of the Ubunut 151 kernel release. I was able to easily reproduce the issue while running 151 but after downgrading to any previous version I could not. One unfortunate side affect was the persistence of the damage. The kernel crash itself was ...
Hi all I found the answer to this:
" *.cvpn-endpoint-xxxxxxxxxxxxxxxx.prod.clientvpn.us-xxxx-1.amazonaws.com "
The asterisk (*) represents "[random-string-here]"
" vpn.cvpn-endpoint-xxxxxxxxxxxxxxxx.prod.clientvpn.us-xxxx-1.amazonaws.com "
Then I referenced that target in my CNAME registration. It resolves perfectly.
I had a similar problem and now I see that the problem is with the udp6:[::1]:161 (I assume an ipv6 address). Remove this and then restart service snmpd and the error should go and you get an active state.
I figured it out. I looked through the documentation on on Apache.org to follow through what was supposed to happen when Apache starts. There is a script located in /usr/sbin/ called apachectl. In the 2.4.48 version, line 78 looks like this:
In the 2.4.49 and later versions, this line looks like this:
As this is an EC2 question, the short answer is “No, you do not need to delete the default user”.
There are two primary reasons for this:
Port 22 should be limited via the security policy that the EC2 instance(s) are using. If SSH is open to 0.0.0.0 then something needs to be changed. Immediately.
Even if people know the account name, they will need the ....
On Ubuntu Server, without guest additions, manually mount the shared folder on the guest, e.g.:
sudo mount -t vboxsf FolderNameInVBoxSettings /mnt/sharedfolder
If the above works fine, add a corresponding entry in /etc/fstab to make it permanent.
Let me share what has worked for me in two different setups, ...
I used to be a storage engineer working for a storage vendor; if you were a storage admin with my company's storage array hardware, I'm the guy my company would send to fix any problems that stumped the storage admin.
Link down means no FC protocol. There may be light going back and forth, but the two sides are not talking.
If you have a loopback adapter, ...
The path to the shared directory needs to allow "read access".
so if the path the samba shared directory is
then do this
sudo chmod o+rx /dir1
In linux, a user needs Execute permission (+x) on a directory to traverse it on the way to the final directory.
I added the Java repository with sudo add-apt-repository ppa:linuxuprising/java, then used sudo apt-get update, and finally used sudo apt install openjdk-17-jdk to get the newest version of Java. I then proceeded to run the server and the status shows that it is working. I also am able to connect from my Minecraft client.
Tho the question looks fairly different the answer is the same as
in my case it's working fine after changing these lines in /etc/hosts:
127.0.0.1 myserver localhost localhost.localdomain
127.0.1.1 myserver localhost localhost.localdomain
This is how I fixed this problem.
At first you need to stop the Apache2 service and uninstall it completely :
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove --purge
After that restart your machine and only then install Apache2 again :
sudo apt install apache2
I ran into into a similar issue. At the moment it doesn't look like netplan supports can interfaces, which is a bit of a bummer. I did find, though, that systemd-networkd does support can and vcan interfaces. The following is untested - I'm waiting for CAN hardware to arrive - but should work.
Add the can modules to /etc/modules so that they get loaded ...
If I want to create a private enviroment for each one of them, so that everything that they install will not be shared...
This looks like the classic use cases for Containers and Virtual Machines.
Both LXD containers and Virtual Machines look --to the remote user-- like an independent system. They do not have access to software on the host system. They can ...
I would not try to install other versions of software on a server - too often you need to change dependencies as well. But you could provide a docker image that has the right "version" of ubuntu and configure the appropriate software your user needs.
Thats one of the main advantages of docker - install any software version without spoiling your ...
Regardless of Virtualization, "Ubuntu Server" and "Ubuntu Desktop", both have a difference.
The core system is same, but Server version is optimized for server usage such as Web server ,DB server and etc. And most important thing is Server version has no Desktop Environment installed. This makes computer use less resource.
Documentation for autoinstall file is not great
use layout: direct and let it automatically try to figure out what your partitioning should be
do a config: section with your desired setup
If you do both layout and config in the storage section... it will only use the layout and ignore the config section
There can be a scenario where your apache service is stopped but even then what you are seeing is the /var/www/html directory as root and apache webpage. This is because of the directories in nginx - /etc/nginx/sites-enabled/ (consists of enabled virtual hosted servers) and /etc/nginx/sites-available/ (consists of available virtual hosted servers). One ...
Not sure I understood clearly what you mean by 'open multiple shared folders ' but I suppose you mean that if user1 is working on project1, he should have access rights to folder 'project1' and to all other project having other subfolders. I would use the unix groups for that.
Create a group and put all required users in that group:
sudo groupadd ...
Portable Ubuntu Server
I applied the method by N0rbert to Ubuntu Server installed from the file
The following method makes the installed server's network portable between computers. I installed it in a Toshiba laptop and tested it in a Dell Latitude E7240 and a Lenovo V130.
The main difference compared to the ...
Short answer: Yes you can, but no you shouldn't.
Long answer: It depends :)
Most SAN LUNs are RAID protected on the storage array. Check with your storage team. If your SAN LUNs are not RAID protected on the storage array, this answer doesn't apply.
RAID (other than RAID-0 striping, server side) on RAID (storage array side) is never a good thing.