Ubuntu Servers :: Commands Via Ssh On Server?
Aug 3, 2010
I have a server running. I administer this server via ssh and sftp. Commands that are executed on the ssh prompt are killed when I close the ssh connection. Is it not?If I put a '&' or '&&' after it, will this process keep running when I close the ssh connection?In what other way could I start 'applications'/processes in the background? like rtorrent for example.
View 5 Replies
ADVERTISEMENT
Apr 22, 2010
What type of server am I on? code...
View 3 Replies
View Related
Jan 25, 2010
Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.
You can see it in action here: [url]
I've attached the actual php file.
Two questions:
1) What more can I add to it to give me even more information?
2) I want to add hddtemp but it requires sudo to run. How can I get around this?
View 4 Replies
View Related
Nov 2, 2010
I'm trying to run ssh commands though PHP on my website. I found this tutorial for it: [URL] I've got a few problems here, when I do "apt-get install openssl-dev" I get this output:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package openssl-dev
[Code].....
View 7 Replies
View Related
Jul 26, 2010
I recently hired a new tech guy to start managing our servers. In doing this I went ahead and upgraded all the servers. It has been awhile now since I sent him the details of the new server and the last time I talked to him he was joking around with one of the other clients not realizing how long it took.
I know on other server moves, my old guy could have everything setup and running in a couple days as a good amount of time is waiting for the data to copy over. I am starting to wonder if this guy is going to try and throw a huge bill at me, so I would like to know what hes doing on the server with time stamps just so I can get a idea of how much time he has been logged into the server. Does this server OS have anything like this built in?
View 1 Replies
View Related
Oct 22, 2010
I am new to Linux, have used KDE/SLAX before but am now attempting to use linux on my old computer to accomplish these objectives:
1) Run an FTP so I (& my mates) can access files anywhere wit ease(no dramas).
2) Enable sharing of my drives so I can put files from Laptop into this computer
Now I have successfully Installed Ubuntu Server (Finallllly) but then messed up cuz I installed the Gnome GUI and now cant find any place where I can type any sudo commands. vsftpd should work for me right?
View 3 Replies
View Related
Nov 7, 2010
does anyone know how to set restrictions on the commands a user can run as sudo? i want to make it so they can only halt the system.
View 1 Replies
View Related
Nov 8, 2010
My previous experience with Ubuntu desktop (which isn't much) while in the terminal the up key allowed me to see previously entered commands, but I have freshly installed Ubuntu Server Edition and the up key is not allowing me to do so, Is there a way to get this working?
View 3 Replies
View Related
Sep 9, 2010
I have a server that is triple boot and the server is headless and accessed using ssh. So is there a way to tell grub before hand what os to choose or send commands to grub (of course I get rid of the timeout) to pick a different os other than the default one. Any ideas? I already know this is bad practice to have multiple os's on the same machine to be used as a server, but what about selecting a different kernel at start up.
View 7 Replies
View Related
Dec 20, 2010
I'm running a server using ubuntu 10.04 x64. I want to disable access of groups to "bin" folder so they cannot execute commands.
[info: actually because of a bug in cPanel (the control panel I installed) Perl will give access to all hosting users to execute commands.]
So what I wanna do is to ban some groups on 'bin' folder, for example 'my_group1' and 'my_group2" cannot access bin but 'my_trusted_group' can access it. How is it possible?
View 1 Replies
View Related
Jun 27, 2011
I for the life of me can not find the list of CLI/console commands for Deluge. I'm trying to at least find the command to change global download speed.
View 3 Replies
View Related
Feb 26, 2010
I'm having issues with mt commands. For some reason, my server doesn't like backing up directories using tar.
Code:
# tar -czf /dev/st0 /www /home
ends up giving me an error message saying "removing / prefix" and then using the command
Code:
# mt -f /dev/st0 status
gives me an IOCTRL error. I've googled the error code and haven't come up with a viable fix. Thus far, the only way I've been able to check which files are on the tape is:
Code:
# tar -tzf /dev/st0
Of course, without getting the actual directories on the tape in the first place, the only files I've been able to transfer at this point are just singular files within the directories as opposed to the entire directories themselves.
View 1 Replies
View Related
Feb 22, 2009
Is there a way to run CentOS 5.2 update system using the shell, avoiding the GUI (I want to do it remotely using SSH?
View 1 Replies
View Related
Sep 1, 2010
I have debian lenny, when I run an application is slow to load (example: iceweacel open and it takes, I can hold him iceweacel work normally), I tried to change from gnome to another and the same thing, went down some services (samba, squid) and nothing. I open a terminal and it takes, I want to duplicate it and do it fast. From a terminal without X (tty1) with root run mc and moves quickly, also run as root "sudo mc" and takes to boot.Any action done with sudo it takes to run.
Can not be what it takes to make starting the applications, not the PC because it is new, and from one moment to another I began to pass this
The sudoers file is fine, in the log's nothing unusual, since other PC take long to enter samba.
View 1 Replies
View Related
Jan 3, 2011
i have a linux server, the Operating system is SUZE 9 but i need to see all commands executed by any users connected on the server and the ip of the host in a log file.the history file does not contain all info that i need .please is there a way to write a script in order to save this problem .
View 2 Replies
View Related
Feb 15, 2010
I'm migrating a mailserver from an old to a new mailserver. The new mailserver is based on ISPConfig 3.0.6.1.
I would like to migrate what spamassassin learnt in the past from the old mailserver to the new one. Now the question:
- The 2 spamassassin versions are different. Is it a problem?
- Can I just migrate the database with this commands???
Code:
sa-learn --backup > sadb.bkp
sa-learn --restore ./sadb.bkp
-how to migrate SpamAssasins Auto White List and all others SpamAssassins databases?
View 3 Replies
View Related
Mar 4, 2009
hi all how do i use php to pass commands onto a server? like i want to be able to:
1. delete the content of a file (or just delete the file and make a new one if it's easier)
2. read the content from a file
3. write new data to a file via an input box
4. run a command on the server
View 7 Replies
View Related
May 22, 2009
I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)(/usr/share/pear:/usr/share/php) in System.php on line 459I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything.I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.comDoes anyone have any thoughts? If not the solution, does anyone have any suggestions on how to begin troubleshooting this?
View 2 Replies
View Related
Dec 21, 2009
Our CentOS 5 server had a weird issue last Friday. We couldn't run any bash commands, such as ls, vi. It said that it could not find /bin/ls. The only commands we can run are internal commands, such as ps, cd. After we reboot the server, everything is back.
I don't know what's wrong with it. Does anyone give me a explanation?
View 2 Replies
View Related
Sep 1, 2010
I have debian lenny, when I run an application is slow to load (example: iceweacel open and it takes, I can hold him iceweacel work normally), I tried to change from gnome to another and the same thing, went down some services (samba, squid) and nothing. I open a terminal and it takes, I want to duplicate it and do it fast. From a terminal without X (tty1) with root run mc and moves quickly, also run as root "sudo mc" and takes to boot.Any action done with sudo it takes to run.Can not be what it takes to make starting the applications, not the PC because it is new, and from one moment to another I began to pass this
View 2 Replies
View Related
Mar 13, 2011
My var partition is full. The main culprit is NOW the mail file. What is the command to empty the mail files?The mqueue and clientmqueue files are now low on usage but the mail file is responsible for filling up the var partition.
View 1 Replies
View Related
Sep 21, 2010
I want to learn Linux commands and want to do a certification.
PLEASE HELP with the key points and if you have anything important about it.
View 7 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
Dec 14, 2010
I'm attempting to do a low level wipe of a server in our office. I originally attempted to use DBAN but it wouldn't recognize the disks.
I've now moved on to attempting to use a Live Boot of Ubuntu 10.10 on a USB drive.
I'm using the following terminal command - sudo dd if=/dev/urandom of=/dev/sda bs=1M
When I did this the first time it simply wiped the USB drive that had Ubuntu on it.
What do I need to do in order to have it wipe all 4 disks on the server instead of the USB Drive?
View 4 Replies
View Related
Mar 3, 2011
I need to clarify a few things about Veritas Cluster Services Example There is a solaris10, 2node vcs cluster running. There is a Rhel5 2node vcs cluster running. Is ther any difference between VCS commands in solaris10 and rhel5. I heard that VCS commands are same for all the platforms, only configuration files location is differ. Is this correct.
View 6 Replies
View Related
Jan 1, 2010
I have an immutable script on server A, it executes a maintenance command on the remote servers where elevated privileges are needed. I want the developers on server A to execute the script and run it without being prompted for a password. The script contains scp root@serverB and ssh 'root@serverB', if run as root it runs great since I am using ssh keys. However, as regular users they are prompted for a password. If I do created their group on server B...etc and give the group sudo it would still ask for passwords right? Can I overcome this?
View 1 Replies
View Related
Sep 7, 2011
I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.
I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.
View 7 Replies
View Related
Aug 7, 2010
I am ssh'ing into a remote server and then su'ing to root.The problem is that sometimes, I have not paid enough attention to the console message, and I have accidentally typed in the root password at the command prompt (when for example, I had failed to provide the root password correctly the first time - so su prompt went away).
I remember reading somewhere that a history of commands typed at the console is kept somewhere.I have 3 sub questions
Where (which folder) is the file stored?
Can I edit that file and remove the root password from it?
Being the paranoid person that I am, I wonder if there is a more secure way of logging into my server - other than ssh (or am I being TOO paranoid?)
My server is running a headless Ubuntu 10.0.4
View 1 Replies
View Related
Jan 29, 2011
I would like to learn basic linux commands and editors (eg : vi). Am using windows and it is difficult for me to install linux in ma laptop. So is there any free linux login servers available in internet so that I can login to server with putty and try using basic linux commands and editors.
View 4 Replies
View Related
May 20, 2011
I have to copy files from HP unix server to SUSE linux server. I have tried rcp, but it does not work. Can someone help me with the commands or files to be changed inorder to copy the files.
View 3 Replies
View Related