Programming :: Creating Server On Laptop - Command Prompt?

Nov 24, 2010

I am trying to create a server on my laptop. I have a windows 7 OS. I have downloaded Apache HTTP Server, MySQL Server and PHP. My Apache seems to be working well at one point i.e., when I use the http://localhost "It Works" does show in the browser. When I attempt to sign on the MySQL Server with my password the command prompt shuts off so quick I can't even read what the window says. The MySQL server seems to be running in the task manager under mysqld.exe.
End goal: have mysql running and adn communicating with php on apache.

View 9 Replies


ADVERTISEMENT

Ubuntu :: Creating A New Command Prompt?

Feb 6, 2010

Is it possible to create a new command prompt in Ubuntu? I have a assignment and I don't fully understand it. I have to make c files and then open them in the command prompt. Would this happen in a new command prompt or I'd have to use the already existing one? Is this even possible?

View 4 Replies View Related

Programming :: Send A Message From IP To Another IP Through Command Prompt?

May 24, 2010

I want to send a message from IP to Another IP through command prompt. how can i do this.s

View 3 Replies View Related

Programming :: Put A Variable In The $PS1 Prompt That Will Change Each Time A Command Is Run?

Feb 11, 2011

I would like to put a variable in the $PS1 prompt that will change each time a command is run. I want the color of the $PS1 prompt to change each time a command is run.I know that I can do this:

Code:
PS1="h@w # "
## "#" is changes every time a command is run

[code]....

View 9 Replies View Related

Programming :: Creating A List Of Word Using Tr Command

Jul 11, 2010

I have a file having name test.txt content of which is following My Self is Arvind Kumar.My Date of Birth is 21/07/1984.I am 26 year year old.I did M.Sc Informatics from Delhi University in 2008.I did B.Sc Electronics from Acharya narendra Dev college Delhi University.I did my schooling from DAV Yusuf sarai.Curren tly I am working with InterGolbe Technologies as a Associate software Engineer.I want to be Linux Expert. What I am doing I am creating a list of words,But i want to take B.Sc and M.Sc as a single word

[Code]....

View 5 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

Programming :: PHP - Creating Basic Simple SSH Command To Machine Over SSL?

Jan 18, 2011

I was thinking to install a very basic SSH gate, secured over SSL, like this [URL]
using PHP. However I would like to have it very basic and simple to install. (not database SQL, nor complicated things, ...) so that I get a prompt page with login and password to access the SSH-internet, and then can SSH the linux box over SSL and regular port 80 like they do. passwd would be in a txt file or whatever. You use index.htm and no one can scroll the tree of the directory. Would have someone already embedded php code for that?

View 1 Replies View Related

Ubuntu :: When Login Via Ssh To A Server Only A $ At The Command Prompt

Aug 13, 2010

I'm getting some weird behavior when I log in via ssh to a ubuntu server. When I log in, there is only a $ at the command prompt, no user name. The arrows don't work, they just put the arrow characters in the prompt. Everything else seems to be ok. Also, when I say logged in as User, I meant a new user I just created.

View 2 Replies View Related

General :: Command Prompt Ftp To Ftp Server Running On Windows?

Dec 27, 2010

I am using on Windows Vista, Filezilla server. I have it set up to be accessed via outside IPs and when I use a client on the IP I have it connects normally using Filezilla client. On the same machine I have Ubuntu running in a virtual box and when using filezilla client in there it works fine. Now I want to try the command prompt. So I do the ftp xxx.xxx.xx.xxI enter the name and password and i get the ftp command prompt, but the commands are not working properly. when trying "ls" or "cd" these commands do not work. "cd" tells me that the current directory is "/" root, but this does not make sense in the windows operating system. Now the filezilla client is taking the user in the application window directly to the root folder of the permitted filespace granted to that user. How can the same be done from the command prompt, if there is a way? It is as if the command prompt takes me to the root which does not exist or even have correct permissions to move in. Is there any way to be taken to the correct directory directly, or move there especially when the slashes are the wrong way around etc?

View 1 Replies View Related

Server :: Serch File Or Folder In On Command Prompt?

Jun 22, 2011

how can we serch file or folder in linux on command prompt

View 9 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

Programming :: Creating Array From Command Output (Bash Shell Script)

Jan 26, 2011

I have a command that outputs n lines of text, and I want to place each line into an array element, but I can't seem to get the syntax correct

So my command is this:
cat $configfile | sed -n '/cluster:'$clustername'/,/cluster/ p' | awk /host/

Which produces many lines depending on the value of $clustername. I'd like to get each line as elements of an array.

View 5 Replies View Related

General :: XCopy - Get To The Server's Command Prompt On 1and1-hosted Site?

Nov 19, 2010

Normally, on my website, files are either handled by WordPress or by me doing FTP. I'd like to copy my entire site to a new folder. I don't want to copy it down to my local drive (with wget) and then just upload it. How close is this to the line I'd need (except near midnight)

mv -r fromfolder \%todaysdate%

I've played with Unix and Linux for a few days over the years, but I'm a Windows (and DOS-prompt) guy. So, I don't know how to get to the server's command prompt on my 1and1-hosted site.

View 1 Replies View Related

Ubuntu :: Creating A Command To Open Multiple Terminal Windows That SSH Into The Same Server?

Apr 7, 2010

Every time I boot up ubuntu I usually open 3 terminal windows and ssh into the same server. I would like to either click a shortcut, or run a single terminal command that will do the equivalent.

I came across the "gnome-terminal" command, but I was unable to get it to trigger an ssh command.

Ideally I would like to have a script that I pass in the number of windows I want to open and the server I would like to ssh into for each window.

View 4 Replies View Related

Server :: Any Command Not Working On Rhel3 After Creating Soft Link Of Libc.so.6?

Oct 29, 2010

i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.

View 1 Replies View Related

Programming :: Creating 2 Sockets In Client / Server?

Jun 9, 2010

I have a problem creating my second socket in client file. the program was running well but when I try to add another socket to connect to the same server, I got a problem connecting to the first socket! it doesn't make sense. the original code was:

sockfd[i] = socket(AF_INET, SOCK_STREAM, 0);
if(sockfd[i] < 0) error("(MAIN) - Error openning socket 1");
port_num[i] = portno;
bzero((char*) &serv_addr[i], sizeof(serv_addr[i]));

[Code].....

View 1 Replies View Related

Ubuntu Installation :: Grub Prompt After Creating Persistent USB Backtrack 4 R2?

Jan 30, 2011

I have the following problem. I tried to make a persistent USB Backtrack 4 r2. I followed the steps according to the instructions and did not noticed any errors.

fdisk /dev/sdb
Command (m for help): d
Partition number (1-4): 1
Command (m for help): n
Command action

[Code]...

I can boot from USB because when i use Unetbootin everything works fine. Although it'snot persistent in that situation. I seachered the web but i can't find the solution. I have run a script which i ran into on Sourceforge.net. The results are in the attachement. But unfortunately i am real Newbie on linux so..

View 6 Replies View Related

Server :: Install Dig Command On Laptop?

Jan 18, 2010

I just install linux on my laptop(mandriva 2010) trying to use it to keep my server remotely but I notice that I do not have some commands that I used to use, one of them "dig".

View 2 Replies View Related

Ubuntu :: Setup Command Not Found In 10.04 Command Prompt?

May 6, 2010

In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?

View 2 Replies View Related

Fedora :: Laptop Won't Boot - No Login Prompt - X Isn't Running

Jul 12, 2010

My FC12 laptop won't boot. During the attempted boot, after blue/white progress bars finish displaying on the bottom of screen, nothing more seems to happen. The screen isn't totally blank in that I seem to have a text cursor and keyboard input is displayed. But, no prompt, no login prompt, X isn't running, etc. If I hit ESCduring boot, it displays the boot messages and the boot sequence stops after "Starting atd". I'm not sure if it's related, but I had previously experimented with creating a new xorg.conf file by running "Xorg -configure' and was testing the new file with "X -?? /etc/x11/xorg.conf.new" (I forget what the -?? option was). I assumed that this would not overwrite the /etc/x11/xorg.conf file and that if I ran into problems, that the original xorg.conf would be in place. how I can get this miserable thing to boot?

View 4 Replies View Related

Fedora :: Usual Username/password Prompt Laptop Comes Up With Smart Card Authentication & Can't Login?

Feb 8, 2010

Something has gone awry with my login. After the usual username/password prompt my laptop comes up with smart card authentication & I can't login. How do I get away from the graphical login so I can login & correct the problem?

View 3 Replies View Related

Debian :: How To Go To Command Prompt And Update

Jun 12, 2011

I am new to linux. I have mounted debian on vmware. Now I would like to get the updates on linux on the desktop all I can see it computer, my home, and trash icons. How can I get the updates. How can I go to command prompt.

View 9 Replies View Related

Ubuntu :: Command Prompt Appears Instead Of Gui?

May 16, 2010

When i boot to ubuntu 10.04 lts. command prompt appears instead of gui interface is this a bug. I had made a new installation of ubuntu 10.04 lts 64 bit.

View 1 Replies View Related

Ubuntu :: Get To The Gui From The Command Line Prompt?

Jun 5, 2010

Is there a way to get to the gui from the command line prompt? I am using Ubuntu 8.04, my computer us telling me there is an error and will only boot to the cli not gui.

View 1 Replies View Related

Ubuntu :: 10.10 Boots Only To The Command Prompt?

Oct 13, 2010

I just upgraded my desktop to 10.10. All seemed to go fine. The computer then prompted for a reboot, and on rebooting it boots to the shell prompt.

View 6 Replies View Related

Ubuntu :: How To Edit In A Command Prompt

Dec 18, 2010

i somehow managed to mess up my install of 10.10 I used the alternate AMD 64 install so now when I login it is only a text prompt. This leads me to believe that I am running in Ubuntu Server. I read this article:

[URL] but my network is not setup!! So I tried to do this: [URL] but when I get to:

Code:

sudo vi /etc/network/interfaces

I dont realy know how to edit the file.I basicaly see

Code:

# The loopback network interface
auto lo
iface lo inet loopback

[code]....

View 9 Replies View Related

General :: How To Use Command Prompt To Open Them

Sep 6, 2010

After contracting malware on Vista i decided to switch over to Linux and chose to start of with Ubuntu because of the graphical interface. that being said, you have no doubt inferred that i have no coding experience. basically i was hoping to find some nice tutorials and sites for Ubuntu. Also, i did downloaded the suggested programs and patches but im still experiencing problems with Adobe,flash, and and opening .exe files. for the latter, when i click on .exe files it is equivalent of using explorer on windows so i was wondering how to use the command prompt to open them. supposedly linux is susceptible to malware so if you could please suggest a anti -malware program.

View 14 Replies View Related

Software :: Command Prompt Screen

Nov 14, 2010

Okay I am curious if anyone knows how to get this screen? I remember having it a while ago before I had to go to windows, and now that I am going back to Linux I would LOVE to have this screen back! I enclosed a screen shot picture. I think its way better than just a blinking cursor.

View 14 Replies View Related

Software :: Run Oracle In Command Prompt?

Apr 27, 2010

I'm using rhel5 and i've installed oracle 10g in it. I've followed all the steps and i configured it successfully. In applications i'm not getting the sql symbol in graphical.I dont know how to run oracle in command prompt

View 3 Replies View Related

Fedora :: Terminal Command Prompt Changed?

Jul 31, 2010

Ive just done a fresh install of F13, after an install of AMD Cat 10.7 screwed up my system.Although everything works, ive just noticed that when I open a terminal, instead of my username prompt, I now have "bash-4.1$".Firstly is this a problem? and if so how can I get my normal prompt back?

View 4 Replies View Related







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