Hi there! I have a cron job running a PHP script every five minutes; the PHP script executes two bash commands at the end of the script. I know the script is running due to a log file it appends to. When I run the PHP script manually via the Ubuntu Gnome Terminal both bash commands execute flawlessly; however when the PHP script is tr...
Somehow I've managed to completely bugger the install of postgresql on Ubuntu karmic. I want to start over from scratch, but when I "purge" the package with apt-get it still leaves traces behind such that the reinstall configuration doesn't run properly.
After I've done:
apt-get purge postgresql
apt-get install postgresql
It said
S...
how do you configure rotation of syslog log files on ubuntu?
in my /etc/syslog.conf, i have this line:
local1.* /var/log/log.txt
over time, the following backup files have appeared:
/var/log/log.txt.0.gz
/var/log/log.txt.1.gz
how do i configure how often these files get generated, and how to clean them out?
...
Hello there,
I used to program in Windows with Microsoft Visual C++ and I need to make some of my portable programs (written in portable C++) to be cross-platform, or at least I can release a working version of my program for both Linux and Windows.
I am total newcomer in Linux application development (and rarely use the OS itself).
S...
I am trying to use the new facebook api and it requires libcurl PHP. I used
sudo apt-get install php5-curl
sudo apachectl -k restart
And it didn't work. I get the same error and the phpinfo() page says nothing about libcurl.
The source of this problem is probably that I built some of the tools from source (apache2, php), but the...
I have the following directory tree.
When moving around to/from VirutalBox, the file permissions are changed.
So, I know/not that ack can be used to do it recursively from the command line.
Can someone please show the command for ack to chmod 644 all the *.rb files?
[~/dotfiles (master)⚡] ➔ tree
.
|-- cap_bash_autocomplete.rb
|-- dotf...
I have some troubles with a Ruby gem named Bundler. My OS is Ubuntu 10.04.
My environment is as follows:
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby1.9.1/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXEC...
Is it possible to change the font-size of text in a gltext screensaver? I'm using gltext as implemented by Ubuntu 10.04/gnome.
...
Can I install an older version of gcc/g++ (4.1.3) on the latest Ubuntu (which comes with 4.4.3) and use it to compile a .so which should run on CentOS? The binary compiled with the Ubuntu version of gcc fails to load on CentOS because of missing imports (GLIB_2_11, ...). I need C++ (including exceptions), so I can't just statically link ...
I am working on rolling a bit of my own version of linux for my real time car application. I plan to base it off of minimal ubuntu (only needsd 32 MB of memory). I am not the most skilled person with linux so not really sure how to assess components when adding them to my system. What I am looking for is a lightweight windows manager ...
Scala comes packaged with bluefish syntax config in misc/scala-tool-support/bluefish/
I have attempted to configure this, as per the README, but there is no effect.
cp ~/.bluefish/highlighting ~/.bluefish/highlighting_
cat ~/.bluefish/highlighting_ /opt/scala/scala-2.7.7.final/misc/scala-tool-support/bluefish/highlighting > ~/.bluefis...
I started learning vim today and installed it using
sudo apt-get install vim
Now, when I try to do something like :5dd it gives me the not an editor command error. I'm not sure why this is.
Am I doing anything wrong? I looked at tutorials and everywhere I look I see that 5dd is a valid command.
...
Hello all,
I have installed native apache and mysql,php in my linux server. I tried a page using phpinfo() and it worked.But when I try my own pages, the execution of the page stops when it comes to the php tag, even the css tag following it doesn't come to the browser. Please help me how to fix this issue.. Thanks in advance
...
Hello:
I have downloaded the latest GLUI source code and now I am trying to compile it. When I do so, I get the following error:
g++ -O0 -Wall -pedantic -I./ -I./include -I/usr/X11R6/include -o bin/example1 example/example1.cpp -L./lib -lglui -L/usr/X11R6/lib/libXdmcp.a -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm
/usr/bin/ld: cannot...
So I'm using this website:
http://www.howtoforge.com/ubuntu_debian_lamp_server
to setup LAMP on my Ubuntu Virtual Machine.
Here is my question though,
This will enable me to program and test through localhost. How can I set this up so anyone on the web can access my .php pages from any Internet capable device, and they will still int...
This is probably a very difficult problem to troubleshoot with the information I can practically provide, but I'm hoping someone might be able to at least point me in a possible direction.
I'm trying to install HTK (http://htk.eng.cam.ac.uk/), which, according to this page needs to be installed using gcc 3.4. Their method of implementin...
I'm developping a very simple app on my Ubuntu using QtCreator.
It's a console application and I want the user to enter its name, and then I display his name. Here is the code :
#include <iostream>
int main(int ArgC, char* ArgV[])
{
char Name[1000];
std::cout << "Type your name : ";
std::cin >> Name;
std::cout << "He...
Hello,
I'm currently working in web development and my default desktop is Ubuntu and I'm kind of happy with the setup and applications I got going. But I need to test web pages for cross browser compatibility while still being on Ubuntu.
I have gone through hell trying to get IE7 or IE8 (with wine) to run on ubuntu and when they finally...
Hi! I have following problem - i`m running Java WS application. The server side (Axis2 WS Modules on Apache Tomcat) is running at Ubuntu server. The problem is when i get some information from client side in cyrilic and store in database it goes like "?????". If i add data in db directly(From Remote MYSQL Console - there is NO problem). ...
Hi,
I was trying to get gcc give error message in a different language. But it still gives me the error message in english.
my locale output
varun@varun-desktop:$ locale
LANG=en_IN
LC_CTYPE="es_EC.utf8"
LC_NUMERIC="es_EC.utf8"
LC_TIME="es_EC.utf8"
LC_COLLATE="es_EC.utf8"
LC_MONETARY="es_EC.utf8"
LC_MESSAGES="es_EC.utf8"
LC_PAPER=...