I currently run these java applications with the following command via root: java -Xms1G -Xmx1G -jar /var/www/tekkit.socialnetwk.com/tekkit.jar nogui Although if I close the terminal window those applications close/stop. Is there anyway to stop this from happening? Either creating it as a service or to start it on boot. I’ve tried rc.local but no luck. I’m running on Ubuntu – Newest.
Tag: ubuntu
Bash – one-liner echo with delimiter
So my sample code so far looks like this: I want to be able to echo it out to make it look like the following: But the problem is that when I tried using AWK, sed, or IFS they also use n as delimiters which I don’t want that to happen as the text gets all messed up. Is there
Internal cmake error while building trilinos on ubuntu 32bit
I’m trying to build the library trilinos on a 32bit ubuntu virtual machine. I wrote the following configuration script: When I execute it with the ksh command in the terminal, I get the following error: CMake Error: CMAKE_Fortran_Compiler not set, after EnableLanguage Answer It appears you do not have a Fortran compiler installed. This is why cmake cannot set CMAKE_Fortran_Compiler
How to substitute text which has implicit meaning in vi
I have a C code in vi from which I want to replace the text “n” with something else. Use of %s:n:(anything else) isn’t working. Is there any way to bypass this? For example,a line in the code is: printf(“Hello worldn”); In vi, I need to replace “n” in the printf line with a full stop. Use of substitue command
Effect on other window drive while install ubuntu on windows 7?
I want to install Ubuntu alongside with my window 7. Currently i have 6 partition with window 7 as C:, D:, E:, F:, G: and H:. My window file reside in C: drive. What will be the effect on other drives if i install Ubuntu alongside with window install? What will be the effect on data contained in other drives?
Corrupted filesystem tarfile – corrupted package archive Ubuntu
I’m trying to compile and install an open source application on Ubuntu. I can make the application, make the installer, and make the package. I don’t see any error during those steps. when I issue the dpkg -i to install it if fails with the following error. dpkg: error processing archive application.deb (–install): corrupted filesystem tarfile – corrupted package archive
Installing VTK: matching usr/lib/libGL.so path to the one in build system config
I’ve been trying to install VTK on my Ubuntu 14.04. I had some trouble getting things to configure since it couldn’t find OpenGL, but I (thought I) fixed that by using and as was suggested in this question. However, now I can’t run make because the path to libGL.so isn’t correct. I’ve been searching and finding all sorts of strange
Where & How is user group information stored in Ubuntu?
Mirror Question: https://unix.stackexchange.com/questions/217300/where-how-is-user-group-information-stored-in-ubuntu. (I’ll remove one of them after I got the answer) Two places possible: /etc/group and /etc/passwd. If I use command: adduser [username] [groupname], then the user would be added to the group, and the file /etc/group would then be updated. However, the file /etc/passwd is not updated. if I check which group I belongs to, via groups
Linux ubuntu how to stop cron status mails like “Cron /usr/bin/php /var/www/myproject”
Since couple of days i’m getting unwanted cron status emails from my server. Tried MAILTO=”” but still receiving mails. Please help me to get rid of this emails. Thanks in advance. Answer cron will email you anything that appears on stdout, so redirect stdout to /dev/null in your crontab entries. eg:
ELF file exists in /usr/bin but turns out “-ash: file: not found”
i’m trying to install some new software package under openwrt using opkg,and the installation has been successful,and we can see the binary file really exists in the /usr/bin,and i have trird the lld check but turns out the same . as below: thanks. Answer As mentioned by @nos in the comments on the question this can happen if binary is