Tag Info

New answers tagged

1

Adjust your concept, also regarding safety / reliability aspects. If it is really justified that your website needs to adjust system configuration, you'll want to contact e.g. a´self-written daemon process which provides a suitable amount of protaction and is specialised only in applying limited changes. You do definitely not want to grant super user ...


0

That guide is all about filtering spam out of your incoming mail. There's not really any setup required on your system apart from saying you'd like to check SPF and DKIM. If you invoke that checking, then when your server gets an email from IP address 123.123.456.456 claiming to be from fred@example.com, it will look for a TXT record in the DNS entry for ...


1

I have never had any problems moving a hard disc from 1 machine to another machine. And I do this regularly. I do tend to try to match the new system with the old system though (ie. same brand but a newer model). If applicable there is 1 concern and that is the display driver. If you use nVidia/AMD drivers and move to AMD/nVidia I suggest removing that ...


0

IMO: this is a bug in the graphical configuration tool. My easiest fix is to comment (or remove) the line starting with "request..." in file /etc/dhcp/dhclient.conf


0

I would add to @ignis' solution: sudo reboot After the ubuntu server restarts the Guest Additions will be available to you.


1

The problem is that software RAID only replicates the partitions, not the MBR, so if you re-install grub you need to make sure that you install it to both drives. You also need to make sure that, when you install grub to the second drive, you configure it as if it were the first drive (so that if the first drive fails you can disconnect it and the second ...


2

Your error message is caused by sudo being owned by deployer, in addition, the rights are set incorrectly. To fix the permissions, try something like chmod 4755 /usr/bin/sudo, as you own sudo currently. To fix the ownership, you need to run chown root:root /usr/bin/sudo ...but you might need to be root for that. Unless you have +s set on /bin/chown, and ...


0

Im running a Samba server on the HP-Proliant aswell. My Setup as follow. 2 accounts - DPUSER and DPUSER1 DPUSER1 have the highest level of access. DPUSER have limited access. Also make sure you added your users to Ubuntu and to the samba server. Adding user to samba..... smbpasswd -a [username_here] In the Smb.conf file make sure that the following its ...


0

Blade hardware is just a standard PC and should work out-of-the-box with Ubuntu, but the question here is really whether or not the onboard GPU has enough power to run Ubuntu. The Dell Poweredge m600 and m605 blades have ATI RN50/ES1000 GPUs which can only do 2D. I have an server with ES1000 running Xubuntu, it is fine for basic tasks (no video, no 3d). ...


1

It will run, but it is hard to install any os without a graphics card for use during the installation. It can be done so long as you boot an ubuntu image with ssh-server installed. See https://help.ubuntu.com/community/Installation/OverSSH If you are not running X, IMO, it is pointless to run a desktop, just do a minimal install or perhaps a server ...


2

Seems to me the error is not in LDAP, but in automatically creating home directories of new users. According to the Debian wiki: Include this in /etc/pam.d/common-session if you want to automatically create home directories when users first login: session required pam_mkhomedir.so skel=/etc/skel umask=0022 Note that looping back to login ...


1

According to cron manual: When executing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists) If you want to stop mail alert, you should redirect standard output and standard error. So you should modify your cron file as: @hourly ...


1

There's a restund, a relatively young and very promising project.


0

You need to look at the configuration of your internet router and figure out how to do "Port Forwarding". Outside requests - say for web pages - get to your router, it doesn't know what to do with them and just drops them. You need to tell it to forward the received requests - say to TCP port 80 - to the internal IP address of your actual server (and most ...


0

Webmin uses port 10000 as we can see in netstat -nap, but if you are running utserver first of running webmin service it will also bind the port 10000 to it, because of a service of device pairing of utserver. To avoid this bind another port in webmin at Webmin > Webmin Configuration > Ports and Addresses Or in other hand you can disable the service ...


0

The cause of this problem: A typo. I had my VirtualHosts in the httpd-vhosts.conf file set to port 433, not 443. The tutorial works perfectly on 14.04, everyone.


0

I've found this series of tutorials to be very useful: http://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/2/ http://arstechnica.com/information-technology/2014/03/taking-e-mail-back-part-2-arming-your-server-with-postfix-dovecot/ ...


0

According to Apache documentation The ScriptAlias directive has the same behavior as the Alias directive, except that in addition it marks the target directory as containing CGI scripts that will be processed by mod_cgi's cgi-script handler. URLs with a case-sensitive (%-decoded) path beginning with URL-path will be mapped to scripts beginning ...


1

Some BIOSes have a Wake on Power facility. Your hardware needs to support it. It is not a software setting as far as I know.


0

It sounds like you don't have any nodes configured in /etc/iscsi/nodes. In fact the nodes directory will be empty if you haven't asked for a list of targets from the iscsi server. So, if that's the case, you'll need to do a target discovery. Try: iscsiadm -m discovery -t st -p IP-Address-Of-Target Once this is done, there will be an iqn... directory with a ...


0

Already answered here: 13.10 XRDP problem with gnome-fallback As you know by now, the ability to fire up a gnome-session with xrdp broke with Ubuntu 14. Bug here: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281 Ubuntu 12 does not have this problem. This might be your solution. However it will be soon out of support so that is not an ...


1

this is how it is done: do this on the maas/region cluster controller. this only for those who have maas/region cluster running on one server. sudo nano nat.sh then: copy and paste the contents of the link: https://help.ubuntu.com/community/Router#Enable_IP_forwarding_and_Masquerading save file nat.sh After configuring the 2 variables, if necessary, ( ...


2

You can look up what a failed status of PHP mail() means here: http://php.net/manual/en/function.mail.php Returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise. The false return value indicates the mail was not accepted for delivery by your MTA. On a local Linux server, if you've done no other configuration changes, PHP ...


0

To expand عبد النور التومي answer with my experience with systemd. In systemd whenever a process is started it is run within systemd context, most clear example of this is with the environment variables defined in its unit file. So when you send a systemctl reload [someservice] signal it sends a signal to the service to reload itself gracefully if it is ...


1

I don't believe MAAS will setup such routing by itself. You should be able to tell the MAAS machine to NAT your 10.0.* network, though. I would suggest getting that working manually as a test case, then trying with MAAS once the MAAS machine networking is right. Good luck!


0

What you need is the Small Business Server or Workstation from NoMachine. With only 5 users which need access, one of these will probably suffice. All desktop sessions will be 'suspended' and leave the applications running in the backgroun.


1

If you wish to do a comparison between the two, and have a movable list you could do: dpkg --get-selections>new.txt This will take your output and send it to a text file ('new.txt'). From there you can use grep to search through. For example: grep '^linux*' new.txt Or if you just need the packages quick combine the two dpkg --get-selections|grep ...


0

The only way to completely disable IPv6 is by blacklisting the kernel module. Put the following line in /etc/modprobe.d/blacklist: blacklist ipv6 Warning: IPv6 is becoming more important each day and IPv6 support is assumed by more and more software these days, even if you don't use it (yet). Blacklisting the kernel module might break things.


0

Based on your ufw status output, your firewall is currently configured to only allow incoming connections for SSH. For NFS, you will need to open the nfs (2049) and RPC portmapper (111) ports. If you only want to connect to the server over the LAN, then I'd recommend restricting the host range e.g. sudo ufw allow from 10.0.0.0/16 to any port 2049 sudo ufw ...


0

You can use one of the following commands instead: Restarts the service and then exits: ssh user@iphost 'service asterisk restart; exit' Restarts the service and then exits on success: ssh root@iphost 'service asterisk restart && exit'


0

You could just background it as soon as it runs: ssh user@iphost 'service asterisk restart &' I've got a similar issue with an xinit-based upstart service that hogs the stage and needs manually exiting (doesn't harm the Upstart job), but yeah, wang a & on the end and that should force it into the background. If that gives you gyp, there are a ...


0

Try using "here document" ssh user@iphos << endexe service asterisk restart exit endexe That should work.


0

Try redirecting stdin, stdout, and stderr to /dev/null. For an explanation, see http://serverfault.com/questions/36419/using-ssh-to-remotely-start-a-process.


0

For what you are wanting to achieve I think you really need to use NoMachine Enterprise Server see link below. NOTE: I have nothing to do with them, however I researched this about 12 months ago for a client and that was the best option. Alternatively You could look at the Linux Terminal Server Project, or specifically these references here: ...


0

The basic mechanism is: the browser asks the web server for a web page. This is in fact the address of a program or script, most often written in PHP. the web server executes the PHP program. the PHP program accesses the data base server using SQL statements. the data base server returns data to the program. the program puts the data into an HTML page. the ...


0

I had a very similar issue and noticed that after the job was scheduled to be run mail was being placed in /var/spool/mail for root, it is the root crontab that the job was placed in, saying that the root user did not have permission to run the job. Did some looking around and it turned out to be due to the target script not being executable. If you do: ls ...


0

You cannot rely on sdX to remain the same (it probably will, but no guarantees). You should use either labels or UUIDs. See the devices in /dev/disks/by-label and /dev/disk/by-UUID. You can check which drives have been used as currently by using the mount command (which will use sdX in the output). To fix your cryptswap, edit the file /etc/crypttab to use ...


0

If automysqlbackup can work with mysql-client-5.6 (In other words, if it's binary compatible with mysql-client-5.6). Is possible to use equivs to create dummy packages for mysql-client, mysql-server. Nothing to loose if it didn't work just uninstall them: sudo apt-get install equivs equivs-control mysql-client equivs-build mysql-client sudo dpkg -i ...


0

Try ap-hotspot, which is a convenient wrapper around hostapd.


0

I assume you are connecting to internet through your eth0 and wish to share the connection to other computers via your wireless card (wlan0). The reason what you have tried is failing is because your ubuntu only shares the connection as is, and your cable modem provider likely provides only one external IP address, which is given to your ubuntu computer. ...


1

By default, the SSH server denies password-based login for root. In /etc/ssh/sshd_config, change: PermitRootLogin without-password to PermitRootLogin yes And restart SSH: sudo service ssh restart Or, you can use SSH keys. If you don't have one, create one using ssh-keygen (stick to the default for the key, and skip the password if you feel like ...


5

You can make an unattended install medium that installs openssh-server, as explained in the other answers: By @Jay _silly_evarlast_ Wren: How can I install Ubuntu on a device without a screen nor a keyboard? & By @Takkat: How can I install Ubuntu on a device without a screen nor a keyboard? You will able to login after installation has been ...


0

Quick and dirty solution could be a string in /etc/crontab to restart apache each hour, for example. */5 * * * * /usr/sbin/service apache2 restart This will restart apache each 5 minutes. But of course, we would like to know the reason it stops, right? There could be a lot of different reasons, as long as you have VPS. Your provider could just use some ...


0

You already have both of them. Ubuntu Server is not something completely different from Ubuntu Desktop. But usually server setup does not have GUI, and that's all. Any package you install comes from one centralized repository. The installer looks different (no GUI, as I've already mentioned), but right now, if you already have Ubuntu installed, I don't see ...


0

If you can find something that does the Sieve protocol, I think you will have found just what you want. Sieve is a protocol that lets you upload filters to the server and have them applied as the mail is delivered to the users. I have set up Sieve on my server setup (about 2 years ago), but I was using Postfix, Dovecot, and the Sieve plugin for Dovecot. So ...


0

Assuming that you run UFW, do the following: sudo ufw enable sudo ufw allow from YOURIP to any port 443 sudo ufw deny 443 Please make sure that you don't lock yourself out of the machine while doing this. As your admin interface is running on a different port, you might need to replace the 443 above with your port number.


0

According to this source: https://wiki.ubuntu.com/Kernel/LTSEnablementStack It seems to me that this is the way to do it: sudo apt-get install --install-recommends linux-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty Not sure if all the packages are needed, but I think I will install all of them just in case.


1

The problem is that you have two php executable: one located in /usr/bin and another in /opt/lampp/bin. When you type php in your terminal, bash search it in $PATH directory list, and it found php in /usr/bin, so /usr/bin/php is executed. If you want to exec /opt/lampp/bin/php, open you .bashrc and at the end add this line: PATH=/opt/lampp/bin:$PATH ...


0

The easiest way i found to fix this error was to put in an old windows 98 disk and in dos you can delete and create partitions and then format


1

If you would like to revise your installed packages from the point of view of free software, I recommend using the vrms ("virtual Richard M. Stallman") tool (included in the standard repositories) - just install it and run as simply as vrms Good luck with freeing your system! ;)



Top 50 recent answers are included