Hot answers tagged

2

to create a folder in etc you must use root permissions.. use this instead sudo mkdir dir1 if you need access to that after .. you will always have to sudo or you will have to change permissions of the folder or files within


2

I think you've missed the step of making samba users, which are different to your normal system users. They can be created with the same names and passwords though. Try the following command for each username: sudo smbpasswd -a <username> You'll be prompted for the password twice, like with normal system users. After you've completed this step, ...


1

You are entirely able to kill the process, but it seems to be starting itself again. If you notice, the PID is changing each time that you kill it. Something on your system is automatically starting it on your behalf. You have a couple of options: Seek and destroy whatever is starting it (usually some sort of web control panel like XAMPP, probably in this ...


1

Since you as well asked how to do it the cool way (ssh) I'll cover that, only thing for you to find out is how to get ssh on your MAC since I have never touched and never will touch one. 1. Preparation: Open virtualbox and go into the preferences via menu, go to the network tab and click on the little plus icon under host only networks, this will add an ...


1

Edit: upon re-reading your question I surmise that your server is behind a firewall that you do not control? If so, please disregard the iptables part of the answer and skip to the SSH config part... Is it a matter of wanting the transport to be encrypted, or is it simply a matter of getting through the firewall? Getting through the firewall could be as ...


1

In this case I'd suggest that you use the following command on the machine without internet: apt-get --print-uris --yes install build-essential | grep ^\' | cut -d\' -f2 >downloads.list This will produce an output file in the current directory called downloads.list containing the download URL for all the packages apt needs to install the ...


1

To run Jenkins every time you restart the server with the option to relax the content security policy, run it as a service with the options you require. Download jenkins.war file to any convenient destination, eg. /home/jenkins_user Create service file /etc/systemd/system/jenkins.service specifying the relaxed security policy Reload service manager: ...


1

After what feels like an eternity of deep diving into Google and trial and error, I finally got this figured out. Here are the steps I took relative to the steps I outlined in the question: Removed the script in the blogpost referenced in the question In the crossfire of trial and error, ended up removing ifconfig eth0 0.0.0.0 down from ...


1

You can install the Xorg server by typing (as root): apt-get install xorg This will only install Xorg though. It will not install a complete DE. If you want to install a complete DE, choose one of the available ubuntu variants without installing xorg manually: apt-get install ubuntu-desktop or apt-get install xubuntu-desktop or apt-get install ...


1

I still can't imagine what went wrong, but running sudo zfs mount -a fixed the issue (as mentioned above, the ZFS datasets did exist--as evident by their use of storage--they were just unmounted for some reason) for every container not running. Stopping www-server, I could fix its mountpoint as well with the same command, then start it again. N.B. If ...


1

Since I can't comment your post (not enough reputation) I'm posting as an answer. I would like to tell you that I got the same issue with all my Xenial container servers (5). To add more information to our issue, the mounts do not appear anymore when you type mount. If you type zfs mount -a it only mounts back the non-running containers, with running ...


1

Fixed by purging both apache and php. Only removing php was not sufficient. I'm not sure that this is the best way to do it, but it worked: sudo service apache2 stop sudo apt-get remove --purge apache2 apache2-utils apache2-bin php* sudo apt-get autoremove And this is what I used to reinstall everything: http://askubuntu.com/a/762161/411578



Only top voted, non community-wiki answers of a minimum length are eligible