« first day (97 days earlier)   

1:07 AM
1
Q: Linux (Ubuntu 12.04) getting horrible multithreaded performance?

BackpackOnHeadI have a multithreaded file converter that I'm working on. On Windows, it puts each file that's being converted in its own thread and uses 100% CPU (on all cores) all the time. It's awesome! On Ubuntu, I get 100% on the first core and ~10% on all the rest. The performance is poor and disappointin...

 
 
2 hours later…
3:11 AM
0
Q: local man page

ToolI'm reading a book on administration and I'm wandering whether my answers are correct related to the man command. I'm running Ubuntu. Qstn1: How would you read sync’s local man page that was kept in /usr/local/share/man? My answer is man l sync but I don't think I'm correct because it...

 
3:44 AM
0
Q: What is PAG application for Linux or Ubuntu?

william007Hi I have seen PAG mentioned in this document, http://www.mediafire.com/?jwmpd4uu03bm28b May I know what is it, and where could it be downloaded? Thanks!

 
4:14 AM
0
Q: .bashrc: shopt: not found

ChrisJust provisioned a new Rackspace instance with Ubuntu 12.04 and pulled down rbenv from their github and installed it. I'm getting the following errors when executing . ./~bashrc $ . ~/.bashrc sh: 18: /home/deployer/.bashrc: shopt: not found sh: 26: /home/deployer/.bashrc: shopt: not found sh: 1...

 
4:44 AM
0
Q: Is it safe to only allow SSH access from certain IPs?

Tybone TenI'm currently installing CSF (http://www.configserver.com/) for my Ubuntu server and in CSf you're able to specify the ports you want everyone to be able to access, and if your IP is in the allowed list you can still access any port even if it isn't on the port list. I was wondering if it'd be st...

 
 
3 hours later…
7:53 AM
1
Q: how to install boost 1.40 on Ubuntu 10.04?

sweetyBabyI have downloaded the file from http://sourceforge.net/projects/boost/files/boost/1.40.0/boost_1_40_0.tar.gz/download However, I don't know how to install it after downloading the file.

 
8:23 AM
0
Q: Importing matplotlib on Ubuntu

umpsSo I downloaded and installed matplotlib. The weird things is that I can run the examples fine when they were placed in home/user/Desktop but when I moved them to home/user/Documents, they stopped working and I get the below message. Is there something special about the Documents folder that the...

 
8:53 AM
0
Q: Can not put anything into /var/lib/tomcat7/webapps/ROOT/

SudhI was starting on JAVA web development today and encountered some problems, I installed my tomcat7 on my ubuntu machine. Now when I browse to //localhost:8080, I get the default welcome page saying: This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat...

 
 
2 hours later…
10:26 AM
0
Q: Mount a volume within a mounted volume

stivloI am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions. /tmp for temporary files /var so that log files and mysql DBs have their own disk /var/www for websites Now /var/www would be mounted within /var I wond...

0
Q: What happens if a son process won't close the pipe from writing , while reading?

ronGiven the following code : int main(int argc, char *argv[]) { int pipefd[2]; pid_t cpid; char buf; if (argc != 2) { fprintf(stderr, "Usage: %s \n", argv[0]); exit(EXIT_FAILURE); } if (pipe(pipefd) == -1) { perror("pipe"); exit(EXIT_FAILU...

 

« first day (97 days earlier)