I have created a NTFS Partition(/dev/sda3) and copy the grub files in it in the following path:
/dev/sda3/boot/grub/
then tried to install the grub by using following commands:
grub root (hd0,2)
Filesystem unknown, partition type 0x7
grub setup (hd0)
Error : cannot mount selected partition
The partition is present and i created it with gparted.
i also tried the following command:
find (hd0,2)/boot/grub/stage1
Error 15: File not found
All the files were there as copied them.
So, where is the problem and what i am doing wrong?
Will subversion accept usernames such as [email protected]?
We are using svn+ssh with public key authentication as per the official svn guide's ssh tips and tricks section.
Basically, we pass svnserve with the --tunnel-user={username} command, will subversion be OK with that username having @ and . in it?
Thanks.
For development purposes I'm using www-data (on an ubuntu 11.10 server) to ssh in and fire git commands and basic stuff against the webroot.
I don't have things like command history, coloring, etc like I do when I ssh in as any other user, so I'm curious how to get this working.
I'm assuming I need a `.bashrc' file, but I'm not sure what to include or (more importantly since I could just copy the one from another user) where it goes.
I have two input languages in my language bar (windows xp).
The problem is that windows likes changing between them without any intervention.
That's really annoying!
I know about the shortcuts and already turned off Word language detection, but the problem is everywhere (specially command prompt).
I use both languages and I want to change between them only manually. How to turn off this automatic change?
I installed Ubuntu on a PowerBook G4 and it only works about 10% of the time. For this reason I decided to re-install OS X, but my machine won't boot from CD. It also won't boot Ubuntu the vast majority of the time, so I'm kind of screwed.
After a ton of tries, I finally got my machine to boot a Linux command line.
Is there anything I can do at this point to make my machine more runnable, just for the sake of installing OS X?
I installed Ubuntu on a PowerBook G4 and it only works about 10% of the time. For this reason I decided to re-install OS X, but my machine won't boot from CD. It also won't boot Ubuntu the vast majority of the time, so I'm kind of screwed.
After a ton of tries, I finally got my machine to boot a Linux command line.
Is there anything I can do at this point to make my machine more runnable, just for the sake of installing OS X?
I've install these follow packages:
node --version : v0.10.4
npm --version : 1.2.18
git --version : 1.7.1
and i used this command: npm install -g ungit
I want to use Ungit/Git via apache. But i don't know where is Git/Ungit DocumentRoot to define on virtualhost 80.
I've tried to search folder which's name git or ungit but it seems not really exactly.
Anybody help me about this?
very thanks.
Hi
I've changed the following things in regedit and restarted PC to restrict null session:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA
Value Name: RestrictAnonymous
Data Type: REG_DWORD
Value: 1
Value Name: RestrictAnonymousSam
Data Type: REG_DWORD
Value: 1
Value Name: EveryoneIncludesAnonymous
Data Type: REG_DWORD
Value: 0
However, I can still run and get null session.
net use //IP /u:"" ""
command completed successfully
I've also done "Disable NetBios over TCP/IP" but it didn't help.
Any ideas?
I am running mysqldump on Ubuntu Linux (10.0.4 LTS)
my mySQL version info is:
mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1
I used the following command:
mysql -u username -p dbname dbname_backup.sql
However when I opened the generated .sql file, I saw that most of the tables had only the schema dumped and in the few cases where the actual data was dumped, only 1 or two records were dumped (there are ATLEAST several tens of records in each table).
Does anyone know what maybe going on?
I'm trying to create a install script for some FreeBSD machines.
I want to install a few ports but change several configurations before installing, and without the dialog popup.
I've tried almost everything but no success.
I.E:
I'm trying to install nginx with HTTP_SSL module but i can't seem to pass the correct parameter to the make install clean command. I also want to use all other default settings, and only change this one.
Any help will be appreciated.
I am using Opensuse 12.3
What I wanna do is, create a link on my desktop for some specific terminal commandos.
The backround is, that I do some backup via rsync and don`t wanna type the commandos everytime new. I also dont wanna use a cronjob, since my computer isnt running everytime.
Perfect would be some desktop icons, which on clicking execute the command(s).
Could somebody tell me how to do this?
I found this article on options that can be put before a key in the authorized_keys file. I was wondering though, are there more? Options listed in the article are
from="domain"
command="commandtorun"
no-port-forwarding
no-X11-forwarding
no-agent-forwarding
no-pty
Ok I admit it...
I stupidly shutdown my remote server via ssh instead of restarting it like I wanted to do :(
To prevent me doing a silly again, is there a way to display a warning / confirmation on a shutdown command? (like "Are you sure you want to shut down this server?" yes/no )
OR, can I not allow shutting down (but not restarting because I still might need to do that from time to time) over ssh?
Is it possible to enforce a maximum rsize/wsize in nfsd? I'm having issues related to IP fragmentation (yes, I'm stuck with NFS-over-UDP, contrary to the warnings in the manpage), and have no practical access to the client mount command (buried in one of many TFTP boot images).
http://nfs.sourceforge.net/nfs-howto/ar01s05.html lists a kernel source parameter limiting the maximum block size, but I'm not gong to get away with recompiling the nfsd kernel module so that's not really an option either :-(
I'm not able to send mails from my server using MAILX command,have found that some of them,sendmail.cf has no entry for DS.Is there any other things which can disable mail functionality in server?
I would like to customize the name of the tab in Tilda (I guess that it doesn't change anything from the Gnome-terminal's behavior), but I can't find the exact sequence ...
so far, I figured out that Bash does it when displaying my PS1 prompt:
echo $PS1
\[\e]0;HELLO\a\]\[\033[01;32m\]\u\[\033[00m\]@\[\033[1;35m\]\h\[\033[00m\]:\[\033[01;34m\]\[\033[00m\]
I guess that \[\e]0;HELLO\a\] is responsible for the title to be set to 'HELLO',
but when I start
echo -ne "\[\e]0;HELLO WORLD\a\]"
only writes '[]'
what's wrong with my command ?
Can I hide user account from Windows 7 welcome screen, without changing registry manually and without disabling the account?
I've done this once by following instructions on a website, now I cant find that site. As I can remember I opened a window by executing a command in "Run". There was a list of user accounts in opened window, then selected a user account and unchecked some option then the user account was gone from welcome screen.. Does anyone aware of this method?
I trying to execute a post-receive hook on a windows server git(msysgit) installation - to sync the repo to codebasehq.
The script does nothing more than just wget "url" but it doesn't seem to be executing.
I've renamed the "post-receive.sample" to "post-receive" and installed wget to windows path which works fine via the command prompt.
Is there something I'm not doing here? I would appreciate any insights on how to get this working. Thanks.
We're running CI towards our WAS with wsadmin.bat
The applications are updated with this command
$AdminApp update ${projectName}EAR app {-operation update -update.ignore.new -contents {${artifactsDir}/${projectName}-${buildVersion}.ear}}
This causes all the "Security role to user/group mapping"-settings to reset, even though all the other settings are preserved with the -update.ignore.new
Anyone know how to fix this?
Suppose I have two folders, dir1 and dir2, with deveral files in each of them, and all the files in dir1 are named like "ExampleFileName.flac" and all the files in dir2 are named as "ExampleFileName.m4a" - basically their names are the same except the extension.
What I need to do is transfer all of the metadata for each of the files somehow - even though their codecs are different.
It would be great if I can do this via command line, but anything is appreciated.
Thank you.
Here is the following use case: wanting to ssh server1 in 3 scenarios:
server1 is on current network, go for it
server1 is not on current network and you need to use a gateway (gw1) to access it, not a big problem as you can use ~/.ssh/config to define tunnelling for this
you are on a network that does not allow you to access the first gw1, so you'll use gw2 for that.
Desired outcome: be able to use the same command and be able to connect to the server.
Is there a tool for comparing two lines of text?
All the tools I have compare on a line level, when I really need a character level diff in the line.
Windows or *nix, GUI or command line, I don't care.
While downloading a tar ball from gnu's FTP server, I found that other than standard 21 TCP port connection, I also seeing an extra connection:
tcp 0 0 192.168.1.109:45056 208.118.235.20:21 ESTABLISHED 10956/wget
tcp 0 0 192.168.1.109:56724 208.118.235.20:22259 ESTABLISHED 10956/wget
What that port is used for? I checked /etc/services, only 20 and 21 should be in use, am I wrong?
The command in use was wget 'ftp://ftp.gnu.org/gnu/tar/tar-1.26.tar.xz'