Tag Info

New answers tagged

0

To answer my own question, here's what I did to solve the issue I had: sudo chgrp -R www-data ~/public_html/ sudo chmod -R g+w ~/public_html/ Then, nginx was able to write to the public_html folder and problem solved! It might seem straightforward (and there are countless threads on StackOverflow referring to this particular solution), but somehow I ...


0

Create a new user first: sudo useradd samba-guest. Search your smb.conf for guest account. Set this to samba-guest (guest account = samba-guest). Now restart Samba and it should work. For more info, please click here. Note: don't forget to give samba-guest read permissions for /var/www/html/store.


3

The Server edition of Ubuntu does not come with a GUI by default. You can either use the Desktop edition, or you can install a desktop package manually. Just log in with your user name at the prompt you see and then run sudo apt-get install ubuntu-desktop That will bring all the files and packages necessary to run a GUI on the server. Before you do this, ...


1

It's normal as Ubuntu server does not provide a GUI. Most of the time server installations run in headless mode. If you need the full Ubuntu Desktop (the GUI started by lightdm) then you have to reinstall your system with one the desktop iso.


0

Mail-In-A-Box A very interesting open source project that turns a ubuntu machine into an email server: https://github.com/JoshData/mailinabox


1

Create a VM from command line We can fully create and control Virtual Box from the command line using VBoxManage. This involves all of the follwing steps nicely outlined in the Virtual Box Manual: Create and register a virtual machine making sure the ostype is correct. Make appropriate machine settings (RAM, VRAM, CPU, network, etc.) Create a virtual hard ...


0

This is a link to a tutorial http://www.howopensource.com/2011/06/how-to-use-virtualbox-in-terminal-commandline/ This is a list of Virtual Box commands http://www.virtualbox.org/manual/ch08.html#idp55479184


0

Here are the answers to your questions: No, you do not need to install it on a virtual machine. Yes, you can use Ubuntu Server instead of Ubuntu Desktop (http://www.minecraftforum.net/topic/2563438-should-i-use-ubuntu-server-or-ubuntu-desktop/) The list of commands that are available on a server is dependent on what software is installed. If you open the ...


0

Use Nautilus (File explorer) Right-click that folder, select Properties then Local network share. Change the Share name and then click Modify share button.


0

After some more research I found the answer by myself. In VirtualBox, the additional ethernet adapters that are connected to the "Internal Network" have to have the same name if they are on the same subnet. For example in my case subnet 20.0.0.0 that includes Softphone1(eth1) and DHCP-Server(eth1) is connected to the "Internal Network" neta. In both VMs ...


0

This is how you create a .ovpn file: Create a new txt file and rename as yourname.ovpn. Paste the following in into the txt file and replace with your domain name: client dev tun proto udp remote YOUR.DOMAIN 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt tls-client remote-cert-tls server auth-user-pass comp-lzo verb 1 reneg-sec 0 a ...


0

ANSWER: scrolling or "piping" through results can be achieved in some interesting ways. more Add | more after a command. This will enable you to scroll through results line by line by either hitting enter. When you reach the end of the list you return to the command-line. This can also be done by hitting space. less or sensible-pager Add | less ...


1

What about sensible-pager from the sensible-utils package which is installed by default in Ubuntu: command | sensible-pager


1

I'd pipe it through less command | less Bit of a nicer feature set than more IMO.


1

You can use | more For example ls -la | more It shows the top bit of the results and you can then use space or the down arrow to navigate downwards. Similarly, use it with any other command that produces too much for you to see at once. For a bigger screen experience though, consider SSHing into the guest OS.


0

Get a good sysadmin, that's the only way to protect from external and internal threat. Paranoid talking: encrypt postgresql, use HTTPS, if possible use it in LAN only otherwise install gateway and use VPN only, use captive portal, upgrade to Ubuntu Server 14.04 LTS (then install the desktop on top of it), make sure all updates run automatically by cronjobs ...


0

EDIT: Nevermind, I now think it was because I had used LWP, and it had mangled my config files. I'm leaving the below info, just in case it was both things. TLDR: are you dealing with clones of an image? If so, make sure you start up the base image (the one created with lxc-create, not lxc-clone) at least once before you clone it. I was experiencing a ...


0

There are a number of parameters that can be adjusted within MySQL's configuration file that will allow you to improve the performance of the server over time. For initial set-up you may find Percona's my.cnf generating tool useful. This tool will help generate a my.cnf file that will be much more optimised for your specific server capabilities and your ...


0

You have to ssh with an ubuntu user account, gitlab_ci and gitlab user account are independent of the os user accounts although some people may use the same password for both accounts.


0

what do you mean by saying to store all login information on Ubuntu server???? well i have done this kind of thing recent days.. On my server I just created virtual machines for each user, that can connect to my server and assign it userName and Password through the Following Commands.... run it on your Ubuntu Server's Terminal.... VBoxManage setproperty ...


1

You'll need administrative privileges to edit a file which is not owned by you. To execute the command echo server1.example.com > /etc/hostname, you will have to do the following: sudo -i enter your password if you are the administrator or if you are not, ask the administrator to enter the password and then echo server1.example.com > /etc/hostname ...


0

Looks like pNFS is part of NFS 4.1. Linux kernel has added some NFS 4.1 support. However pNFS support is still under active development. To get pNFS support on Linux, you have to compile pNFS enabled kernel from source. Source code can be found at PNFS Development Git tree Then, dependent on whether you want to have the client side or the server side ...


0

It has been mentioned in man pages for ages. No idea how to use it past the Red Hat documentation. I'm not sure it's actually a finalised spec yet so tread carefully.


0

Try to add interface in sudo nano /etc/default/isc-dhcp-server which will be used for dhcp req and answare. #Defaults for dhcp initscript #sourced by /etc/init.d/dhcp #installed at /etc/default/isc-dhcp-server by the maintainer scripts # #This is a POSIX shell fragment # #On what interfaces should the DHCP server (dhcpd) serve DHCP requests" #Separate ...


0

You must change default port in virtual hosts file <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName example.com ServerAlias www.example.com [...] You need to change that to <VirtualHost *:8080> or <VirtualHost *:8000> or <VirtualHost *:8072> or <VirtualHost *:*>. Restart apache.


0

Install RVM with RUBY sudo apt-get install curl after install install rvm also ruby \curl -sSL https://get.rvm.io | bash -s stable if you face issue with the above line (Failed to connect to get.rvm.io port 443: Network is unreachable) in browser go to https://get.rvm.io save the page in any location make it executable file name ...


0

Didn't find the issue, but running through TCP/IP localhost made the server run, and it is good enough for this small server.


0

To answer your two questions: Yes and no, respectively. Ubuntu has long supported installation on Macs in BIOS mode. Most users opt to use the discontinued rEFIt or its updated fork, rEFInd, to manage such installations, although it can be done in other ways, too. Ubuntu does not support installation in EFI mode on 32-bit computers; however, there are ...


0

I'm sure there is a better answer than this. But I had the same error in my dev environment, ran sudo apt-get purge postgresql-9.1 and rebuilt everything in 9.3 with no issues. But I only had a couple users and small databases with migrations scripts, so you may not want to go this route.


1

From the information gathered in the comments, you don't have the /etc/motd file. Since this is just a symlink to /var/run/motd and you confirmed that you have that file just recreate the link with: sudo ln -s /var/run/motd /etc/motd Reboot the server. Trivia: motd stands for "Message of the day". It contains the information you see when you ...


0

SSH logins can fail for various reasons(incorrect directory/file permissions,incorrect keys etc.) and the connecting client will just get Permission denied or No more authentication methods to try or some generic error. The exact reason for the login failure will be available in ssh log /var/log/auth.log or /var/log/secure depending on the syslog ...


1

Use a conventional backup tool like tar or dump. The main reason for doing an image type backup ( which you can do with clonezilla ), is that it can image the entire disk, including the boot loader, saving you the trouble of having to restore that as a separate step when restoring the backup. Since you plan on only backing up the one partition however, ...


2

You can use the following command to find the installed software or packages: $dpkg --get-selections If you want to specific installed package or software then you can use following command: $dpkg --get-selections | grep <package/software name>


0

If SSH was the only way you were able to access this server before you changed the firewall settings, you have unfortunately locked yourself out of that machine. You will need physical access to fix it or be able to speak with your hardware provider to have someone there help you out. You can forward ports to "channel" your SSH connections, but this would ...


0

Turns out I just had to remove the lines gateway 10.0.0.1 broadcast 10.0.0.255 from /etc/network/interfaces. It then passes requests it doesn't know about on to the main router on the WiFi interface. Note however that the clients connected by wire don't get internet access with this, but this isn't much of an issue for me so I don't really ...


0

I had the same issue when attempting to install MariaDB 10 in Ubuntu 12.04.4 LTS, and neither of the other solutions worked for me. The root cause turned out to be a lack of memory (I had a VPS with 512MB). I found this out by looking in /var/log/syslog after attempting to install MariaDB, and I saw this: mysqld_safe[29684]: InnoDB: mmap(274726912 bytes) ...


0

The new version of Express (4.0) does not itself have a bin folder. You have to install express-generator to get the setup functionality. You are not doing anything wrong. Express has just changed the way it works. Have a look at this answer.


2

Since Apache 2.4, each virtual host file should have the .conf extension. You can rename each virtual host file to include the .conf extension: mv /etc/apache2/sites-available/example.com /etc/apache2/sites-available/example.com.conf Use the a2ensite command to add the virtual host: a2ensite example.com.conf And reload Apache: service apache2 reload ...


0

Apache2 needs an index file for / or it will return a 403 error. Create /home/inferusvv/www/index.html to fix this. You can also try to make Apache2 the owner of the folder using chown -R www-data:www-data /home/inferusvv/www.


1

Check this link: http://senthilthoppur.blogspot.com/2012/08/vsftpd-530-permission-denied-root.html You can try adding "userlist_deny=" in the "/etc/vsftpd/vsftpd.conf" file. If "userlist_deny=NO", it will only allow users in the file "/etc/vsftpd/user_list". You can also refer to : http://arstechnica.com/civis/viewtopic.php?t=112812


0

Try: Crowd start on (net-device-up and started postgresql) stop on stopping postgresql Confluence start on started crowd stop on stopping crowd Stash start on started crowd stop on stopping crowd JIRA start on started crowd stop on stopping crowd Reference: http://upstart.ubuntu.com/cookbook/ 6.32.2 Start depends on another service 6.33.2 ...


0

I forgot to add host in /etc/hosts: 127.0.0.1 localhost 127.0.0.1 bow.loc I think apache do it automatically


-1

I had a similar problem and I solved it with workarround described here: http://cirrus.ucsd.edu/~pierce/fix_ubuntu_usb/


0

To get cpu usage, best way is to read /proc/stat file. See man 5 proc for more help. There is a useful script written by Paul Colby i found here #!/bin/bash # by Paul Colby (http://colby.id.au), no rights reserved ;) PREV_TOTAL=0 PREV_IDLE=0 while true; do CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. unset CPU[0] ...


2

I think that there is an error in following line. org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [SELECT * FROM PLACE order by placeName]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'inindia.PLACE' doesn't exist You created table in inindia as named place, But you call it as ...


0

If you have a UEFI bios make sure you boot through uefi boot and not legacy. Grub is actually there but the bios doesn't allow it to start


2

Tmux is a rewrite of GNU Screen, tmux offers a variety of improvements. Some of the most important include a client-server model, which allows you to connect to a tmux session from multiple locations, and a cleaner configuration file format. Check out tmux’s FAQ to discover a list of ways it differs from GNU Screen. Use this command to install tmux on ...


0

If you need to manage files and folders, you can use sftp: 1. Open File Manager and press Ctrl+L 2. Type: sftp://remoteip/ If you want to view the remote ubuntu desktop (like teamviewer), you can use remmina: sudo apt-get remmina to install remmina remote desktop client


0

if you use a manual install, you can seperate out the home partition, and any other partitions you see fit. (if it's a server, it can be a good idea to have a seperate srv and or var partition. Yes, this would effectively wipe everything off the disk and install ubuntu. If you aren't planning on putting anything else on the server, or configuring your ...



Top 50 recent answers are included