General :: LAMP Set Up In Ubuntu10.04 Rev189 And CRONJOB?
Jul 12, 2010
I am a PHP developer.I have always used XAAMP(in Windows7) for development purpose. I am driven to turn to Linux now . I have installed Ubuntu10.04-rev189(Wubi) in Windows7 recently. I have a PHP script which require the following tasks to be performed.
1. Give permissions "777" to the following files and folders:_cache media images /configs.php mages/config_photo_preview.jpg
2. Set up cron jobs on your site like this: /usr/local/bin/php -q /your-site-root-dir/cron/index.php I need to get an environment like XAAMP and perform the above mentioned tasks.
View 1 Replies
ADVERTISEMENT
Jun 28, 2010
I am trying to configure LAMP environment on ubuntu10.04 Lucid system.I am writing the output & attaching files of output of different issues. PHP is not running,I cant figure out why its not working. To add this issue I would like to inform you that nanoweb server is working{I can see the page in web browser"It Works"}.Also MySQL is working fine. To summarize Linux-->Apache/Nanoweb but no bridge between MySQL--X--> PHP. guide me for right direction,how to approach this problem as i am unable to crack this common problem.
[Code]....
View 9 Replies
View Related
May 24, 2011
I have got two egg format files <birdsuite-1.0-py2.5.egg and mpgutils-0.7-py2.5.egg> ,and intended to install on my ubuntu 10.10 platform.Following the instructions googled on the web,the steps as follows:
1>sudo apt-get install python-setuptools
then cd to the directory contains the two egg files
2>sudo easy_install birdsuite-1.0-py2.5.egg
whereas the output came out to be :
bhli@ubuntu:~/EXEDIR$ sudo easy_install birdsuite-1.0-py2.5.egg
install_dir /usr/local/lib/python2.6/dist-packages/
Processing birdsuite-1.0-py2.5.egg
[code]....
View 4 Replies
View Related
Nov 28, 2010
how to install all backtracktools in ubuntu 10.10...
View 5 Replies
View Related
Nov 17, 2010
If you want to install rediff bol (messenger) in Ubuntu first you have to install Wine. Installation of wine software in two way. First way through the command line second way through the Ubuntu software center In first way you go to applications---> accessories ---> Terminal and type sudo apt-get install wine after installation complete you should install Microsoft's True Type fonts: sudo apt-get install msttcorefonts in the second way you go to applications ---> Ubuntu software center ---> in search box type wine It will show Wine Microsoft Windows Compatibility Layer (Beta Release) Wine Microsoft Windows Compatibility Layer Q4Wine (GUI configuration tool for wine) in this you should install Q4wine (GUI configuration tool for wine) install first second you install Wine Microsoft Windows Compatibility Layer (Beta Release)
after that you install Wine Microsoft Windows Compatibility Layer after installing you download Rediff Bol 8.0 Messenger.exe from [URL]... after download is completed you go to places ---> download and copy Rediff Bol 8.0 Messenger.exe and past it Desk top now Right click on Rediff Bol 8.0.exe and open with Q4wine after open you will see one box that is Run Program and press OK button now you will see a new box Q4Wine:. Qt4 for Wine v0.118 now you will press Default place It will open Rediff installation box.............
View 1 Replies
View Related
Dec 6, 2010
I do not know what I have done but I used to be able to see the partitions on Hard Disk wich has WinXP and Ubuntu 10.04 as well as other partitions I have created.
I can access the partitions but cannot any longer see them with Gparted. Enlosed 2 screenshot ( Gparted and Disk Utility which shows the partition)
View 8 Replies
View Related
Aug 8, 2010
I am using ubuntu 10.04.I have seen animated ubuntu login screens.How can i get that kind of login screen.
View 1 Replies
View Related
Oct 16, 2010
I'm a freshman of Ubuntu OS.I want to know where to download the video card's driver of ATI HD5650 and how to install it in a way as easy as possible
View 3 Replies
View Related
Sep 13, 2010
This BBS interface setup is quick, simple, plenty of options, its handy, and follows a similar format that other places do so you can know what to expect or where to look. Double bonus if your a busy personEspecially for the creators and authors of programs many of us have come to enjoy. Don't forget to say a big thanx to the "Grand Father" of Linux, Linus Torvald.
Ok, this ol' fudge is trying to figure out how to save some files to a Live Thumbdrive USBboot of Kiwi10.08 which is running on the Ubuntu 10.04.1 desktop. Using the included File Manager, I can access the fat32 USB flashdrive, read the folder named "Buk" I created in XP at the root of the drive and displayed as "isodevices/Buk" when viewed through "System Files" or "Files System", which ever it is. The options to copy/move itesm to that folder are greyed out or missing. Both copy and move options seem to work as normal otherwise on the desktop. I should check and see if it is even saving/modifying items there but I would almost guess to be correct in saying... NO! As i said this is a kind of Live boot from the Kiwi ISO.I was told about "Chown" but I have not a clue of it and the Wiki just made my head ring.One more question, where can I find a good ol' Linux Dunce Reference that wont confuse you more. Don't get me wrong, I tried math for dummies once, it confused me more, so I re-wrote the pages as I went, or thats what we're suppose to do ?
View 6 Replies
View Related
Apr 10, 2011
I know crontab -e sets a cronjob in /var/spool/cron but how do I set a cronjob to run from /etc/crontab? Is there a command used for this or would I have to manually edit a certain file?
View 2 Replies
View Related
Apr 23, 2010
I need to run the files everyday at 11.00 pm (Monday to Friday).
How would I put on cronjob? I have files ready.
View 5 Replies
View Related
Nov 19, 2010
we have requirement like we need to run the sql script, which needs to be executed for every 45 days.
View 1 Replies
View Related
Dec 22, 2010
I'm working on a bash script that will be run regularly via a cronjob. As there is no easy way for the user to see if it's running in the background, I'd like a have some kind of pop up window what say's something like "Process started" and "Process finished" when it's complete. Ive read though some similar threads and came across xmessage. It kind of does what I want, with the exception of:-Id like the message Process started to stay up for the whole process, but it looks like the script wont continue until the xmessage window is closed. I cant get any xmessages to appear when the script is run from a cronjob. It only appears if I run the script manually from a terminal window. Which is no good for me. If anyone has any suggestions that would be great and just to add, it's doesn't have to be xmessage, any text box would do. I'm working with Redhat 4 and 5, if that makes a difference. Chuck Norris destroyed the periodic table, because he only recognises the element of surprise.
View 2 Replies
View Related
May 15, 2010
I have called an script in cronjob named get_mac.sh as follows:
#!/bin/sh
MAC=`ifconfig eth0 |sed -n 1p|awk '{print $5}'|awk -F : '{print $1$2$3$4$5$6}'`
ARG_FILE="/etc/asterisk/scripts/server.params"
[code]....
View 1 Replies
View Related
Apr 13, 2010
Currently we have to comment out an rsync task every now and then. Is there a way to have a PHP script on the server so we can simply browse to it to uncomment the rsync task and another one to comment it out again ?
The rsync job is the only job in crontab so even if it means deleting / re-creating the job wouldn't be a problem. I just want to avoid connecting via SSH and VPN every time I am asked to disable it
View 1 Replies
View Related
May 10, 2010
Cron setup for execute at 4:30 pm on 2nd monday of each month.
50 16 8-14 * mon /home/user/script.sh
It seems to be ignoring the date range 8-14?
View 1 Replies
View Related
Jun 15, 2011
how I can receive emails about a cronjob execution or where to go to read about that? I am using CentOS 5.4.
View 2 Replies
View Related
May 6, 2010
I wrote this little script and it runs very well, however when I setup a cronjob it only runs if I am logged in. I would like to have this script running even when I am not logged in. At the moment it runs but only when I am logged in. I logged as denis and in terminal (su root) and edited crontab as shown below, what do I need to change or setup to have this script run when no-one is logged in the computer. I run Fedora 12 (64 bit)
backup script:
cd /home/denis/Documents
tar -czvPf /home/denis/Backups/docsbackups_$(date +%Y%b%d_%HH%MM).tar.gz /home/denis/Documents
# above line will produce file with name in this format "docsbackups_date&time.tar.gz" in the /home/denis/Backups folder
[Code].....
View 4 Replies
View Related
Sep 12, 2010
i wanted to ask you for help in setting up a cronjob, that restarts a game server.By now I made a script that kills the screen of the server and then restarts it.
View 2 Replies
View Related
Apr 5, 2011
i have a site where I need to run a couple of php scripts every day..therefore I was thinking to setup a cronjob to do this. Unfortunately I get a whole bunch of errors trying to do so.
I can execute the php scripts via a command line without problem, one example would be
php /home/site/domains/stie.be/public_html/admin/cronjobs/cronjob_daily_ssh.php
however when i enter this command as such in a cronjob I get an error saying php command not found ( or something similar , doing this out of memory)
I tried to add the full path to the php command, but also this doenst work
the best workaround I found was to execute the php scripts with a lynx - dump command, but obviously this is not the right way.
View 7 Replies
View Related
Dec 7, 2010
I am new to bash scripting (not programming in general).
I am writing a bash script that will run a Python script I have written.
I want to be able to do the following:
Pass parameters to the bash script via the cronjob (so I can have two cron jobs) one to be run with parameter 'foobar', and the other 'foo'
switch based on the parameter passed to the bash script (by switching, I mean an if/else based on the paramter passed to the bash script).
View 3 Replies
View Related
Mar 23, 2011
I would like to make a cronjob who makes a tag.gz of everything inside a directory in a recursive way. BUT there is a HUGE directory full of jpg's. I don't want this one in the backup.Additional points if it can backup symbolic links.
View 2 Replies
View Related
Jun 24, 2011
Where can i find a list of cronjob return codes for linux/unix
View 1 Replies
View Related
Nov 18, 2010
I am trying to import .exp file to oracle database. I have written a script for the same, but i am able to run it manually with out any errors , but it failing from cronjob(Even though i am using absolute path every where) Follwoing is the command i am trying to execute from shell.
/opt/ORACLE/product/bin/imp test/test@testdb full=y ignore=y buffer=1000 log=/data01/import_all.log file=/data01/test.exp
View 2 Replies
View Related
Nov 8, 2010
i did install it correctly because when i typed localhost in the adress bar it opens this
Code:
It works! This is the default web page for this server. The web server software is running but no content has been added, yet. so i create a phpinfo.php file and inside it is
Code:
<?php phpinfo();?>
but instead of displaying php information, it tries to download the phpinfo.php file. why?
View 44 Replies
View Related
Oct 13, 2010
I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
View 6 Replies
View Related
Aug 28, 2009
I am working on Fedora core 9.I want to install LAMP-apache with version 2.2 or more,php with version 5.1.4 or more and my sql with version 4 or more.Can someone please suggest any website or the steps to do this installation.
View 2 Replies
View Related
Jul 8, 2010
I have downloaded and successfully installed oracle 10g expressedition,but i cant configure it, when i executed this cmd"/etc/init.d/oracle-xe configure" showed an error "bash:/etc/init.d/oracle-xe: No such file or directory"onfigure it,started using ubuntu few days before only, i dnt like togo to windows for using oracle.
View 2 Replies
View Related
Jun 2, 2010
How can I get log messages from the LAMP server on Ubuntu 10.04?Should I install some good program on Ubuntu for that purpose?
View 3 Replies
View Related
Apr 19, 2011
For those of you wanting to install LAMP on their new ubuntu OS and this guy gives it to you in one line...love it...thought I should share the info[URL]
View 1 Replies
View Related