General :: See All Ip's Inside Server?
Sep 17, 2010
I want to see all my ip's inside server. ip a command and ifconfig not working. Because i am under su root login. Is there any possibilities to view all my IP reside in the server..
I am using CentOS release 5.5 (Final) server.
View 5 Replies
ADVERTISEMENT
Jun 2, 2010
I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.
View 1 Replies
View Related
Jan 18, 2010
I am trying to route a security video server which is inside my network to the internet. my network is two interface eth0 (internet network xxx.xxx.xxx.198 and internal network 192.168.5.1
I am trying to see an web server on 192.168.5.184
View 2 Replies
View Related
Apr 21, 2011
I sshed to a server a week ago, then ran *screen* and created a few windows in my screen session. I then ran a few programs on those screens. All the programs were running in the background (I run them with &). I did not close or detach from the screen sessions. So I was still connected to those screen sessions from my client machine.
Then, this morning I find my client machine rebooted. When I do screen -ls I find there are no screens available to reattach to. But that is not the worst part. The strange thing is that all my processes (which were running on the server) have disappeared as well, even though they were running in the background. I thought 1) using screen I will be able to re-attach to old screens when my client restarts, 2) If I have sshed to a server and have run programs in the background, restarting the client should not stop those programs (even if I had not used screen).
View 2 Replies
View Related
Jul 11, 2010
I've just installed ubuntu 10.04 server on an old box to use as a home server for network storage. I've managed to get wireless working, and now have started to tinker with the base system (it's more of an experimental machine than a critical backup server!). I've installed xorg-core and JWM, and have set it up to function as a basic GUI in case my main box goes down and I need access to these forums. I can start JWM by using
Code: startx, but I need to know how to end the X server from inside the gui, so that I can create a kind of 'exit' button. I know I can end the session by going back to tty1 with ctrl-alt-f1 and using ctrl-c, but is there a way of doing this from inside of the gui? Is it even possible?
View 1 Replies
View Related
Feb 23, 2011
I know this is a common problem, but i have a special case that troubles me and i can't find an answer anywhere. The facts are like this: I have a linux router. I have 2 FTP servers. One on port 21, one on port 201 (on the same internal IP). The FTP works great when connecting on both servers from the outside. My problem is when i'm trying to connect to the 201 FTP server from inside the network using the external ip.
I get this:
ftp> ls
200 Port command successful
150 Opening data channel for directory list.
And it stays like this forever.
View 2 Replies
View Related
Jan 29, 2011
I got Apache and php5. I was able to insert php scripts from tutorial and see the results in Mozilla browser. But now something happened and Apache seems to ignore php script. I don't remember what i had done to my system that might have caused this problem, but most likely it is moving partitions in partition aditor, as this was the most serious thing I had undertaken.
View 1 Replies
View Related
May 5, 2011
I'm trying create script to manage one mysql database, including new db and user creation. But I'm not able get it working when I put SQL commands into function. So I create simple script for testing which is still not working
Code:
#!/bin/bash -x
MAIN_DIR="/admin/mysql"
MYSQL_CNF="$MAIN_DIR/auth.cnf"
MYSQL_CMD="mysql --defaults-file=$MYSQL_CNF"
[code]....
View 1 Replies
View Related
Jun 15, 2010
My website is domaintoolscentral dot com, I want to use PHP inside of my HTML pages but I can't seem to figure it out. I know it has to do with the httpd.conf file or I think it does. I do not want to use a .htacess file.
View 14 Replies
View Related
Jun 7, 2010
I'm attempting to build a linux appliance.The main root file system will be the initramfs image.I've got everything else working except for this problem. It seems as soon as I install the glibc 32-bit libraries in the initramfs imageduring boot it willautomatically reboot on me.System software using:
binutils: 2.18
gcc: 4.2.4
glibc: 2.7
[code]....
View 2 Replies
View Related
Aug 22, 2010
I'm using Slackware 13.0 on my server and am going to be employing a file-sharing service for a client. I was able to enable a quota, but my problem now is keeping the user inside their home directory. I've searched around and found an old thread on here (from 2003) that gave me some ideas, but it still isn't working. Should I be running vsftpd standalone or leave it on the inetd? If I set the shell to /sbin/nologin or /bin/false, the user can't log in through FTP, even.
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
from /etc/passwd:
View 2 Replies
View Related
Sep 4, 2009
I've just started playing with virtualization and I started my first VM. I would like to know if it's possible for the host machine to mount the partitions of the VM when it's closed. Right now the VM uses /dev/vg0/vm1 and has 3 partitions on it. I tried mount /dev/vg0/vm1 ~/vm1 at first before I remembered that I'd need a way to mount a specific partition inside the logical volume, not the volume itself!
View 2 Replies
View Related
May 5, 2010
I have a small internal network with about 8 or so servers or workstations. My mail server is getting spammed from all over to the root and other administrative accounts. I also get valid email sent to the root and administrative accounts from within my local network. Is there a way to block all email coming from outside my local network while still receiving it inside the local network to these specific accounts?
View 2 Replies
View Related
Dec 23, 2010
I am using CentOS 5.5, I installed squid3 in that machine. From my users machine i am not able to use our webmail address. Outlook shows pop3 error.cannot ping webmail address inside proxy.
View 1 Replies
View Related
Apr 27, 2010
I have configured a samba server where I have configured it for /mnt dir to be exported/shared. When I verify this share, I see mnt dir but I want the content inside the mnt to be visible or chroot into mnt directly.
View 6 Replies
View Related
Jul 29, 2011
I tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
View 1 Replies
View Related
Jul 12, 2010
the script below prints the pwd of where I want to be. after the fi it puts me back at the original dir. just writing these scripts to understand what's going on.
#! /bin/bash
if
[ -d mydir ]
then
cd mydir/ && pwd
fi
View 4 Replies
View Related
Aug 26, 2010
Will Mandriva run inside Windows 7?
View 1 Replies
View Related
Jun 1, 2011
I have logged on to a system with ssh and there is no scp present on both the systems. How to copy a file without using the scp program.
View 3 Replies
View Related
Jun 9, 2011
I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder while generating the tar or after it?
View 1 Replies
View Related
Jun 16, 2011
This is the script I'm running
tar tf some.tar somefolder_insidetar
And output it's a list with all folders, files, and SUBDIRECTORY Files, the only thing I need it's just show the contents (folder and files) of the current directory choosed, not listing subdirectory files, or subdirectories inside subdirectories.
View 3 Replies
View Related
Jun 25, 2011
I am running VirtualBox on a Windows XP host. Red Hat Linux 5.2 GUI is running inside VirtualBox. I want to use my USB pen drive inside Red Hat - it is visible from Windows XP but not from Red Hat.
Can anyone tell me what might be the problem and how I should fix it? I am new to using Linux.
View 1 Replies
View Related
Aug 2, 2011
I want to install grub inside windows 7. I don't want to partition anything neither I want to remove Windows Boot Loader (BCD). I simply want to Use Grub from windows 7 boot menu. I want to do this so for frugal install of linux distros such as puppy, slitaz, etc. I have used WinGrub on Windows XP and it worked fine. But I don't think that will work on Windows 7.
View 1 Replies
View Related
Oct 27, 2010
if you ever got the syntax right to get mfstools to work inside a distro?
View 2 Replies
View Related
Feb 8, 2011
Trying to invoke perl inside ksh script.
View 4 Replies
View Related
Sep 4, 2009
I am running a shell script using a non root user. Somewhere down in the script, I'll have to call some script to be executed as su (or a user with more privileges than the one running the original script). So if i put a line in the script as:
Code:
su - root -c /root/roleScripts/assignRoles.sh
Then when running the command, it will prompt me for root password(because the current user has lower privileges than the user requested. Suppose I want to pass this password as an argument to the original script, so that it doesn't prompt me for password later on, what is the way? Can I switch user passing the password and run a command?
View 14 Replies
View Related
Jun 8, 2011
I have trouble with using an alias inside aash function. I would like to ssh into multiple machines by executing:ssh machine To achieve this, I put something like the following into my ~/.bashrc:
alias machine='user@machine'
ssh()
{
[code]....
View 1 Replies
View Related
Dec 30, 2010
how do i use bash shell scripts inside php.I am just trying to call a simple cp command using php. Its not doing anything.
View 2 Replies
View Related
Aug 8, 2010
I'm in Gnome but if I logout I can get to a menu where I can choose KDE as well as other window managers. The problem is I have a program that's running inside Gnome and I don't want to stop it. Is there some way I can get into KDE without having to stop this program?
View 3 Replies
View Related
Jan 21, 2011
I am trying to find a directory named 480debugerror nested under child directories. I don't know the exact path, or even if I have the exact spelling of the directory I ant to find.
Is there any linux command to find directories with a given prefix or suffix, for example directories with a name of debug or debugerror, with unknown some prefix or suffix?
View 3 Replies
View Related