Tag Info

New answers tagged

1

First of all you have some extra garbage in /etc/fstab - the string to your /etc/fstab after the last 0 does not belong there. If your router allows you to password-protect your share that do that and consult the official ubuntu wiki page about how to store that password in your /etc/fstab


1

Try clearing the DISPLAY environment variable. bash$ export DISPLAY= Then try again. That is what I just did to make this work on Ubuntu Server 15.04, because I had X running on the host I was logging in from.


1

Usually MTA identifies itself in SMTP greeting message. You may use telnet 127.0.0.1 25 to get SMTP greeting message. Other steps are MTA type dependent (exim/postfix/sendmail).


0

The GUI is not included in the server version. To install this, press Ctrl+Alt+T to go to a terminal and type: sudo apt-get install ubuntu-desktop


0

Another possible cause could be with the AllowedUsers configuration in /etc/ssh/sshd_conf. NOTE: the list is space delimited (not comma delimited) as I learned the hard way. AllowUsers user1 user2 user3


1

your postfix deliver mail locally to procmail. That is postfix status status=sent but your procmail is not configured properly or have some errors and can not deliver mails. Do: sudo dpkg-reconfigure postfix 1) Choose 'Internet with smarthost' (recommended) to use another mail server for relaying mail or 'Internet Site' 2) Enter system mail name ...


7

Please do note, that using Telnet is insecure because the communication is not encrypted, your passwords and all other data will be transmitted as clear texts. Use Secure Shell (SSH) instead avoiding Telnet. To Enable Telnet Install the Telnet server with sudo apt-get install xinetd telnetd The service should be fired-up automatically once the ...


6

Open terminal and run: sudo apt-get install xinetd telnetd The Telnet service is started automatically once the installation is done. And you can either run telnet serverip or use a Telnet client (PuTTy, SecureCRT, etc.) to access this server. To change the port (default is 23), edit the /etc/services file with your favorite text editor. Find out and ...


0

First, since you are on server, not desktop you need to install all the major packages needed by typing on terminal sudo apt-get install build-essential that should install needed packages up to libc6-dev. If it doesn't work, try sudo apt-get update sudo apt-get install libc6-dev I also recommend you to remove your current version by typing sudo ...


0

Have you considered installing kerberos and LDAP with single sign-on? Once they have logged in on HostA their credentials are stored and they can login to HostB (HostC .etc) without a prompt. Personally I like ssh using ssh-agent to store my credentials and then I can login all over the network without bother. But that requires using .ssh/authorized_keys, ...


0

I got it working by making these changes to smb.conf: add: username map = /etc/samba/username.map username.map contains one line: nobody = * change: map to guest = bad user to map to guest = bad password change: valid user = smbuser to valid user = nobody (in all 27 shares) ran: smbuser -a nobody and pressed ENTER for the password After restarting the ...


0

A workmate finally saved me by suggesting to make a new drive, instead on enlarging the actual one. So the VM now has 2 hard drives, and it is easy to make a new partition on it, and include it to VolGroup00/LogVol00, following steps detailed in the question.


1

I think your rewrite rule is written upside down. You currently rewrite URLs from the form rest/myrequest to index.php?request=myrequest. I don't understand clearly what you want to achieve, but if you want to rewrite urls like /myrequest to /rest/index.php?request=myrequest, you should wrote: RewriteRule ^/(.*)$ /rest/index.php?request=$1 [QSA,NC,L] ...


0

Turn your ISO into a hybrid ISO, so the installation will see your usb as a hdd/cd-rom. $ apt-get install syslinux $ isohybrid path/to/image.iso $ lsblk sde 8:64 1 7.4G 0 disk └─sde1 8:65 1 7.4G 0 part /media/usbdrive If it's been automounted, as is the case above, unmount ...


1

It seems your configuration lacks a port 80 forwarding from your router to 1.1.1.1:80.


0

You can use apt-offline: Apt-offline You can download the update from other computer an apply it in your servers computer.


0

Regarding 2, try this, it will set your local user as owner of those files: sudo mount -t cifs server-name /home/user/Desktop/New -O username=XXX,uid=yourlocalusername More on this here: https://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client


0

I've found a way to check for package installation with just dpkg-query command and no pipes. I searched for such solution while writing a task for ansible playbook. So, yo can do something like this: /usr/bin/dpkg-query --show --showformat='\r' '<your package name>' This is just one another way to do the thing.


0

I solved this using a profile. lxc config profile edit bridge Then in the editor: name: bridge config: {} devices: eth0: nictype: bridged parent: br0 type: nic And when creating a guest/container, specify the profile lxc launch ubuntu GUESTNAME -p bridge Not sure, but assume you can apply the profile to existing ...


0

The official docs are on ubuntu.com/ServerGUI. The answer is to use this commands in terminal: sudo apt-get install xorg openbox


0

You shouldn't do that if you ask me. Nevertheless apt-get install xubuntu-desktop as root (or with sudo) should install an xfce desktop. For alternatives you can install lubuntu-desktop (lxde), ubuntu-desktop (unity) or kubuntu-desktop (kde) as well. If you would start under me and would pull that, you would be in trouble. You can (and should) learn on ...


-1

Need to purge nginx then type at command line: ln -s /etc/nginx/sites-availbale/default .etc/nginx/sites-enabled/default


0

As i can guess you did bridge mode for Internet but , your dhcp not providing IP address to your port or you have not enabled networking. so , it showing like this eth0 Link encap:Ethernet HWaddr e8:11:32:db:1b:a5 inet6 addr: fe80::ea11:32ff:fedb:1ba5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX ...


0

Could you ensure that you have set up your virtual interface with bridged mode? If you are using a wireless connection, Vbox is not going to support IPv6 in bridged mode as you can see in Vbox manual: https://www.virtualbox.org/manual/ch06.html#network_bridged Hope this helps.


0

Could you run the following commands from VNC? To understand why you can't connect to the outside world: ip a ping 8.8.8.8 ping google.com To understand why VNC works and not SSH: ss -lt


1

You can use tool called apticron to notify you when new updates are available. It sends you e-mail about pending upgrades, also giving you a choice to only send you e-mail about updates not previously notified. To setup apticron edit /etc/apticron/apticron.conf and change line containing e-mail address: EMAIL="admin@example.com" Enter the e-mail ...


1

Step One—Root Login: Once you know your IP address and root password, login as the main user, root. ssh root@123.45.67.890 Step Two—Add Webmin to APT repository: Edit the /etc/apt/sources.list file on your system and add the following lines. Open the file with nano: nano /etc/apt/sources.list Press [Page Down] button on the keyboard to reach to the ...


0

i've discoverd the issue. We were hacked and a user made attempts on other servers. They used a vulnerability in the Nagios configuration that allows the "nagios" user to make logins. We disabled logins for this user and killed the process that was making the attempts


0

Replace the lines d-i netcfg/get_hostname seen true d-i netcfg/get_domain seen true for this d-i netcfg/get_hostname string ahostname d-i netcfg/get_domain string adomain Any hostname and domain names assigned from DHCP will take precedence over these values but setting them here will stop the question.


1

There isn't any special ssh elastic cloud compute sauce! Rather, each newly created user needs a separate ssh directory and authorized key file. First, from you EC2 server, switch to your newly create user account ('foo' in this example): su foo Next, create an SSH directory for foo and set permissions: mkdir .ssh && chmod 700 .ssh ...


0

I needed to make certain that port 5240 was available between my desktop and the maas server. It was not open which caused the failure. After making port 5240 available it worked fine.


0

Your gateway needs to be 192.168.1.1 it cannot be on a different network of class A "10.0.0.0", your network cannot be an ip address 192.168.1.1, it should be 192.168.1.0 since you are using 24 bit netmask, make sure the address you use 192.168.1.120 is not assigned to any other computer or device. finally add dns-nameservers 8.8.8.8 8.8.4.4 As for your ...


2

You shouldn't have messed with the pre-existing lo (loopback) interface: you need to revert that to # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback and then add your external static interface, for example auto em1 iface em1 inet static address 192.168.1.120 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 ...


1

When reconfiguring a package with dpkg-reconfigure, you can choose between the dialog interface and a text-based readline interface on the command line using the -f or --frontend switch, e.g. sudo dpkg-reconfigure -f readline tzdata Alternatively, you can change the default frontend by reconfiguring the debconf package itself. From man dpkg-reconfigure: ...


0

Your /etc/default/isc-dhcp-server file should have INTERFACES="eth0"


2

As the output of ls -ld node suggests the node directory is owned by user nikos (and group nikos), not by root with a permission of 700. As a result being user nikos you you have read, write, execute permission in that directory. Also note that sudo chmod -R 0700 myfolder does not change the ownership to root, it simply sets the permission bits as 0700 as ...


-2

As Heihachi points out using ethx:x aliases is outdated. However the ip addr solution is worse. It's ugly and incomplete, as you'll have to also add a down variant or ifdown won't work very cleanly. See https://wiki.debian.org/NetworkConfiguration for a better solution: You can now just have repeated iface stanzas for the same interface. So just the ...


0

You say you're connecting to work from a computer in home, right? The place with the Ubuntu PC has to be with a static IP. Then make sure that your ISP isn't blocking port 22. (you may change it to, let's say, 2222) If you are using router where your Ubuntu PC is, then check if the port is forwarded to the PC and you're using the public IP and not the LAN ...


0

Unplug the second nic from the switch/hub/router and let the auto discovery run. Also make sure you aren't plugged into the iLo port otherwise I was building one today, make sure you run the Support pack to setup your raid and mirrors first THEN install the OS or the OS won't see the drives.


0

Create NM connection to vpn. Supply all params. Then create script witch will be executed when interface eth0 go up. Create script for eth0 interface sudo nano /etc/network/if-up.d/script put in script this # Check for specific interface if desired [ "$IFACE" != "eth0" ] || exit 0 # trigger vpn connection nmcli con up id ConnectionName Save and ...


0

How does your system boot? Via EFI or MBR (CSM)? If the former, I can't see why you couldn't use my guide, but create a RAID10 instead of RAID1 in steps 2+more. For maximum redundancy, I would clone the EFI boot partition to all four drives.


0

I don't see a problem using Ubuntu. Create a VM with 512MB RAM, install Ubuntu server without anything else and then add apache (or nginx or lighttp.) Should work fine without really using that much resources. Alternatively check out Puppy Linux or Ubuntu snappy.


0

Have you tried http://anyterm.org/, seems like it will work for you.


0

Hmm after one day I think I fix the issue, and it was in spacing at '/etc/bind/zones/rubyonerails.com.db' file. As I try lot of solutions I copied content from notepad to this file and all lines ware moved right by a TAB space.(I removed TAB space for all lines from left side) Now I restarted bind9 and everything forks fine. My domain points to my custom ...


0

Try gitlab-ctl. You can find it into the following paths : /usr/bin/gitlab-ctl /opt/gitlab/bin/gitlab-ctl for example exec /usr/bin/gitlab-ctl start exec /usr/bin/gitlab-ctl stop


0

It is solved by making changes in /etc/apache2/apache2.conf file. Made changes on line no:166. Form None to All.


0

To auto login user USER on first console terminal (tty1) edit file /etc/init/tty1.conf : sudo nano /etc/init/tty1.conf and replace last line exec /sbin/getty -8 38400 tty1 with this: exec /bin/login -f USER < /dev/tty1 > /dev/tty1 2>&1 Next time you boot your machine USER will automatically log into his account on tty1. Edit 1 Install ...


1

Try using a free VPN service like hide.me, you can check it out, the free service limits the ip to US servers/ Canada servers so you can access your netflix account easily without bothering to connect to your router.


0

To drag and drop files between your desktop machine and a server, there is no need to install a GUI on your server, let alone VNC into it. In Nautilus, click "Connect to Server". Then for the server address type sftp://servername/path. If the target folders are Samba shares, you could also use smb://servername/sharename.


0

It's not really an direct answer for your problem, but if your goal is to have the system run even when one drive fails, a raid 5 would do just that and give you more disk space.



Top 50 recent answers are included