New answers tagged

0

You can use their install script: sudo -s curl -fsSL https://test.docker.com/ | sh


1

The error you got tells me the DEB you downloaded is most likely corrupt. However, you don't need to go through the whole driver choosing thing from AMD; you can just install the driver using apt-get. Run sudo apt-get install fglrx, reboot and you'll have the correct graphics driver.


1

Finally I could solve it using the GUI of network-manager. Here are the steps that I followed: In the network-manager icon at the top-right of the screen click in Open Edit Connections... and then Add and select Ethernet In the ethernet tab select your network device (enps025 in my case) Go to IPv4 Settings tab, select manual as method, click in add and ...


1

Your configuration is ok and curl results are also ok. The Via 1.1 localhost.localdomain was added by your proxy at 104.224.147.201. You need to change its hostname. You might also want to set ProxyVia full to confirm its operations.


0

This solution worked for me: In Edit the apt-cacher.conf file on server: sudo nano /etc/apt-cacher/apt-cacher.conf Uncomment the "ubuntu_release_names" and replace with this: ubuntu_release_names = dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, trusty, utopic, vivid, wily, ...


1

A similar question was asked that might answer your question: Consider using a ForceCommand directive in sshd_config. For example, I use these to force groups of users to a set of servers: Match Group group1 ForceCommand ssh -t group1.fqdn Match Group="*,!local,!group2,!root" ForceCommand ssh -t group3.fqdn You could use: Match ...


0

I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports. Although I answered my own question in this case, I want to thank ...


0

See the options it has. (openconnect --help probably): -u,--user=NAME Set login username to NAME --passwd-on-stdin Read password from standard input --reconnect-timeout Keep reconnect attempts until so much seconds are elapsed. The default timeout is 300 seconds, which means that openconnect can recover VPN connection after a temporary network down ...


1

According to Google's site, here are the steps to install gcloud on Debian based systems You may need to install curl sudo apt-get install curl Create an environment variable for the correct distribution export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" Add the Cloud SDK distribution URI as a package source echo "deb http://packages.cloud....


0

In your /etc/vsftpd.conf file, you need to uncomment the line: #local_umask=022 I.e. remove the hash form the beginning of the line and change the mask value to 033, so that it looks like: local_umask=033 After restarting the service, uploaded files will be readable by all other users of the system. This will not affect the files already uploaded. You ...


0

It is ready now, the delay was unfortunate but has lead to a better, less buggy, release. Please go ahead and use Landscape 16.06 with Ubuntu 16.04 support.


0

Link Internet: This will more than likely be DHCP'ed from your router. If not you will need a 'local IP' and set the gateway to the internet. Link Teachers: a 192.168.x.x subnet will do the trick. as this is a lab, you could use 192.168.1.x/24 Link DMZ: Same as Teachers link use 192.168.2.x/24 Link Students: Same as Teachers Link use 192.168.3.x/24 Of ...


0

I have used the following link to setup VSFTP few months back you can give it a try. The link is here


0

Remove the lampp folder from the /opt folder using the command sudo rm -rf /opt/lampp and now make a clean install again. But still I cannot figure out what my problem was.


0

I would check ip tables of router, server and any device inbetween. Icmp echo may be blocked from outside. I don't know complete network topology so i would not point my finger at gateway so fast. But it is good point, I forgot there is no connection except for address resolution. At this point we need to wait for answer from author.


1

You have to add the Apache Alias and Directory directives inside both VirtualHost sections that you have in your facebook.****.in.conf config file so it is enabled for both HTTP and HTTPS connections. The snippet of configuration that you should add must be something like Alias "/apis" "/var/www/html/apis" # Now set directory permission <Directory "/...


0

I decided as follows: #!/bin/bash # # /etc/init.d/leanote . /lib/lsb/init-functions case "$1" in start) echo "Starting LEANOTE..." bash /home/keith/leanote/bin/run.sh & ;; stop) echo "Stoping LEANOTE..." pkill leanote ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0 Permission to run: ...


0

To solve this, I had to create an additional user account aside from the root account I was logging in with into the terminal. I got back into the terminal and followed the following instructions found on this website: http://www.upubuntu.com/2011/07/how-to-create-new-user-account-from.html Get to the terminal and run this command to create a new user: ...


1

Your problem may have its root in various causes, here are the solutions for two of them: Folder and File Permissions Not only the site.com folder, but also all parent folders need to have their permissions set so apache can traverse them. Please check if /home, /home/ihab, /home/ihab/Workspace and /home/ihab/Workspace/Webdev do have proper settings. They ...


0

The openswan package is not available for Ubuntu 16.04, but the (very similar) strongswan package is available. Try running sudo apt-get install strongswan to install StrongSwan. There might be some minor differenced between OpenSwan and StrongSwan in configuration files, etc... but they should be minor. You can view details about the strongswan ...


0

Run: sudo apt-get update Then search for your package in cache file sudo apt-cache search term Instead of "term" put a part of or exact package's name, if it finds your Package run: sudo apt-get install <packagename> If you don't answer with this method You should add a new repository that has this Package or download openswan.deb and then ...


-1

Try disabling ACPI on boot by pressing e in the boot menu (grub2) and add acpi=off at the end of the line starting with linux. You're not the only one to experience ACPI hangs... ;-)


1

Today I noticed that Landscape is available for 16.04 LTS, making my question obsolete.


1

The Ubuntu Community Help Wiki has an article on creating a bootable ISO image from an installed system. It appears to use only command-line tools (no GUI). There are too many steps to list here, so I'll just include the link: https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall


0

SSD disks are automatically detected, and you may verify this with: cat /sys/block/sda/queue/rotational If it's 1 it's a hard disk and if 0 it's a SSD.


0

You can get disk size reading the file /sys/proc/sda/size, it will give you a number like 976773168. Take that number and multiply it by 512 and get the size in bytes. From there, you can convert it to MB's or GB's. Also you can get the size of partitions size reading /sys/block/sda/sdaX/size.


0

First, you should change the access settings for your /etc/ppp/pap-secrets file Warning - secret file /etc/ppp/pap-secrets has world and/or group Second, there seems to be a Configuration Problem. You have multiple LCP ConfNak (LCP Configuration not Acknowledged) Packets, some are ok, but you need at least one LCP ConfAck(LCP Configuration ...


0

The command df -h shows disk free and used space for every mount in human readable sizes. The command du -sh /* | sort -n -r will show how much space is used by every top level directory.


1

The principle behind the www-data user is that it is an unprivileged user. When you run a daemon (background program like a web server), for security purposes it is good for it to drop privileges after starting, so that it spends the rest of its time with the lowest privileges possible. In the past the nobody account was often used for this purpose. The ...


2

Under no circumstances permit your web server to run commands with sudo. Not even hyper-specific commands. This is a huge security risk. A web server should not be given permissions to access sudo commands, which then permit root access for commands. Especially when given nopasswd form of sudo, should your web server be breached, any command run by a ...


0

If you are using ubuntu server (or minimal via net-install) without X server and any desktop environment then you shouldn't install any graphics drivers (neither the opensource nor the proprietary) as they have xserver as dependency (see this http://packages.ubuntu.com/xenial/xserver-xorg-video-nouveau for the nouveau driver). The virtual terminal (console) ...


0

Here is what worked for me for future askers. -A INPUT -s 172.16.10.25/32 -d 172.16.10.40/32 -i eth0 -p tcp --sport 111 -j ACCEPT -A INPUT -s 172.16.10.25/32 -d 172.16.10.40/32 -i eth0 -p tcp --sport 2049 -j ACCEPT -A INPUT -s 172.16.10.25/32 -d 172.16.10.40/32 -i eth0 -p udp --sport 111 -j ACCEPT -A INPUT -s 172.16.10.25/32 -d 172.16.10.40/32 -i eth0 -p ...


1

It's the exact use case for the DenyUsers and AllowUsers lines in the file /etc/ssh/sshd_config. You can log in as an allowed user, and su to the privileged user when required. Also, if you want to beef up your security measures, you should look into using passphrase protected certificate-based authentication to log in as your regular users (such as Mary). ...


4

No, disabling SSH access in the sshd_config file will not affect the ability to login locally or through the use of su command. Although you can limit the accounts allowed to connect with SSH as described in the referenced answer (i.e. by setting either DenyUsers specadmin or AllowUsers mary in the /etc/ssh/sshd_config file), it would still be less secure ...


0

Fixed! Long story short I created another simple API running on a different port. I used: POST method on API#1 with a simple submit button (json) and config to send it to the IP/PORT of the API#2 GET method on API#2 (result can only be see in the terminal, but that's all I needed)


4

Making many changes all at once Take the original file and save it as sshd_config.orig. Edit sshd_config to your heart's content. Run diff sshd_config.orig sshd_config >config.patch Keep the config.patch file somewhere safe. Now, anytime that you have a new and unedited version of sshd_config and you want to apply the same edits, run: patch ...


0

Comments below were a big help. After reading https://github.com/rethinkdb/rethinkdb/issues/1897 I tried disable ipv6 by following : How to disable IPv6 in Ubuntu 14.04? This did not seem to have an impact. Last comment of : https://github.com/rethinkdb/rethinkdb/issues/1897 "Hi, @danielmewes yes you are right, my problem was iptables, i dont ...


0

Use the cp terminal program running as root to copy the executable file of your C program to /usr/local/bin which is the place to put user-created systemwide executable files intended for use on a local system. The path of the executable file that you copied to /usr/local/bin will be something like /usr/local/bin/my-program. Make my-program executable from ...


3

The problem in your approach is that you use exec. $ help exec exec: exec [-cl] [-a name] [command [arguments ...]] [redirection ...] Replace the shell with the given command. Execute COMMAND, replacing this shell with the specified program. ARGUMENTS become the arguments to COMMAND. If COMMAND is not specified, any redirections take ...


0

Don't reinstall. If you don't have any valuable data in your databases, you can try this : sudo dpkg --remove --force-remove-reinstreq mariadb-server


1

I solved this, by using gksudo in desktop files, like this: [Desktop Entry] Type=Application Exec=gksudo /home/kiosk/.config/autostart/serve.sh Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true Name=Serve I dont know why this worked though, if anyone knows, please tell.


1

Of course. I never even have to use "sudo" with using "scp". Mind though: as with all remote copy-ing the servers need to be setup to allow it. You can even use "scp" without having to use a user and without providing a password if you want.


1

Run sudo updatedb before locating. This will update the database.


4

Two causes two actions In general when you are not able to locate a file or it is because recently created (after the last database update) or because it is not in the paths where updatedb is going to search its entries or matches some pruning rules(see below): In case it is a new file or directory, If you have enough privilege you can force an update: ...


8

The binary database used by locate (/var/lib/mlocate/mlocate.db) is updated once daily by cron, so locate will not find new files. You can fix this by first running sudo updatedb sudo updatedb && locate -e bench-repo It's a good idea to use the -e flag so you only find files that still exist. Oh and here's a bonus tip - you can get locate to ...


0

After performing the above steps, please follow below steps. sudo apt-get update sudo apt-get install mysql-server sudo apt-get update sudo apt-get install mysql-server-5.6 sudo mysql_secure_installation mysql --version


0

I followed these steps this worked for me . First remove all the packages(all means ldap packages you have installed) by using sudo apt-get remove package then follow these steps. Steps are as follows: Step 1: Install OpenLDAP sudo apt-get install slapd ldap-utils Give the Administrator Password/Root Password Re-Enter the Password of Administrator/Root ...


0

Okay thanks, the mouse cursors are in the package xfce4-goodies i think. I will try it. and how can i start it with booting ? When i Install this PAckages, and restart my System. I got a Ubuntu Unity Login Page. Not an Xfce4. When i try to log in, I got the message: failed to start session Thank you.


0

A command-line method to make a live USB for UEFI systems Please note: this deletes all data on the target device. Install prerequisite: sudo apt-get install p7zip-full Assuming the target USB is at /dev/sdb (please check first with gnome-disks or sudo fdisk -l or lsblk and be sure you know what you are formatting) Destroy existing partition table: ...


0

I don't know what you mean by "the Server stopped working with the Command apt-get install xubuntu-desktop" which is very strange, nevertheless xubuntu-desktop installs a complete xubuntu desktop on your system. Not just XFCE. If you want to install XFCE only and tweak everything manually, you need to install Xorg too and a display manager, like lightdm ...



Top 50 recent answers are included