Fedora :: How To Run The File Info.php

Jun 10, 2011

i had just install apache , mysql and php 5...apache is starting from localhost but how to test php ?

i created a file named as " info.php " which contain the foll code <? php phpinfo(); ?> but i m confuse how to save it in " var/www/html/ " which is a root directory of apache and from where we can acess the info.php files by http://localhost/info.php

how to run the file info.php ?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Can't Install Update-info-dir File Is Missing From /var/lib/dpkg/info/?

Aug 6, 2010

so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).

View 9 Replies View Related

Ubuntu :: Unable To Create Trashing Info File: Read-only File System

Jul 21, 2010

I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message

Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system

So when I click on delete I get another error message:

Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system

At this point I can only click on Skip, Skip All, or Cancel.

I have not changed anything on the stick recently so I dont know what is causing the problem.

View 7 Replies View Related

Ubuntu :: Logon Script - Create A File (if It Doesn't Already Exist) And Checks The File For Some Info

May 24, 2010

I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.

Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.

What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?

View 1 Replies View Related

General :: Reading Info From One File In To Another?

Nov 17, 2010

been playing around making a server to play some games on running centos 5.5

what ive spent a while looking for (a few days) is a way to make a file which i will call startup this will contain some values

Code:
mod_directory="etpub"
port="27960"
log_name="console.log"
vm="0"
dedicated="2"

[Code].....

View 1 Replies View Related

Ubuntu :: Any Way To Unlock File Info In Koala?

Jan 8, 2010

Is there any way to "unlock" file info in Koala to become visible in the properties of that file? For example, when opening an .mp3 in VLC and checking the information, I am able to see and edit extra info that I do not see when simply right clicking the file and selecting properties. Another example is that GIMP saves comments to images, but I have nowhere to view these comments once they are saved. I would like to see more info when checking the properties of a file, dare I say like Windows enables users to. So is there a terminal code or plugin that I can install?

View 2 Replies View Related

Ubuntu Multimedia :: How To Get File Info With Mplayer

Feb 1, 2010

what do i need to write to get the mediafile info from mplayer?

View 6 Replies View Related

Programming :: Change Info In A Text File Using C++?

Jan 16, 2011

how to work properly on the windows forms application in c++.

the thing is that i was able to produce in the windows forms application a web browser and I added a save button. So know I am able to navigate predeclared webpages such as [URL]and then I entered google's search box such as "spread of H1N1". and I surf a page such as [URL] I later save the page as text file on my computer.

I wanted to know how to organize the words in the text file ? i mean how can i just get the number of infected people in USA , number of infected in CANADA (if they exist) from all the text file and change it to a file with precise data.that is to eliminate the unneeded information such as the the characteristics and the useless ideas? and what if i also wanted to know the characteristics of the virus in a country+the number of infected?. How can i do it?

View 3 Replies View Related

OpenSUSE Install :: Partition Info Stored In A Log File?

Jul 1, 2011

having repartitioned a disk yesterday but uwisely not obliterating a DOS OEM partition, came down to find the machine had woken up & booted the wrong disk (one I partitioned but without ne OS); with apparently dead (unwilling to seek main drive).

Trouble is the OEM diagnostics was old DOS and likes to **** on other disk partition tables and it seems to have got run, from what was the OEM Windows disk. Now I've fixed that, it seems to be screwed partition table issue.

No problem, it happened before and I recovered with gpart(8) & a spot of tweaking, but due to "redevelopment" I've now got my partition table backups on the disk that's lost. The old backup of them, got tidied. gpart's for once only finding the partitions I don't care about eg) swap & a Windows 7 NTFS backup partition.

Have some logfiles from 11.1 days, which may if it gets recorded somewhere by YaST or other in /var/log actually have the table output. Any one happen to know, where to look as a time saver?

I'd like to get these system partitions back, as I put in bugs on 12.1 M2, as well as an 11.4 and older 11.2 install for comparison. Wasn't planning on re-installing, when I get asked to try something later on.

View 5 Replies View Related

Ubuntu :: Cant Find Info Anywhere Else - Error Opening File

Apr 4, 2011

I have been comileing that kinect hack with the 3d video capture. i did everything, calibrated cameras and everything else but when i try to open the final program (KinectViewer) i get back this error: Caught exception Misc::File: Error opening file CameraCalibrationMatrices-B00363201643043B.dat in mode rb. From what ive gathered off the web it is not opening it because its in binaly mode or something to that affect. any tips to fix it? is there a way to change what mode im in?

View 2 Replies View Related

Ubuntu Multimedia :: Get Music File Info In Command Line

Jan 13, 2010

How to get info (length, etc.) about music files in command line? Nautilus can show it on the file's Properties > Audio tab.

View 2 Replies View Related

Ubuntu :: Editing Song Info In MP3 And Other Audio File Formats?

Jun 20, 2010

How can I edit the song info found in MP3 files and other audio file formats in Ubuntu 9.04 64-bit other then using Rhythmbox?

It's a pain to use Rhythmbox to edit the artist, album, year, Genre and other info of each song because you have to find the song by it name and then change the info. There is no way to put it in a view as folder or drive name or partition so you can simply go to where the files them selves are on the drive and edit mutiple files at the same time without having to search for each song individuly.

In XP all you need to do is right click and select properties and then edit the info there but in Linux all you can do is view the info under properties.

View 3 Replies View Related

General :: Parsing Through A Nagios Config File To Extract Info W/ Sed - Awk - Vi

Oct 13, 2010

I have a config file called hosts.cfg.

It contains entries like this:

Quote:

There are many more of these entries in the file, over 500, all in this same format: each host has a "define host" followed by 18 directives contained in squiggly brackets.

If I want to know all the hosts that are in the hostgroup called SERVER_GRP, I suppose I would need to read every hostgroups line (8th directive in squiggly brackets) that contains SERVER_GRP and output the corresponding host_name line (1st directive in squiggly brackets) from that entry.

View 3 Replies View Related

Ubuntu Installation :: Dpkg: Failed To Open Package Info File?

Dec 12, 2010

Full error dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error

Runing 10.10 on USB.All was fine until a week ago then when trying to update I get that error.

Ive followed instructions in many threads to no avail. Heres what ive done and the result.

sudo apt-get update No error,all download fine sudo apt-get upgrade

Preconfiguring packages ...
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
sudo apt-get install -f
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

[Code]...

View 9 Replies View Related

Ubuntu :: Getting Grep To Pull Info From A Specific File Which Match All The Words?

Jun 2, 2011

I am trying to use grep to only tell me files that include both words matching in a pattern file. However when i specify:

grep -f <pattern file> <file>

It pulls out anything that matches one or the other.

Not both.

how to get it to match AND not OR.

View 9 Replies View Related

Server :: Ubuntu And Bind - Named Log File Is Not Logging Info After Syslogd Restarts

May 7, 2009

Ubuntu ver 8.04.1 and Bind ver 9.4.2

I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.

I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.

My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.

I know that I could restart Bind using Cron but I shouldn't have to.

Below are snips of the files I'm using.

I named this one 'bind' and it's in the directory /etc/logrotate.d

View 8 Replies View Related

Fedora :: Tail -f /var/log/messages Info

Jul 30, 2010

I was using Opensuse on Virtualbox earlier today. I issued the tail -f /var/log/messages command on Opensuse 11.3 to see the messages. Then I logged in from my Mac into Opensuse 11.3. I noticed that Opensuse was displaying realtime messages of the things happening. For eg, I entered a wrong su password and it displayed that too. But no such things were happening on my Fedora 13 installation. So is there any way if I could get some realtime messages on Fedora 13 too like the one on Opensuse..?

View 4 Replies View Related

Fedora :: Need Info On Makefile Basics?

Sep 27, 2010

Try to understand a Makefile. It has (all: $(VAR1) $(VAR20) Makefile). What does this "Makefile" mean?

View 2 Replies View Related

Red Hat / Fedora :: Get Memory Usage Info?

Feb 18, 2010

Memory of my Linux database servce is all used up. I first noted that this morning and rebooted the box. 5 hours later, it saw used up again. I want to find out which process is responsible for using most of the memories. What Redhat Linux utility can list processes sorting by their memory usage, like the Windows task manager?free and vmstat - summary but not for each processtop appears to be infomative, but sum of non-zero %MEM never add upp to 100

View 3 Replies View Related

Red Hat / Fedora :: Any Info On How To Install Libnet?

Mar 18, 2010

I am trying to install libnet on fedora but I cannot find any information on installation in the package. I would be happy to receive any information or instructions for installing libnet on fedora.

View 2 Replies View Related

Ubuntu Installation :: Info Error "error Processing Install-info (--configure)" During Update

Apr 8, 2010

I'm using ubuntu 10.04 beta 1. when I try to update & upgrade I get the following error:

Code:
Setting up install-info (4.13a.dfsg.1-5ubuntu1) .../etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found dpkg: error processing install-info (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: install-info

View 4 Replies View Related

Fedora Installation :: 11: Yum Hides Detailed Info

Jun 19, 2009

After the latest yum updating, yum hides detailed info about what it will do when it work. Previous version of yum will list the packages to be updated, installed, or deleted, and then ask you if it is what you want; this updated yum show nothing but "Are you sure?"( or something equivalent ): you don't know what it will do at all! Seems you have type "y" and see what it will download and install or uninstall. I don't know if new yum has changed its notice method or if I need add some plug-ins for it to show me those info as it did.

View 5 Replies View Related

Fedora Security :: Sending City Info To Web?

Jul 29, 2009

When I get on the internet with Mozilla I am getting advertising that mentions the city I live in. How is that information being sent from my computer and how can I stop it? Is this in a file I can edit or delete?

View 14 Replies View Related

Fedora :: Read Package Update Info By Yum?

Sep 2, 2009

When I update my system by KpackageKit I have the ability to read what was fixed by that package update by clicking on package's name. How to read this info in command line by yum?

View 4 Replies View Related

Fedora :: Yum - How To Get Info About Files Installed From Package

Mar 1, 2010

I just installed a package with yum but I can't find any files associated with it. My question: is there a way to make yum tell you which files were installed from a package?

View 7 Replies View Related

Fedora :: Each Time Yum Updates Repo Info

Mar 13, 2010

Each time i type yum search <something> .. some 2 to 3 mb are dloaded.. is that updates of the repos configured? how do i stop it updating each time ?

View 3 Replies View Related

Fedora :: Drop Private Info From Bugzilla?

Feb 10, 2011

i have my personal email address in one of my bugzilla report.

really tired from spam. how can i drop my personal info from it?

[URL]

View 4 Replies View Related

Fedora Networking :: Show All Network Info

Jun 8, 2011

Is there a command that display all network info. I'm looking for ip address, subnet mask, gateway, and dns. If there isn't a single command could someone please write me a shellscript that can do this?

View 3 Replies View Related

Fedora :: Info On Command Script Programming?

Jul 22, 2011

I am very new to Linux and am taking a class on Introduction to Linux, but I am not familiar with Command Script. Can anyone direct me to a place where I can find more info (for a two year old) on command script programming? I want to be able to understand what it all means.

View 7 Replies View Related

Red Hat / Fedora :: Find Out Such Info Of A Remote Machine?

Jan 21, 2010

I am trying to compile some thing on a remote machine, need to know following infomation:

1. machine:
2. CPU type:
3. Operation system:
4. Fortran compiler:
5. C compiler:

Where do I look?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved