Server :: Automating Linux Administration Through Web Interface

Aug 5, 2010

The question that I am posting here is quite interesting as it was asked in the interview I attended today. And, honestly, I could not provide a solution. Ok, here goes the problem statement:Design a Web Interface that has three text fields:

IP Address:
Subnet Mask:
Default Gateway:

And a button:

When we click the Submit button, the two entries must be set in the concerned files and then the network service must be restarted to bring the new IP Address, Subnet Mask, and Default Gateway in effect.As we all know that these settings can be done by the root user or a user who has those priveleges.The complete web interface needs to be done only in PHP. Some Shell Script can be used if required.

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: GUI Interface ONLY To Use Some Useful Administration Tools, No Other Application?

Nov 23, 2010

How can I install a minimal GUI interface, on a Ubuntu server? And more: Suse has a RUNLEVEL tool, to select application to be launched. What in Ubuntu? I need a GUI interface ONLY to use some useful administration tools, no other application, and need to charge the system as less as possible.

View 4 Replies View Related

Fedora :: My Wireless Isn't Working - Network Configuration On System-administration The Interface It Appears As Inactive

Dec 10, 2009

I have b43 wireless. In network Configuration on system->administration the interface it appears as inactive it appers in hardware also as b43 associated to wlan0 but i cannot have access to any wireless network. What i have to do to put this b43 to work.

View 11 Replies View Related

Server :: Automating A Restore With Backuppc?

Jan 28, 2011

here is the thing. I've deployed BackupPC in a server at work, and everything is working fine. Now, what I need to do this thing. I have a remote server with a website and a postgres db running. I've been able to set up everything to be backed up using rsync. But I would like to make the same process to restore the backup immediately in a local server trough rsync, that has to be ready just in case of failure of the remote server. What I've tried to do is to run the DumpPostUserCmd, so whenever a dump is performed in the remote server, I can have my local server updated. What I've find out is that when you perform a restore through the web interface, the command that performs it is (using ps ax in the backuppc server):

/usr/bin/ssh -q -x -l root myserver.wheretodotherestore.mydomain /usr/bin/rsync --server --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --relative --ignore-times --recursive . /path/to/restore

So, what I could find out is: /usr/bin/rsync is the command that the process runs in the server where I want to put the restore. Then the options, and finally, source and destination of the restoration. But, as you can see, the source is '.' but I cannot guess where to point that!

View 2 Replies View Related

Server :: Automating Task Of Log Monitoring?

Apr 6, 2010

Basically, I go through certain logs on my linux hosts checking for anything out of place. You know, the usual, /var/log/messages, lastlog, etc. What I've been using is just a simplistic grep statement that looks for keywords in certain log files, such as warn, crit, etc., with the -i flag to ensure no case searches. I thought, well, surely there are others out there doing the same thing, but more automated. Perhaps something that can check files for keywords and then notify, via email, if anything out of the ordinary is seen.

View 5 Replies View Related

Server :: Automating Multiple Minicom Sessions Simultaneously

Oct 5, 2010

Here's the setup: One x86 server (Red Hat 4) with two serial connections to an embedded linux device. One serial connection is to a power control so the device can the restarted, and the other is used for a console to this device. Both serial connections use minicom. People on my team VNC to the x86 server, where they find the two minicom sessions waiting for them as they are left open. I would like to automate connecting to the server and communicating over the serial lines.

Supposing I use ssh to the x86 server, could minicom be used over the serial lines without terminating the minicom processes seen through VNC? If not, is there a way to re-open those windows from within the ssh session, so a user who VNCs to the server won't have to reopen them? Could a single ssh connection control two minicom terminals simultaneously, or would there need to be two ssh connections? It is assumed a user and the automated process will *not* try to access the device at the same time; the automation would trigger during off hours.

View 2 Replies View Related

Hardware :: Interface Car Audio System With Linux

May 29, 2010

I just wanted to interface my linux system(centos,ubuntu) to the cd player thats fitted in cars so as to make use of the screen and cd player for other things.

View 1 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

May 22, 2011

Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.

View 7 Replies View Related

Server :: Administration - Get Entry Level Job

Jun 13, 2011

I am a M.C.S.E certified professional and i want to become a linux admin, presently i am pursuing rhce from a reputed institute , how can i get entry level job in linux , which topics i should be very clear.

View 3 Replies View Related

Server :: Distro-independant Or For Slackware Administration?

Mar 28, 2010

I'm looking for some books that can get me started on server administration. I'm looking for either distro-independant or for slackware server administration.

View 7 Replies View Related

Server :: Monitor 200 Servers - System Administration ?

Apr 28, 2011

Say,you have 200 linux servers and you want to monitor things like, disk activity, disk usage, CPU usage, various logs of the servers. What tool is best recommended for this system administration purpose ?

View 3 Replies View Related

Ubuntu Networking :: Remote Administration Without Server Over Ineternet?

Jun 16, 2010

I'd like to administrate my parents' computer over the Internet. When I google for a tutorial on what I have to install and configure on my and their PC, I always end up with tutorials on servers and the like or tutorials for a connection between Ubuntu and Windows.

Does anyone know of an easy tutorial for remote desktop when two private, simple (Ubuntu-installed) PCs are involved?

View 1 Replies View Related

Ubuntu Servers :: FTP Server With Gui Frontend For User Administration

Mar 18, 2011

I want to make a FTP server with web frontend for administering it, eg creating users, groups, setting which directories users can access and so on.I found some web frontends for proFTPd, like those URL... , bus all of them seems to be very old and doesn't work nicely. I tried ProFTP Administrator and it won't work.Do you know some solutions to manage ftp server users, groups, permissions over web? Or by some frontend program.

View 2 Replies View Related

Server :: MySQL Root User - Administration And Permissions

Jun 22, 2010

I'm using an older redhat system (2.6.9-22.ELsmp) here which is running an older mysql (server version: 4.1.12). I don't think that's the source of the problems. I believe that have understood things rightly when I say that the mysql root user is unrelated to the linux root user ... in my case I believe the root user to be the unix user mysql. So when I connect to the server (local host from a local terminal) I use:
Code:
-bash-3.00$ mysql -u mysql -p
and enter a blank password

This gets me on, however I seem unable to do anything like create database or alter privilege. I wonder if its related to my finding no database called mysql?
-bash-3.00$ mysql -u mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 11 to server version: 4.1.12

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> show databases;
+----------+
| Database |
+----------+
| test |
+----------+
1 row in set (0.00 sec)
Although I understand that show databases will not show things I have no priv to see. Does this mean my settings for the users are all screwed? How do I rectify this situation? Some other (perhaps) useful information.

Code:
[root ~]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

So my BASEDIR seems to be nothing like is suggested in the documentation at [URL].

View 2 Replies View Related

Ubuntu Servers :: Web Server Administration \ How To Find The Own Nameserver Numbers

Jan 11, 2010

does anyone know of a good site/book/guide to learn about linux web server administration?
and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.

View 5 Replies View Related

Server :: Tomcat Administration Webapps Not Authenticating Username - Manager Password

Jul 4, 2010

I installed Apache Tomcat6,every thing is running fine but facing problem in Tomcat administration webapps:- in manager webapp [URL] in this i am using username=manager password=s3cret but not it is not authenticating with these credentials in host-manager webapp [URL] in this,i am using username=admin password=s3cret
but it is also not authenticating with these credentials i edited file /etc/tomcat6/tomcat-users.xml

[Code]...

View 2 Replies View Related

Server :: Minimum Partition Size Required In Redhat Linux Server For DNS Server Configuration?

May 5, 2011

Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?

i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB

if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..

View 3 Replies View Related

Fedora Networking :: Samba Server Not Shown In System Administration / Give Permission To Access Home Folder?

Jul 1, 2010

I installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.

View 3 Replies View Related

Server :: Ethernet Driver Not Detected In SUSE Linux Server 10.2 SP2 (x86_64)?

Nov 13, 2010

i had installed open suse linux enterprise server 10.2 SP2 (x86_64) i successfully installed the operating system with adding more packages, but after going inside i cannot configure ethernet, though i have 2 ethernet ports, no ports has been found, i installed some drivers but i cannot found the ethernet , while giving command ifconfig i get this ,

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

[code]....

how i need to detect the ethernet card i updated more packages and configured network card but not connected...

View 2 Replies View Related

Server :: SUA On Win2k3R2 Server Rsync Pull From Linux Host

Jun 10, 2011

Has anyone had any experience on using SUA(Services for UNIX Applications) rsync to "pull" files down to the Win2k3R2 server from a linux rsync host?I was trying to use cygwin rsync before until I found out from cygwin that the cygwin port of rsync was "flakey" and would fail intermittently for no apparent reason. cygwin suggested I use SUA or SFU for rsync services.

I've looked for/ am looking for any experience using SUA rsync to copy files down from a linux rsync host to the Windows host via rsync on the Windows host. Also, if you have done this successfully, do you have any pointers/caveats you can share on how you got it working? What I am basically looking to do is copy files and subdirectories of files from a linux host using rsync to some static location on a Windows server on a scheduled basis so that I can backup the windows server to tape using Symantec's Backup Exec application.

I'm doing it this way to avoid deploying the Remote Agents for either linux or Windows on the target hosts. As an alternative I've seen reference to a product called DeltaCopy that uses a native Windows rsync port with the native linux port of rsync to do what I need also.I realize this is not a strictly linux question, but more of a hybrid as I'm moving data to and from Windows and linux hosts. So, if this is too Windows-y a question, please say so and I'll withdraw my question.

View 2 Replies View Related

Server :: Windows 7 To Linux Server Print Job Size Very Large

Jan 21, 2011

I'm new to setting up Linux Servers. I've setup a Ubuntu 10.10 Server along with CUPS and I'm using Webmin to talk to the server. I have a HP PSC 1315 Multifunction printer connected via usb to the server. Using the CUPS web interface I am able to get the server to detect the connected printer and it identified the HP PSC 1310 Series drivers.

When I printer a test page from the server's screen the print job goes through ok and the size was about 5k.

I then setup a samba share to allow my Windows 7 machine to share the printer. Windows 7 is able to pick up the shared printer correctly and I used the default HP 1310 Series drivers. When I tried to send a test page to the printer, that single page ended up being 3887kb and I also tried printing out a single paged word document which ended up being over 7MB.

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

Fedora :: Automating Evolution - Is It Possible?

Dec 9, 2010

I use Evolution Mail Client everyday on my fedora machine. It has become indispensable somewhat. I am wondering if Evolution can be made to run in the background without the GUI, so it can check mails (IMAP/POP) and post delivery reminders through notify-send. I don't mean evolution-notify-alarm ... I know evolution-notify-alarm runs like that but I think that is limited to calender events and tasks (using data mostly stored locally)

I find that I get notified via notify-send interface only when Evolution GUI is on or minimized. Is there a way to get a real background version of this activity - the GUI can then appear when the Panel Icon is clicked

View 4 Replies View Related

General :: Automating GUI For Certain Task?

Jul 29, 2010

For a certain task, everytime I have to open 10 bash terminals and write different commands on them. Any way to automate this? I am running Fedora linux.

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

Server :: Linux Application Server Is Slow

Oct 25, 2010

We recently shifted our applcation and database to LINUX from UNIX.so now application server(weblogic 8.1) is on linux and oracle database 9i is on linux.previously there is a process in application server(which access the Database dor the data) which took only 1 hour to run on UNIX after shifting to LINUX the same process is taking 4 to 5 hours to run.

but when individually ran the queries on the database it is quck than UNIX.our ADMIN tried changing the kernel parameters for the database server, but it is still the same.

View 10 Replies View Related

Programming :: Automating Process Of Asking Question

Mar 10, 2011

I need to ask a question on many forums/mailing lists.In such a situation I need to open browser and login to many forums at the same time.Then go and format it according to forum guidelines and then paste it.So I want to know if I can automate this process some way by some alias or command line utility and just type the question in a text file and give URLs on command line and the question gets posted to those forums where I request?

View 7 Replies View Related

Fedora Networking :: Trouble Automating IP Aliases

Jun 18, 2010

My system is F13 (upgraded from F11) with all of the latest patches available. I haven't gone through and combined all of the rpmnew configuration files, but none of them seem to address networking.I'm trying to get subinterfaces (secondary IP addresses) to work in Fedora 13. So far, I have been able to configure them on the command line, but not to get them to persist on booting.My base address for the NIC is: A.B.C.254. It is statically assigned.

View 5 Replies View Related

Ubuntu :: Tool For Automating Repeated Tasks?

Feb 10, 2010

I want a tool, which can record my actions on the gnome desktop and play it again. I must be able to edit the recorded script.

View 3 Replies View Related

Ubuntu Installation :: Automating Clonezilla Setup On PXE

Feb 19, 2010

I am trying to set up clonezilla on pxe so that it will start up and show the drones in the workplace a list of images, they choose the one named after the model of computer, and image it. Which means all clonezilla settings but image need to be set and it should automatically choose default settings at 1024x768 when grub pops up. I have looked for command-line options, scripts to run, etc... so far this is what I have...

Code:
#!/bin/bash
. /opt/drbl/sbin/drbl-conf-functions
. /opt/drbl/sbin/ocs-functions
. /etc/ocs/ocs-live.conf

ocs_live_run=`ocs-live-restore`
ocs_live_extra_param=`-p reboot -r hda`
ocs_live_keymap=`NONE`
ocs_live_batch="no"
ocs_lang="en_US.UTF-8"
ocs_daemonon=`samba`

I don't need the bash for selecting the image, but you might as well add that seeing as there's almost no info online for people who want a pxe server...

View 2 Replies View Related







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