Tag Info

New answers tagged

0

"Server-side JavaScript" usually refers to Node.js (or the Node fork, io.js, which is being merged back into the Node project). What is Node.js? On its own, Node is not a server. It also isn't a language. At its core, Node is just an environment in which you can run JavaScript code. They've taken Google's open source V8 JavaScript engine (which is used in ...


0

Try: su - username I had the same problem and I took a look at the su manpage and noticed the login flags under options. Are you logged in as root when you do this work? If so, using su without loading the target user environment could result in this kind of error. -, -l, --login Provide an environment similar to what the user would expect had the ...


0

use rcconf to enable/disable a service to auto run on boot. sudo apt-get install rcconf Now, type sudo rcconf And you will see list of services that are installed on your Ubuntu machine. Those marked with star are auto run during boot process. To disable Apache, MySql just navigate to it using arrows and press space bar. Then navigate to OK button using ...


1

As muru suggested, disabling Puppet repos allowed for the upgrade to continue.


1

I use this script to get Data and Control ports for 3g usb dongle. #!/bin/sh . /usr/share/libubox/jshn.sh for a in `ls /sys/bus/usb/devices`; do local vendor product [ -z "$usb" -a -f /sys/bus/usb/devices/$a/idVendor -a -f /sys/bus/usb/devices/$a/idProduct ] || continue vendor=$(cat /sys/bus/usb/devices/$a/idVendor) product=$(cat ...


1

Two possible cases: your apache server is off to run it sudo service apache2 start Or you misstype the name of your website page


0

You can now install the "latest" (3.19) Ubuntu kernel directly from the repositories: sudo apt-get apt-get install linux-headers-generic-lts-vivid linux-image-generic-lts-vivid This will install kernel stable Ubuntu kernel (as of today, version 3.19.0-18) for Vivid. Hope this helps!


0

A widely-used package, especially in combination with mail services, is clamav. It is fairly easy to install, and you will find tutorials quickly. As a quick start : sudo apt-get install clamav clamscan -r <insert repository you want to scan here> sudo freshclam


1

Also, Sophos has a free antivirus for linux and also has tools for linux servers. See here: www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx You may also want to check out security stackexchange: security.stackexchange.com


2

Upstart scripts need to end in .conf. To rename your file, run: sudo mv /etc/init/minecraft-server /etc/init/minecraft-server.conf ...followed by: sudo initctl reload-configuration


0

As of May 2015: DansGuardian itself is no longer maintained. Nowadays, many websites (such as Google web search and Google image search) are served up over SSL; I don't know how well classic DansGuardian handles SSL filtering. Mind Web Filter, an old DansGuardian fork, is now an abandoned project. There have been no commits for years. The current ...


5

Quoted from https://wiki.ubuntu.com/LTS LTS is an abbreviation for “Long Term Support”. We produce a new Ubuntu Desktop and Ubuntu Server release every six months [diagram below]. That means you'll always have the latest and greatest applications that the open source world has to offer. Ubuntu is designed with security in mind. You get free ...


0

Add the "text" flag to a grub boot option. See the steps here to add a new boot option: How to add a GRUB2 menu entry for booting installed Ubuntu on a USB drive? When you add the code: menuentry "Install on sdb1" { set root=(hd1,1) linux /vmlinuz root=/dev/sdb1 ro quiet splash initrd /initrd.img } Make sure to add text after the word ...


0

If you mean by a Beowolf cluster a MAAS cluster, you're on-topic at Ask Ubuntu. There is a huge difference between multi-threaded and clustered computing. The y-cruncher algorithm is a multi-threaded algorithm and needs shared memory to be able to function so computing π using that algorithm is not easily done on a cluster. Anything that can use ...


0

Before running your command (sudo hostapd -dd /etc/hostapd/hostapd.conf), run follow command sudo nmcli nm wifi off sudo rfkill unblock wlan Or downgrade hostapd to version 1.


0

Press Ctrl+Alt+F2 to access the normal console again, log in, and investigate - run ps auxfw to see what processes are running, read the log files in /var/log, etc.


1

You can recover the instance data by deploying your SSH key to a new copy of the instance, see e.g. http://stackoverflow.com/questions/3260739/add-keypair-to-existing-ec2-instance


0

For me, MySQL broke after I upgraded from 14.04 to 15.04 and after I switched from systemd back to Upstart. Interestingly, I could start mysql manually, but I could not get it to start via /etc/init.d/ (i.e., with sudo service mysql start). After reading over the Ubuntu Upstart script, it became clear that Ubuntu expects apparmor to be present in order to ...


0

The sftp protocol does have a keep alive features but they are not exposed in the filezilla client. Still I don't believe such a setting should be necessary. I'm failing to reproduce your problem. I have had a Filezilla connection open to my Ubuntu ssh server for over 20 hours without any disconnects. So I believe that problem is network related. Do you ...


0

In my case, upstart service depended on the script located in vagrant synced folder. Solved the problem using the following line: start on vagrant-mounted More info: http://razius.com/articles/launching-services-after-vagrant-mount/


1

As well as the NFS port itself (port 2049), I think you will need to open the portmapper service port (111). I'm not smart enough to use iptables directly, so I would use ufw for this. You can restrict the allowed network range using CIDR addressing e.g. sudo ufw allow from 192.168.1.0/24 to any port 111 If that still doesn't work, you may need to ...


1

Try. Change pleases of ip and port sudo iptables -A INPUT -s 2.2.2.2 -p tcp --dport 2049 -j ACCEPT


0

Let's start Create user ubuntu sudo useradd ubuntu Make password sudo passwd ubuntu Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Create for SFTP only group xxx@xxx:~$ sudo groupadd sftp_users Add to a user "ubuntu" for SFTP only group xxx@xxx:~$ sudo usermod -G sftp_users ubuntu Make dir for sftp ...


0

DHCP server only seeing packets on the root eth0 device and ignoring all the packets on the vlan devices For multi network we must to create vlan's Install the VLAN support package. For example, type: sudo apt-get install vlan Edit your /etc/network/interfaces file for something like this: iface eth0 inet static address xxx.xxx.x.x ...


2

dap is not an option for pbrun. dap is the command that is to run under username through pbrun. Dap is a small statistics and graphics package based on C. Version 3.0 and later of Dap can read SBS programs (based on the utterly famous, industry standard statistics system with similar initials - you know the one I mean)! The user wishing to perform basic ...


2

dap there is the command being run through PowerBroker. Full usage: pbrun [-v][-n][-p][-d option] [-h hostname] [-u username] command [args ...]


3

pbrun is used to request that an application or command be run in a controlled account. -u username sets the requesting user to be username. In your case, the command dap is started for the user [username], it's not an option for pbrun. Sorry @Rinzwind, OP asked: Dap is a statistics and graphics program, that performs data management, analysis, ...


2

For TightVNC the default port is 5900 plus the display number, so 5901 for the first display, etc. The server has an undocumented command-line option to override this port number -rfbport 5900 Should manually set the port number to 5900. Experiment with it.


0

to install and allow openssh server type : sudo apt-get update sudo apt-get install openssh-server sudo ufw allow 22 You can connect via SSH to your server by typing : ssh username@yourserverIP


1

The SSH key uploaded to the remote server is the public key, which is one of two parts of the actual "SSH Key". It is designed to be 'publicly' disclosed to remote servers, as you need the corresponding private key which is stored on your computer to work with the connection. (An analogous example is PGP encryption which works in a similar way - the PGP ...


0

If SSH on the server side allows key authentication only and the private key on the client (your) side it lost, you need to contact the system administrators, connect a monitor to the machine (depending on your possibilities to access the server). If you get a password: prompt when you run ssh root@[ip], then you should try a password you might have set on ...


0

After a bit more searching, I found the answer was the MySQL setup. In the /etc/mysql/my.cnf, MySQL was only listening on port 3306 for local traffic. This was fixed by removing the line bind-address = 127.0.0.1 in the my.cnf file.


0

Here are some links you might want to take a look at. IMPORTANT Read this first if you want to follow these tutorials! You will need nodejs and npm Do what this says. Then run this: sudo npm install npm -g Server Side Javascript Node.js Socket.io Express Tutorials Socket.io Chat Tutorial Express Tutorial


0

This is same Realtek driver problem. You can install a good driver with fixes. Run sudo apt-get install git git clone https://github.com/lwfinger/rtlwifi_new.git cd rtlwifi_new make sudo make install And reboot.


3

As long as there's anyone who has root access to the server, you cannot achieve this. With root access any file can be changed no matter what permissions or ownership you apply.


0

Use the following command sudo gedit /var/lib/NetworkManager/NetworkManager.state make sure that these attributes are identical. [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true Save the file and restart network manager as follows: sudo service networkmanager restart sudo service network restart Use the following command if you ...


0

If you just want to access your server via command line use ssh. I would suggest to use it with a private key setup. Another alternative is SoftEther as a kind of successor to OpenVPN. You can find a tutorial here.


0

Here are your answers: If you need maximum security I suggest to use a VPN. I suggest OpenVPN, you can find details over here: wiki - VPN. If you don't want to use VPN you can still open your router ports to web, please consider changing port numbers (for instance don't use port 80 for http) For 'watching streams which are only available in The ...


4

I'll try to be as brief and simple as possible. OpenSSH Server:- It is a server that allows remotely controlling or transferring of files between computers. It allows you to remotely control the files on the sever via an OpenSSH client application. DNS Server:- It is a server that points a domain name to an Ip address of a computer. Its like a ...


9

The term "server" means a piece of software that offers a service to clients. A server usually waits for a client to contact it, and then sends the reply to the client. For further information, read about the Client-Server-Model OpenSSH server SSH (Secure Shell) is a protocol to get encrypted remote access to a machine. The machine you want to access ...


-1

List the tasks that would be displayed in the tasksel interface: :~$ tasksel --list-tasks u server Basic Ubuntu server u openssh-server OpenSSH server u dns-server DNS server u lamp-server LAMP server u mail-server Mail server u postgresql-server PostgreSQL database i print-server Print server u samba-server Samba file server u tomcat-server ...


0

Let's try something else. Start fresh. Disable firewall and remove all rules without the cruft that UFW adds and leaves behind even when you stop it: sudo stop ufw sudo iptables -F sudo iptables -X sudo iptables -t nat -F sudo iptables -t nat -X sudo iptables -P INPUT ACCEPT sudo iptables -P OUTPUT ACCEPT Is your application currently listening on this ...


1

I found my problem, I was trying to install grub in the wrong root directory. Instead of: sudo grub-install --root-directory=/mnt /dev/sda I did: sudo grub-install --root-directory=/ /dev/sda


0

Is there somewhere else to look? Yes: systemctl status plexmediacenter systemctl status plexmediaserver journalctl -e -x I have to do it manually now systemctl preset plexmediacenter is probably going to be your friend. But that's getting ahead of yourself. Read the logs first. Further reading Problems starting plexmediaserver on Kubuntu ...


0

Looks like for Ubuntu 12.04.02 (older than the one I tried which is 12.04.05, newest one) it all looks fine and I don't have to fix sources.list there. Altough maybe it's because Razor took care of it...


0

So what else changed that would have messed up the udev rules? PCI address somehow? MAC? Would an EFI update have actually touched the NICs? (Perhaps if the onboards are also Intel NICs and it was more than just an EFI update...) but that's really a stretch. solsTiCe is right, the udev rule should have prevented that from happening.


0

Changing ownership of /var/www from apache to nobody, is not a good idea ;) Maybe try instead usermod -d /var/www -m ftpuser and go from there?


1

Try iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT


0

To scan local network you can use arp-scan or netdiscover sudo arp-scan -local you will get output on all pc on the lan xxx@xxx ~ $ sudo arp-scan -local [sudo] password for xxx: Interface: eth0, datalink type: EN10MB (Ethernet) Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/) xxx.xxx.xx.2 6c:62:6d:ce:71:0c ...


0

the command nmap is useful to quickly scan networks. To install nmap, sudo apt-get install nmap. Once it is installed, run the command nmap -sP 10.10.1.0/24 Replace 10.1.1.0 with yours Another solution the command arp will show you a list of the IP's in your network plus the MAC addresses associated with. run the comamnd arp results Address ...



Top 50 recent answers are included