Server :: Web Interface To Some Shell Command

Oct 22, 2010

I want to create for my private use, a simple web interface to manage some easy task (useradd, userdel, passwd, etc...).I have some basic knowledge of PHP; how can I realize this? PHP as module or CGI? Which is better in this case?

View 12 Replies


ADVERTISEMENT

Server :: Cannot Configure Interface Command?

Feb 28, 2011

I run bgpd (quagga) on CentOS5.5 after installed completely i don't found interface command as the following:BGPD_Server(config)# interface % There is no matched command.

View 1 Replies View Related

Server :: Add Another IP On The Same LAN Interface Using Command Prompt?

Apr 30, 2009

See, I am trying to run multiple website from, different IP. I have only one lan card. I have more IPS. I want to add many ips on same lan card from commnad prompt.

View 6 Replies View Related

Server :: Command To Check The Network Interface?

Dec 22, 2009

I would like to know the command to check the NIC interface in redhat linux.I know ifconfig works, but is there any specific command shows the the interface which in disabled mode too ..

View 1 Replies View Related

Ubuntu Networking :: Setting Up The Wireless Interface On Server (command-line Only No GUI) / WPA

Aug 14, 2010

I've been having issues setting up the wireless interface on my Ubuntu server (command-line only, no GUI) and I can't seem to get it working. It seems as though the card is recognized, the drivers are installed and the interface is up, but it fails to connect. I have no idea where I'm going wrong. I have WPA and a MAC filtering setup on my wireless router. An exception has been made for this PC's MAC address and I've manually entered the connection details into /etc/network/interfaces.

[Code]...

View 2 Replies View Related

Server :: Shell Command Over Ssh-keygen

Apr 14, 2010

I have 2 servers, let say server1 and server2. I have create ssh-keygen from server1 to server2, I can ssh from server1 to server2 without typing a password. My question is: How can I use command from server1 to server2? for example I want to list file in server2 /home directory from server1.

View 1 Replies View Related

Server :: Which Php Command For Shell Interaction Shall Use?

Dec 26, 2010

As homework for my study I have to do some kind of browser GUI to send commands to mysql command line tool and to show the output in the browser. I already set up sudo to have the right permissions for the www-data user. In the php documentation I found that one of the following four commands are probably for tasks like mine.

exec
passthru
shell exec
system

Can anyone tell me which one is the best for my requirements? The idea is to use php from the browser to connect to mysql like on the command line with: "mysql �user=username �password" And then give back the output of the command line to the browser. If the above is working then the next step would be to put a link in order to execute the command �show database;� again through php by clicking that link. After clicking this link it would give back to the browser what the command line would display.

View 4 Replies View Related

Server :: Dos2unix Command In Shell Scripting?

Jul 5, 2011

I am new to shell scripting..I really need ur help or guidance here..I have a text file where i have to use dos2unix command.

Now the problem is how do i pass dos2unix command in the shell scripting after it had read the text file ??
And give out the new text file.

View 3 Replies View Related

Server :: What Is The Shell Command Which Allows To Know How Many Opened Sessions On A Mysql?

Jul 6, 2010

1-what is the shell command which allows me to know how many opened sessions on a mysql server?

2- what are the important points we can manage in a mysql server?

View 2 Replies View Related

General :: Shell - Connect From Command Line To FTP Server With Proxy?

Aug 15, 2011

I want to connect to an FTP server from the Linux command line. The server is configured behind a proxy.

If I call:

echo $ftp_proxy

I get a result like this:

abc.def.ghi.jkl:8080

If I call:

ftp -pn $ftp_proxy

I get a unknown host error.

How can I connect to the FTP server using the Linux command line?

View 1 Replies View Related

Ubuntu Networking :: Connect OpenVPN Server Using Shell Command?

Feb 15, 2010

I'm trying to connect OpenVPN server using shell command.

I've installed all needed packages (I guess)

if type

Code:
sudo openvpn client.ovpn
and i've got messages:
Code:
Mon Feb 15 12:29:25 2010 OpenVPN 2.1_rc19 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Oct 13 2009

[Code]....

but i can't see tap0 interface and cannot ping any address at remote location.

I tried this config file at Windows OpenVPN client and all works fine.

View 2 Replies View Related

Server :: Shell Command Which Allows To Have Number Of Requests/seconds Under Apache?

Jun 26, 2010

1-Can I have the shell command which allows me to have the number of reques ts/seconds under the Apache server?

2-And the number of sons threads in service/wait?

View 3 Replies View Related

Server :: Shell Scripting Command Line / Getting Error While Passing Parameter?

May 6, 2011

I am very new to shell scripting.How does one pass a command-line parameter to a shell script?for the below program
#/bin/bash
mount -t cifs -o user=ramkannan,password=Linux123@ //10.200.1.125/ramkannan /MT
cd /MT/test
date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"`
mysqldump -uroot -pram2@ employeedb > $date.sql
gzip $date.sql

I want to pass parameter for everything,i tried in google and did but iam getting error while passing parameter to all

#/bin/bash
mount -t cifs -o user=$1,password=$2 //10.200.1.125/ramkannan /MT
cd /MT/test
date=`/bin/date "+\%Y-\%m-\%d-\%H-\%M-\%S"`
mysqldump -uroot -pram2@ employeedb > $date.sql
gzip $date.sql

i was getting error while passing parameter to all.

View 2 Replies View Related

Programming :: Use Firefox As User-interface For Shell Script?

Mar 29, 2010

In Windows, I was able to use IE as a user interface because I could code a WSF (Windows equivalent to shell script) to respond to events in IE.Now that I've moved to Linux/Firefox, I'd like to use Firefox in a similar way. Specifically, I would like to write a bash script to run lsdvd with XML output, use XSL to transform the XML for Firefox, then take an action (encode a selected track on the DVD) based on the user's selection. I would be happy if I could make Firefox write something somewhere that the script could read, but I suspect that security measures would prevent that.

View 3 Replies View Related

Programming :: Show The Output Of Shell Command Into A Textbox, Ex Ps -efc Command?

Oct 20, 2010

I am using gtk to program GUI. How can I show the output of shell command into a textbox, ex ps -efc command ?

View 3 Replies View Related

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related

Debian :: Interface - Command Or Graphical Based?

May 12, 2011

I wanna know if the debian interface is command based or graphical? If its command how do I start?

View 14 Replies View Related

General :: Get Interface's Bandwidth At Any Given Second From Command Line?

Nov 6, 2010

I am doing a school project in which I want to get the bandwidth of a network interface at any given second, or some other small increment of time. I need this for a Perl script I am working on. Therefore it needs to be non-interactive and just prints results.

View 2 Replies View Related

Fedora :: Create A GUI Interface For Some Command Line Commands?

Aug 22, 2011

I'm developing in java.

I want to create a GUI interface for some command line commands (drush - drupal).

How can I interact with the command line commands with java? or any other languege?

View 6 Replies View Related

General :: Force Command-line Tool To Use Different Interface?

Dec 21, 2010

I have a service which I want to run over eth1.
But all my other traffic still needs to run over eth0.

Is it possible to force a command-line tool or other application to use the non default interface?

View 2 Replies View Related

Ubuntu Installation :: Command-line Interface At Startup?

Feb 4, 2010

So I just partitioned my hard-drive, one side with windows the other to set free for ubuntu. It all worked fine. I put in the liveCD of ubuntu 9.10 and installed on to the partition. However, I have a problem. When it boots up it asks me to either boot into linux 2.6 or windows 7. Windows 7 works fine, but when I boot into ubuntu, the loading screen comes up and then it doesn't seem to boot into GDM. It's all command-line interface. I've tried sudo apt-get update and upgrade, but it isn't connected to my network yet so I can't do that. What can I do?

View 9 Replies View Related

Ubuntu :: Lucid Boots To Command Line Interface?

Aug 12, 2010

Occasionally Lucid boots to what I can only describe as a command line desktop-ie the whole screen is like a terminal, theres no GUI, have to restart by hitting the power button. Is there anyway I can stop it, or start the GUI from there?

View 4 Replies View Related

Ubuntu :: Command Line Interface Connecting To Wireless

Jul 31, 2011

I stupidly turned off my computer as I was updating to KDE 4.7. Now when i start it i get to the log in screen, but imputting my username and password just causes the Xserver to restart and i get back to the log in screen.I know there are many other packages I should install as part of the update and i think this will solve my problem, so i am trying to connect to wireless through the command line login, and then install the updates.

View 2 Replies View Related

General :: Playing With Various Characters In The Command- Line Interface?

Apr 23, 2010

I am playing with various characters in the command- line interface trying to learn what they mean and when i should use them.

View 7 Replies View Related

Fedora Networking :: Configure Wireless Interface On Command Line Only?

Apr 18, 2009

Ive been struggling to configure a wireless interface on Fedora 9I need to configure wlan0 command line only with NO display managerIve tried setting up /etc/sysconfig/network-scripts/ifcfg-wlan0 with the right information, doing dhcpbut no ip is retrieved. Checking the dhcp server logs on the DHCP server - no request is received.The link light on the wireless nic is not on either. iwconfig shows it has an Access point associated and an ESSID but im not getting back any IP.There seems to be very little documenta on how to set up wireless nics command line only on Fedora

View 1 Replies View Related

Red Hat / Fedora :: Changing Font Size Or Style In Command Line Interface?

Mar 23, 2010

if its possible to change font size or style on CLI.

View 9 Replies View Related

Ubuntu Installation :: 6.06 Lts Via The Command Line Interface - Text Is Spread Out Very Wide On The Screen

Jan 19, 2011

I have installed Ubuntu 6.06 LTS via the command line interface. I installed onto Microsoft Virtual PC on the mac. The installation completed successfully. On first boot, I see the text is spread out very wide on the screen. It's like the screen has been zoomed out greatly.

I assume I have to modify the x11 configuration, but I forget how to do this.

Here is an image of the screen:

I tried installing a more recent version of Ubuntu but ran into other troubles. more on that later.

View 5 Replies View Related

Server :: Error - NFS Share On A Debian Lenny Server With To Network Interface

Mar 16, 2010

I am running a NFS share on a Debian Lenny server with to network interface.

Sometimes when booting the server the following messages i shown in syslog:

Code:

If the system is rebooted then NFS is functional again. I would like to know way this happens somtimes so i can repair it, anyone with an idea? Another thing is that i would like to bind the NFS service to a specific interface e.g eth1 is this possible?

View 2 Replies View Related

General :: Run A Shell Command With &?

Jun 15, 2010

I am using Red Hat Linux Enterprise version 5. I've noticed people sometimes running commands with a couple of & options. For example, in the below command, there are two & signs. What is the purpose of them? Are they always used together with nohup?

nohup foo.sh <script parameters> >& <log_file_name> &

View 6 Replies View Related

CentOS 5 Server :: Server Hangs Whenever Restart Ethernet Interface?

Sep 6, 2011

I've started facing the weirdest problem. I have to restart the ethernet interface a couple of times a day and everytime i do that the server locks up completely and i have to hard reboot it.info: recently shifted to a new server, all new components and new installation, OS version CentOS 5.6

View 1 Replies View Related







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