New answers tagged

0

you can test it, first run bash in ubuntu container by: docker run -t -i ubuntu /bin/bash then run following command: dpkg -l ubuntu-desktop


1

You must allow access to /files/html, with something like <Directory /files/html> Require all granted </Directory> By default, access is only granted to /var/www.


0

You do not try to add your new partition inside /var/ but as /var/ /dev/sda5 /var/newPartition auto defaults 0 0 makes it possible to add sda5 as folder /var/newPartition using sudo mount /var/newPartition The folder /var/newPartition has to be created by you in advance. It is called the mount point (afair). sudo mkdir /var/newPartition See Can you ...


1

From the first glanse, your problem is obvious: 1) You are missing a private RSA (or DSA) key. Usually it is named id_rsa. To generate a pair of keys use ssh-keygen. A pharaphrase may be empty if you want to login without entering each time. 2) On remote host you must use a complimentary public RSA/DSA key, placed in ~/.ssh folder. Usually it is ...


0

http://ronaldbradford.com/blog/installing-ubuntu-openstack-2015-06-01/ In my opinion if you are new to Cloud, go with Citrix Xenserver or something like that first, free and easy to use.


1

OVH puts a custom kernel on their Ubuntu servers (source). Here is how to install the generic one. I'm not sure what all the letters in the name mean, but probably, "grs" indicates support for Global Resource Serialization, "ipv6" indicates support for IPv6, and "64" indicates 64-bit. As for why ps -ef is giving you different outputs, I'm not sure exactly, ...


1

To activate the snapshots, try adding "-K/--ignoreactivationskip" Someone decided the default for snapshots on thin volumes is for setactivationskip to be 'yes'. You can disable the skipping permanently by running "lvchange --setactivationskip n" on each new snapshot.


1

Start by downloading this: https://www.privateinternetaccess.com/openvpn/openvpn.zip and extract it somewhere. That archive contains 3 important files: ca.crt, crl.pem and YourServer.ovpn (e.g. Germany.ovpn), copy those to /etc/openvpn/. Rename the .ovpn file to .conf and add a line auth-user-pass secrets Create a new file /etc/openvpn/secrets with your PIA ...


0

Same issue I was facing few days ago. This is a bug reported already in Ubuntu 16. For workaround you need to edit the file bin/fetch-url located in initrd.gz steps for editing the file and unpacking again: 1. gunzip initrd.gz 2. cdrom initrd 3. cpio -id < ../initrd 4. # ls bin dev etc init modules proc sbin selinux sys tmp var 5. Now edit ...


0

Simply use crontab, instead of using a time intervall simply say @reboot So login as the user who should start this script and type the command crontab -e and then enter @reboot /better/enter/fullpath/here/docker-compose -f /usr/bin/myapp/docker-compose.yml -p myapp start Reboot the system and see if it works. There's one advantage over upstart, even ...


0

I know this is very late, but I had this problem and maybe someone will need it in the future. If you want to use your server like a desktop and you are having problems installing ubuntu with a "Raid" type error, you need to take out all of the hard-drives except one and try installing. This worked perfectly for me.


0

Install the server. Download from here and go through the installation process. If you then want a GUI for developing on: sudo apt-get install ubuntu-desktop Then install a IDE. Install ssh to scp (copy files over ssh) to your server: sudo apt-get install openssh-server Install a C compiler: sudo apt-get install gcc Make your app. Compile it: gcc program....


0

You said in the comments you're using an IP address to connect. IP addresses don't have subdomains since they aren't domains in the first place. http://example.192.168.0.1 treats example.192.168 as the subdomain and 0.1 as the actual domain. example.192.168.0.1 will just search that text if you have an omnibar like Chrome. If you want subdomains and ...


0

The simplest possible solution is HTTP in combination with an Android video player that can do HTTP streaming, such as VLC, MxPlayer, etc - just use any of the many available HTTP servers. Here are some one liners. Python 2.x $ python -m SimpleHTTPServer 8000 Python 3.x $ python -m http.server 8000 Twisted (Python) $ twistd -n web -p 8000 --path . ...


0

If you have Apache installed. Apply following commands. Stop apache2 service apache2 stop then install nginx sudo apt-get install nginx


0

I had a problem that was somewhat similar. I recently installed fiddler and my browsers worked fine before installing it. My OS is Ubuntu 16.04 LTS and the browsers Im using are Google chrome and Mozilla firefox. After restarting, I realized that neither browser works or connects to the internet. They were all displaying the proxy server is refusing ...


0

This is not a defined configuration word: interface eth1; I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails. Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is ...


0

Turns out, the firewall was blocking the download. So if you have a similar problem, check your firewall settings.


1

The simplest solution would be to use NAT at the network edge. However, this is not a proxy solution. A firewall could route some traffic via NAT, and route other traffic to a transparent proxy. Proxy aware applications can as for a CONNECT which allow them to connect through the proxy. The proxy will transfer data without looking inside. Normally, it ...


0

I checked my /etc/mysql/ folder and found it to be completely empty other than an empty sub-folder conf.d. cd /etc/ # you need to delete the empty mysql folder otherwise the ln below creates the link inside the existing mysql folder sudo rm -r mysql sudo ln -s ./mysql.bak/ mysql then (courtesy of this link this link) sudo dpkg --configure -a and now ...


0

Running sudo chmod go-rwx /* would only allow root to access anything on your system which would break about everything. See Simple & easy way to jail users for soem better ways to restrict what a user can do.


5

Repeat after me: Running ANY permission command on / without knowing exactly what you're doing is a great way to break your system. Even if you know what you're doing, it's still probably the wrong thing to do. In your case, the command won't work because it's the wrong one to start. Secondly, groups are a very valid Linux construct of users, and blocking ...


1

According to your ifconfig, your relevant interface is p4p1. I suggest you amend your /etc/network/interfaces file to read: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network ...


1

Make sure Apache has permissions to write to directory where you are trying to create a new directory. F.e. if your script is calling mkdir('/var/www/subdir/newdir'), run the following: Give apache ownership: sudo chown www-data:www-data /var/www/subdir Make directory writable: sudo chmod 770 /var/www/subdir


0

Looks like the Apache module for PHP is missing. Install the service using; sudo apt-get install libapache2-mod-php5


1

It is was a time limit of the page (30 sec) Just add the line set_time_limit(0); It will remove time limit at all . And now all work fine.


0

Found your question when Googling this exact same issue. I "fixed" this problem by upgrading Deluge on the server to 1.3.12. This can be done with the Deluge PPA Guide here. Deluge PPA Repository The ​Deluge PPA contains the latest Deluge releases for Ubuntu. sudo add-apt-repository ppa:deluge-team/ppa sudo apt-get update sudo apt-get install ...


2

The option ClientAliveInterval does exactly what you want, it basically sends pings in the specified interval (in seconds) and kills the connection if it doesn't receive an answer. To control how fast it kills the connection, you can use ClientAliveCountMax, which is the maximum number of pings to send without receiving a response before considering the ...


1

I get what you are asking. You want a browser based GUI without all the added stuff that a typical Desktop Environment provides; however, since it's still a GUI that you are looking for (you will be attaching a monitor and drawing graphics on it, aka a head) you can't call it headless. Maybe call it a "tiny-head" server ;-) A desktop environment (such as ...


1

I solved the problems: 1 - Server doesn't access to internet after connection with VPN. Solution: add Google DNS to /etc/resolv.conf (nameserver 8.8.8.8 and nameserver 8.8.4.4) 2 - I cannot access to server after this connect with VPN. Solution: redirect the VPN traffic to real IP: ip rule add from x.x.x.x table 128 ip route add table 128 to y.y.y.y/y dev ...


0

Since we are deploying machines with Ansible I don't like modifying rc files. I tried using sysfsutils / sysfs.conf but ran into timing issues when starting the services on fast (or slow machines). It looked like sometimes mongod was started before sysfsutils. Sometimes it worked, sometimes it did not. Since mongod is an upstart process I found that the ...


0

On pfsense VM set 1st network adapter to NAT 2nd network adapter to internal all other machines network adapters set to internal here is my video on youtube


2

If you have no physical access to the hardware, no web-based control panel, and there is no operating system whatsoever on the machine, then I don't know of any way to install an operating system on it remotely. If you were able to install an operating system on this computer over the internet, so would anyone in the world with its IP address -- and ...


0

I found the solution myself and I want to share it with you: In the past, I entered my known hosts only in the /etc/hosts file. After entering the same into /etc/hosts.allow file everything works fine.


0

Ok, so I'm still not exactly sure whats going on... but I got the guest account to work with file and folder permissions set to 755. To get it working, I had to do smbpassswd -a nobody (with no password). This still doesn't really make sense as if samba needs this account in its own database, then it shouldn't even be able to read the directory in the first ...


1

If NAT is being used anywhere (including your client's router), then conntrack may drop idle connections. You may try setting up TCP keepalive to prevent this, by enforcing minimum activity on all connections even when they are idle. Check /proc/sys/net/ipv(4|6)/tcp_keepalive_*


3

This may sound as a joke to you but it isn't. I was facing the same problem on an Acer laptop where both the keyboard and the touchpad were not working at the same point your keyboard doesn't. This is how I was able to overcome this problem. I'm just hoping it's going to work on your system too. Right after you press Enter on the Install Ubuntu server ...


0

If you want to access samba only through VPN then Global section in smb.conf should have these lines: interfaces = 127.0.0.0/8 192.168.0.0/24 hosts deny = ALL hosts allow = 127.0.0.1 192.168.0.1/24


0

Run: xtrabackup --backup --target-dir=/path/to/targetdir --datadir=/var/lib/mysql/ You may need to install it with: sudo apt-get install xtrabackup


0

UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'root' before the "ALTER USER ..." command which sets the password, then flush privileges.


1

Current accepted answer is not sufficient in the troubleshoot strategy because you can have an human error. You setup your system to en_US but you have en_GB enabled in/etc/locale.gen like I had in the thread here for Raspberry Pi 3b. You should have all your used locales enabled in /etc/locale.gen. I had en_GB.UTF-8 UTF-8 only enabled in /etc/locale.gen....


1

This question could have multiple answers depending on how you're using 'cloud'? Typically cloud would be considered a logical server delivered through virtualization. Your cloud provider allows you to select an image to boot, which the image could be Ubuntu. So there isn't really an 'installation' but you still end up with an Ubuntu ready server. If you ...


0

Solved: From upgrading si Operation sistem... from 15.04 version to 15.10 version stable of ubuntu... it overwrite all services os i have modified and up alll services pre required form software added... one of it is Lampp from Xamp stack...


0

Yes, I had the same issue, and upgraded putty. SOLVED


3

Three quick steps Add your user to the www-data group sudo usermod -a -G www-data username Change the owner of /var/www sudo chown -R username:www-data /var/www Change the permissions recursively on /var/www sudo chmod -R 644 /var/www NB: Replace username in the commands with your username.


1

to see permissions do ls -l A file with execute permissions has x in the string at the front. Here's an executable script on my system: -rwxr-xr-x 1 zanna zanna 7827 Jun 12 07:15 x205ta-iso2zip.sh Here's one that isn't executable: -rw-r--r-- 1 zanna zanna 24284 Jun 12 07:15 x205ta-iso2usb.sh if catalina.sh does not have execute permissions then ...


0

sudo passwd -a username and set your password for your given username, use it when Windows asks for the name and password.


3

You have only 500 MB of RAM installed. I would not be surprised that most of it is in use, given those little resources. On the other hand, htop sums up both the really used memory (allocated by applications) and the cache (used by the system to cache disk access, but immediately available to applications if needed). Therefore the "non-free" memory amount ...


0

edit /etc/sysctl.conf and uncomment: # net.ipv4.ip_forward=1 And the iptables part should look something like below, where eth0 is internet and eth1 is LAN: iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -A FORWARD -i eth1 -o eth0 -m state -–state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT If you have 2 ...


1

I experienced the same problem, but on Debian 8.4 (Jessie). Like the above, the solution was the IPTables flush script as listed at http://insanelabs.net/linux/linux-reset-iptables-firewall-rules/. Though iptables reported no rules, there must have been some "hidden" rules, or otherwise a bug in iptables itself. I am reporting this bug to the Debian ...



Top 50 recent answers are included