How does one make a virtual ssh directory?
location: linuxquestions.com - date: August 29, 2012
I need a place to put my recovered files (which is why I need a virtual directory.), but my desktop computer does not have as much space as my laptop. So I need a way to send over the files, so I can finish the recovery. Both computer run Slackware64, my laptop runs current and my desktop runs stable.
Whole story about the recovery:
I accidentally deleted a very important directory on my external hard drive, and my desktop does not have enough space on it to recover it. (Which is why I have the external hard drive, is because I do not have enough space on my desktops hard drive.) But my laptop does have enough space, though extundelete seg faults on it, everytime because of how the libraries are set up on it.
How does one troubleshoot performance
location: linuxquestions.com - date: March 10, 2015
Today I had an annoying problem. I could not begin to find the root cause. Basically we have a group of server, some of them sharing the same resources like Netapp's mounts. The machine that had the most activity, was the most responsive. Two others were just dragging. I would try to bring up Ipython and it would just sit there for almost 30 seconds before it responded. This would not happen for all users. My account is pretty barebones with short PATHs and it seemed to work better that most. Finally after looking at the problem for a couple of hours, the issue went away. I still couldn't dtermine the issue. I looked at the output of nfsiostats, but nothing stood out. There was only one share whose numbers looked any different and it was the oldest of our netapps. I know this is going to happen again. I tried using kSar, but agin nothing stood out. Any recommendations for the future? Thanks.
How does one cite open source ?
location: ubuntuforums.com - date: August 4, 2009
Hello,
I am helping my professor write a paper about some specific open source software. He asked me to write about how to install this software on different distributions of Linux and from source. So I was able to do this by searching yum/apt-get repositories, and downloading source code (then reading the README text files). Now he wants me to cite the information that I used to aid in instillation, and I am having a hard time discovering how to do this. Any help would be appreciated. Thanks.
How does one discover if AMD 790X chipset support is in a given kernel?
location: linuxquestions.com - date: November 15, 2007
It's been years since I compiled my primary machine's kernel
( not necessary, nowadays )
and think I remember having to choose the chipset,
and I know that the BeOS coders said that chipset was more crucial than CPU,
in whether one's kernel would function in the OS in question, so. . .
How does one discover when the new AMD chipsets ( 790x series ) are supported,
to what degree they're supported,
and in which kernels?
I've tried grepping the entire 2.6.23.1 "make config" display
( ran script,
did make config because xconfig & gconfig & menuconfig didn't work,
held Enter down while scrolling through countless screens of m/y/n type answers,
grepped the typescript file )
and then the entire dang tree, itself, and haven't found any "amd.*790" anything. . .
grep -i "amd.*79" -r * \
| grep -v -i "amd.*7930\|am.*79c\|amd.*799"
( net drivers, sound? whatever, they weren't 790 anythings, anyways, nor any 79X or 79XX
How does one install TesseractOCR 3.03 in Ubuntu/Linux distributions?
location: linuxexchange.com - date: June 14, 2014
A friend and I are interested in training the tesseract-OCR engine for a CV project. We tried using some wrappers such as PyTesser and pyocr, but the results are currently not as accurate as we need them to be. As such, we want to try training the tesseract to perform better for our purposes (i.e. identifying text on food labels), but are having some trouble installing the training tools.
What we've tried:
Looking on the google code website, the 'Compiling' page on the tesseract's google code wiki says the training tools are only available on version 3.03. However, the google code 'Downloads' page for tesseract-ocr only has the materials for 3.02. The bottom of the 'Compiling' page also has some comments about installing version 3.03 on Windows and OSX, but no comments yet for Linux users.
There also appears to be some sort of 3.03 source package for Ubuntu but we're not sure how to access it on our computers and the 'Compiling' page says we need to run these commands:
make traini
How does one install MarkLogic 8 on Ubuntu 14.04?
location: linuxexchange.com - date: June 19, 2015
What are the steps to install MarkLogic 8 on Ubuntu 14.04?
How does one make a Zip bomb?
location: linuxexchange.com - date: October 10, 2012
This question about zip bombs naturally led me to the Wikipedia page on the topic. The article mentions an example of a 45.1 kb zip file that decompresses to 1.3 exabytes.
What are the principles/techniques that would be used to create such a file in the first place? I don't want to actually do this, more interested in a simplified "how-stuff-works" explanation of the concepts involved.
p.s.
The article mentions 9 layers of zip files, so it's not a simple case of zipping a bunch of zeros. Why 9, why 10 files in each?
How does one submit a potential patch to the Linux kernel?
location: linuxexchange.com - date: September 14, 2013
We have some software which relied on certain behavior from another (very commonly used) application that has now changed, rendering our current implementation workable, but less than optimal.
We believe that this change may have affected a number of other applications, particularly in the performance monitoring arena, and we have found a solution that we believe will improve a slew of other potential problems.
Unfortunately, said solution is a kernel change (relatively simple but high-impact if we stuff it up) and we have no experience in submitting kernel patches for review.
Has anyone on SO actually submitted a patch (while I'd appreciate all answers, I suspect the best ones will come from those that have been through the process, even unsuccessfully)? Have you had it accepted (what are the chances that Alan Cox et al hangs about on SO)?
What is the correct process to follow? I have no intention of sending off an email to Linus since I know he has a cadre of protectors that you'
How does one reclaim zeroed blocks of a sparse file?
location: linuxexchange.com - date: February 23, 2015
Consider a sparse file with 1s written to a portion of the file.
I want to reclaim the actual space on disk for these 1s as I no longer need that portion of the sparse file. The portion of the file containing these 1s should become a "hole" as it was before the 1s were themselves written.
To do this, I cleared the region to 0s. This does not reclaim the blocks on disk.
How do I actually make the sparse file, well, sparse again?
This question is similar to this one but there is no accepted answer for that question.
Consider the following sequence of events run on a stock Linux server:
$ cat /tmp/test.c
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
int main(int argc, char **argv) {
int fd;
char c[1024];
memset(c,argc==1,1024);
fd = open("test",O_CREAT|O_WRONLY,0777);
lseek(fd,10000,SEEK_SET);
write(fd,c,1024);
close(fd);
return 0;
}
$ gcc -o /tmp/test /tmp/test.c
$ /tmp/test
$ hexdump -C
How does one make sure or even guarantee server time are sync correctly between dozens of servers across multiple datacenter on different location?
location: linuxexchange.com - date: August 31, 2011
Currently our web applications contain a logic to check if the data sent to the web server is expired or not by comparing the timestamp of the data with the date/time of the server.
Everything goes will, until some dude from data center accidentally modify one of the web server date/time and causes some disruptions in our web services. My managers are of course not happy with this, and said we shouldn't use timestamp to check expiry in the first place...anyway....
Network Time Protocol is implemented, because of data centers are spread across different continents so we have one NTP server in each data center. The servers within the data center will have cron jobs to check against the time with their NTP server from the same data center. If time is out of sync it will auto update the server date/time.
But then with our managers not happy with it, and think it could still easily causes the same problem. e.g. what if someone accidentally modify the NTP date/time? what if all the NTP se
please wait...
Page: 1 2 3 4 5 6 7 8 9 10