Docker apt-get update fails
Question Can somebody help me get apt-get working in my docker container? Whenever I try running any apt-get command in my docker container, the command fails. I'm running Docker version 1.1.1, build bd609d2 on ubuntu 12.04.
When I do
$ sudo docker run -i -t ubuntu:14.04 /bin/bash
# apt-get update
I get errors saying
Could not resolve 'archive.ubuntu.com'
I tried uncommenting the line below in /etc/default/docker
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"…
Read more ⟶Selected directory is not a valid home for JDK - Intellij IDEA on Ubuntu
Question After installing Intellij Idea 14, with OracleJDK 1.8 u25 (64 bit) on my 14.04 Ubuntu system, I cannot configure the Java SDK to use any JDK. When I navigate to Module Settings->SDK and click configure SDK, the add button, and then select /usr/java/jdk1.8.0_25 in the dialog, I get an error popup stating that "The selected directory is not a valid home for JDK."
I've checked the contents of the directory, which contains a bin folder with both java and javac inside, a lib folder and a jre folder.…
Read more ⟶Where does Eclipse look for eclipse.ini under Linux
Question I've just been setting up a Ubuntu workstation and wanted to add some settings to eclipse.ini. When I searched for the file I found:
/etc/eclipse.ini
/usr/lib/eclipse.ini
My questions are:
Does Eclipse actually use both files?
If so, in what order does it read them?
How does it merge them?
Both of the files I found are system wide, is there a location in my home directory I could put one that would effect only my instances?…
Read more ⟶How do I change file permissions in Ubuntu [duplicate]
Question This question already has answers here:
</div>
How do I change permissions for a folder and its subfolders/files? [closed]
(19 answers)
Closed 9 years ago.
In Ubuntu I want to change the file permissions of a whole folder and all its sub folders to read/write by anybody
I have tried sudo chmod 666 /var/www and sudo chmod 755 /var/www without success
update
I have since found that changing privileges can also be done in the GUI by opening nautilus as sudo.…
Read more ⟶List of all users that can connect via SSH [closed]
Question Closed. This question is off-topic. It is not currently accepting answers.
</div>
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I recently started looking at my auth-logs and surprisingly found bots from china trying to bruteforce their way in this (didnt try hard). I went all about changing numerous things that bots would never check, and made harder to bruteforce.…
Read more ⟶mysqldump: Got errno 32 on write
Question I used this script for years on my VPS. And it's still working.
DBLIST=`mysql -uroot -pROOT_PASSWORD -ANe"SELECT GROUP_CONCAT(schema_name) FROM information_schema.schemata WHERE schema_name NOT IN ('information_schema','performance_schema')" | sed 's/,/ /g'`
MYSQLDUMP_OPTIONS="-uroot -pROOT_PASSWORD --single-transaction --routines --triggers"
BACKUP_DEST="/home/backup/db/"
for DB in `echo "${DBLIST}"`
do
mysqldump ${MYSQLDUMP_OPTIONS} ${DB} | gzip > ${BACKUP_DEST}/${DB}.sql.gz &
done
wait
tar -czvf /home/backup/db2/`date +\%G-\%m-\%d`_db.tar.gz ${BACKUP_DEST}
Now I'm moving to another hosting. I 'm trying to use the same script (of course I changed ROOT_PASSWORD with the new credentials) but I don't know why I get this:…
Read more ⟶Open .NET Core 2.0 dump in lldb on Linux - which lldb version?
Question I'm trying to open a .NET Core 2.0 dump on Ubuntu 16.04, following instructions from http://blogs.microsoft.co.il/sasha/2017/02/26/analyzing-a-net-core-core-dump-on-linux/
Dump is created from running process with createdump PID.
I can not determine correct version of lldb.
ldd $(find /usr/share/dotnet -name libsosplugin.so) | grep lldb does not return anything (there is no lldb in the output).
I have tried latest, 3.5 and 3.6, to no avail:
Can not load or initialize libmscordaccore.so. The target runtime may not be initialized.…
Read more ⟶