Oracle PeopleSoft – PeopleTools License Code Problems

If you are installing Oracle PeopleTools or any other Oracle PeopleSoft module on Linux/Unix machine, in console, then it’s possible that you will get into problem with entering valid license code.
When you get to part of installation where it asks you for license code, go to Oracle products license codes.

Find code for software you are installing and enter it. You will get an error that license code is not valid, if you just copy/paste code, or you enter it how it’s shown on Oracle page.

The thing is, you need to remove the “-” from code you are entering. After this, license code will be accepted, and installation will continue. This applies only for Linux/Unix systems.

 

Picture source.


If you liked the post, we should get connected - follow me on Twitter

How To Install and Configure freeNX

If you need to setup GUI access on a remote server system(Linux) and connect to it, you can try freeNX.
This is example how to install and configure freeNX in CentOS 5.

Server installation

On the server you want to control with freeNX you need to do next:

Install freenx using yum:

# yum install nx freenx

Copy minimal configuration file:

# cp /etc/nxserver/node.conf.sample /etc/nxserver/node.conf

Enable PASSDB for NX Database User Authentication pass-through:

Uncomment and change the following line in /etc/nxserver/node.conf

ENABLE_PASSDB_AUTHENTICATION="1"

Add a user account to the nxserver database ( the user account must already exist on the system as a standard linux user account):

# nxserver --adduser <username>

Give the user a password:

# nxserver --passwd <username>

Optional: If your SSH server is not at default port (22), you have to configure this also. So, open node.conf, find line #SSHD_PORT=22, uncomment it, set your port, and save changes.

 

 

Client installation

The NoMachine client needs to be downloaded from their site. Download the client that matches the operating system on your local machine.

http://www.nomachine.com/download.php

After installing the NoMachine client open the NX Connection Wizard.

Enter a Session Name, Hostname or IP of the remote server system, SSH Port number of the remote server system (usually 22), and select your connection type, desktop system and the size of the desktop. In this case, for connection to CentOS, in desktop settings, select Unix, Gnome.

 

freenx - Jovica Ilic blog

 

In order for freeNX to function securely we need to copy the ssh key from the remote server system to the local machines NoMachine client software.

On the remote server system copy the client.id_dsa.key contents (including the —BEGIN— and —- END— lines):

# cat /var/lib/nxserver/home/.ssh/client.id_dsa.key

On the local client system open the NX client software and click on “Configure”:

Under the General tab, click “Key”

Delete the contents and paste in the contents from the remote server system/var/lib/nxserver/home/.ssh/client.id_dsa.key

Now connect using the username and password you created when you configured freeNX on the remote server system.

 

Common Error:

The nx service is not available or the nx access was disabled

The issue with the above error is that you copied the wrong ssh key and most likely followed the process from an old tutorial that told you to copy the key from /etc/nxserver or told you to create your own key. The key you should copy is found at /var/lib/nxserver/home/.ssh/client.id_dsa.key


If you liked the post, we should get connected - follow me on Twitter

The Inches We Need Are Everywhere Around Us

This is one of the best inspirational speech I know about. When you’re lack of motivation, take a look at this, or some similar video. It helps!

People often say that motivation doesn’t last. Well, neither does bathing – that’s why we recommend it daily. -Zig Ziglar

 

I don’t know what to say, really. Three minutes to the biggest battle of our professional lives.
All comes down to today, and either, we heal as a team, or we’re gonna crumble. Inch by inch, play by play. Until we’re finished.
We’re in hell right now, gentlemen. Believe me.
And, we can stay here, get the shit kicked out of us, or we can fight our way back into the light.
We can climb outta hell… one inch at a time.
Now I can’t do it for ya, I’m too old.
I look around, I see these young faces and I think, I mean, I’ve made every wrong choice a middle-aged man can make. I, uh, I’ve pissed away all my money, believe it or not.
I chased off anyone who’s ever loved me. And lately, I can’t even stand the face I see in the mirror. You know, when you get old, in life, things get taken from you.
I mean, that’s… that’s… that’s a part of life. But, you only learn that when you start losin’ stuff.
You find out life’s this game of inches, so is football. Because in either game – life or football – the margin for error is so small.
I mean, one half a step too late or too early and you don’t quite make it. One half second too slow, too fast and you don’t quite catch it.
The inches we need are everywhere around us. They’re in every break of the game, every minute, every second.
On this team we fight for that inch. On this team we tear ourselves and everyone else around us to pieces for that inch.
We claw with our fingernails for that inch.
Because we know when add up all those inches, that’s gonna make the fucking difference between winning and losing! Between living and dying!
I’ll tell you this, in any fight it’s the guy whose willing to die whose gonna win that inch.
And I know, if I’m gonna have any life anymore it’s because I’m still willing to fight and die for that inch, because that’s what living is, the six inches in front of your face.
Now I can’t make you do it. You’ve got to look at the guy next to you, look into his eyes.
Now I think ya going to see a guy who will go that inch with you.
Your gonna see a guy who will sacrifice himself for this team, because he knows when it comes down to it your gonna do the same for him.
That’s a team, gentlemen, and either, we heal, now, as a team, or we will die as individuals.
That’s football guys, that’s all it is. Now, what are you gonna do?

Picture source.


If you liked the post, we should get connected - follow me on Twitter

Google as DoS Tool?

This is a technique that can be used to launch a denial of service attack against a website hosted on Amazon (or even elsewhere). The steps:
  • Gather a large number of URLs from the targeted website. Preferably big media files (jpg, pdf, etc)
  • Put these URLs in a Google feed, or just put them in a Google Spreadsheet
  • Put the feed into a Google service, or use the image(url) command in Google spreadsheet
  • Sit back and enjoy seeing Google launching a Slashdot-style denial of service attack against your target.

Jovica Ilic

 

Interesting :)

 

source: behind-the-enemy-lines.com


If you liked the post, we should get connected - follow me on Twitter

Import Big SQL File Into MySQL with phpMyAdmin

If you have problem to import large SQL files into MySql using phpMyadmin, the official documentation offers a few solutions, but the easiest method to solve this problem is:

  • Find the config.inc.php file located in the phpMyadmin directory. If you have Wamp installed, it is probably located here:
C:\wamp\apps\phpmyadmin3.4.10.1\config.inc.php
  • Find the line with $cfg[‘UploadDir’] on it and update it to:
$cfg['UploadDir'] = 'upload';
  • Create a folder called ‘upload’ in the same folder where config.inc.php file, so now you have:
C:\wamp\apps\phpmyadmin3.4.10.1\upload\

Then copy the big sql file that you are trying to import into the new upload folder.

Now when you go to phpMyAdmin, at the import page you choose a drop down present that wasn’t there before – it contains all of the sql files in the upload directory that you have just created. You can now select your file, and start with the import.

Simple as that.

 

Picture source.


If you liked the post, we should get connected - follow me on Twitter

Reset Forgotten MySql root Password Under Windows

If you forgot root password for your MySQL database server running under Microsoft Windows, there is still a way to access your database and even reset your password using the command prompt.

Follow next steps:

 

1. Stop your MySQL server completely. This can be done from Wamp(if you use it), or start “services.msc” using Run window, and stop the service there.

2. Open your MS-DOS command prompt using “cmd” inside the Run window. Then go to your MySQL bin folder, such as C:\MySQL\bin. Path is different if you use Wamp.

3. Execute the following command in the command prompt:

  mysqld.exe -u root --skip-grant-tables

4. Leave the current MS-DOS command prompt as it is, and open a new MS-DOS command prompt window.

5. Go to your MySQL bin folder again.

6. Enter “mysql” and press enter.

7. You should now have the MySQL command prompt working. Type “use mysql;” so that we switch to the “mysql” database.

8. Execute the following command to update the password:

UPDATE user SET Password = PASSWORD('your_new_passowrd') WHERE User = 'root';

However, you can now run almost any SQL command that you wish.

After you are finished close the first command prompt, and type “exit;” in the second command prompt.

 

You can now start the MySQL service. That’s it.

 


If you liked the post, we should get connected - follow me on Twitter