• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Need Some Help With My New VPS

Status
Not open for further replies.

techguyboy

New Member
Hello guys, I got a VPS like 2 days ago and everything is fine so far. Here are the specs.

Space: 25 gigs
BW: 500 gigs
Ram: 512 mb
I have to manage it
CP: LxAdmin

I would like someone to teach me the basic stuff so I can run it properly and have no problems. I would like to learn some commands and the most basic and useful things that I must know oh and it also has HyperVM, and I would like someone to explain all this to me since I am new at all this.


Just reply here.


Thanks
 
Hi,

I have some free time now so If you would like I can teach you via AIM or Yahoo.

I pmed you!

Regards,

Andrew
 
Boy did you do that the wrong way around :)

How much do you know about managing it?

Leave the create an account bit out - how much of the rest?
 
I know NOTHING about managing it!!! I got it because is a great offer and I was looking for one for my site.

Thanks to zwt, now I know some pretty cool stuff. If you know anything, I would appreciate if you could teach me.

Thanks
 
Jeez - I got a great offer!
If zwt dies tommorow your stuffed aren't you?

Okay - what is the spec of the VPS?

You complete twit!
 
Jeez - I got a great offer!
If zwt dies tommorow your stuffed aren't you?

Okay - what is the spec of the VPS?

You complete twit!

LOL Calm down Decks old son. :lol:

Hey man, what you should do, until you have learned how to manage your VPS is hire somebody to manage it for you.
 
Jeez - I got a great offer!
If zwt dies tommorow your stuffed aren't you?

Okay - what is the spec of the VPS?

You complete twit!

Look men, I don't know what "twit" means, I am nice here so be nice to me.

The specs. are in the post, READ!!!!!!!

I am just asking to the people that know to teach me, I thank zwt for helping me out and teaching me some stuff.

Also, I don't want someone to manage it, I want to do that and I would like to learn.

How am I going to learn if I don't have a VPS? Now that I have one, I can learn.


Thanks
 
Don't take any notice of Decker. He means well. Just his humor.

It's good that you want to learn. There are many tutorials out there for different parts. Just run a Google on them.

Best of luck. :)
 
ok.

Trust me, before I post athread I google it first.

I am having a big problem right now, I am having problem uploading my SQL file. It's 16.2 megs and phpMyAdmin doesn't do nothing, it like freeezes. Can someone please help me?


Thanks
 
ok.

Trust me, before I post athread I google it first.

I am having a big problem right now, I am having problem uploading my SQL file. It's 16.2 megs and phpMyAdmin doesn't do nothing, it like freeezes. Can someone please help me?


Thanks

I got the SQL problem solved. Thanks
 
Look men, I don't know what "twit" means, I am nice here so be nice to me.

The specs. are in the post, READ!!!!!!!

How am I going to learn if I don't have a VPS? Now that I have one, I can learn.

Twit - silly person!

Only basic VPS specs, how about the OS etc?

Use a local incarnation and play with it for a while, build a VM and break and fix it a few times.

Sorry but expecting someone else to jump in 'after' the fact and help out is very inconsiderate, you didn't ask first if a VPS was a good idea, or what spec and software to get.

You did the equivalent of buying a cheap car and realising you can't drive.

Trust me, before I post athread I google it first.

Like the MySQL one :lol:

No offence and glad you want to learn, but unlike google, people are not a free resource at your disposal.
Ask the questions first! You went about it in reverse. Twit! (now it's explained :p)
 
The OS is: centos-5-i386-hostinabox52
etc? what else you want?

Look men, I get it, ok, I went the other way around and this is why I am asking for help. If you want to help, great, If you don't Good.

Thanks
 
Which shell commands did you get the hang of?

There's a huge amount but a shorter list of 'daily' ones that are the handiest :) It'll also be your best used list, keep a txt file with the basics handy till you know them by heart (then keep it close anyway).
 
Which shell commands did you get the hang of?

There's a huge amount but a shorter list of 'daily' ones that are the handiest :) It'll also be your best used list, keep a txt file with the basics handy till you know them by heart (then keep it close anyway).

Could you give some to me, I wrote down the ones that "zwt" told me.

Top
ps aux
df -h


he can use yum and mc

and of course login to his server via SSH :)

thats it as I remember

he is right.
 
Ow gowd! :wink2:

Okay are you ready for a list - from the internet :p

Not taking the P but it is a basic keep it handy list by someone else.

http://www.hostingdiscussion.com/hardware-server-configuration/8580-how-basic-ssh-commands.html


SSH Command Guide

We’ll I’ve been doing some internet surfing and I’ve been putting together a list of common SSH commands. These SSH commands will help you with the basic linux administration. This guide pays a nice quick reminder as I some times find my self referring back to it as I sometimes forget a command. If you see some commands that you think should be added, please be sure to voice them!

Common SSH Commands

passwd : Change your SSH account's password, options follow after typing to change account password.

nano [option] [file]: friendly, easy to use file editor
nano –w /home/aquhome/public_html/index.php : your now editing index.php with –w being non wrapping of long lines

mkdir [directory_name] : Make a directory with proper default permissions
mkdir aquhome : Makes the directory aquhome in what ever directory your currently in

df : [attribute]
df -h : will show how much disk space is available in human readable format (Megabytes and Gigabytes!)


cd : change directory
cd ~ : go to your home directory
cd – : go to the last directory you was viewing
cd ../ : go up a directory
cd [directory path]
cd /home/aqhome/public_html

ls: lists files & directories in a directory
ls –l : shows all files with detailed attributes

vi : an advanced editor, tons of features, but much harder to use then nano
vi /home/aquhome/public_html/index.php : now we’re editing that index.php file again!

ln : creates sys links between files and directories
ln –s /usr/local/apache/conf/httpd.conf /etc/httpd.conf : Now you can edit the /etc/httpd.conf rather than the original, changes will effect the original instantly, however you can delete the link without deleting the original.

wall : broadcast message
wall [message]
wall so whens the server being restarted?

top : shows continuously updating system processes in a table.

w : shows who is currently logged in and there ip address.

ps : displays processes running. It’s similar to the top command, and it’s used to show currently running processes and their PID.

touch : creates a empty file.
touch [file]
touch index.html : creates a empty index.html

kill : terminate a system process
kill -9 [PID] : You can get a PID by using Top.
kill -9 100545

cp : copy a file
cp yourfile yourfile.copy : copies yourfile to yourfile.copy
cp –a /home/aquhome/public_html/* /home/aquhome/public_ftp/ : copies all of the files in public_html to /public_ftp

du : shows disk usage
du –sh : shows a summary, in human-readable form, of total disk space used in the currently directory, including subdirectories

netstat : shows all current network connections
netstat -rn : shows routing tables for ip’s.
netstat -an : shows all connections to the server.

chown : commands for system that changes the owner of a file
chown [attribute] newowner.newowner filenames
chown -R aquhome.aquhome /home/aquhome/public_html/index.php

chmod : [-r] permissions filenames
Permissions
u - User who owns the file.
g - Group that owns the file.
o - Other.
a - All.
r - Read the file.
w - Write or edit the file.
x - Execute or run the file as a program.
Numeric Permissions:
CHMOD can also to attributed by using Numeric Permissions:
400 read by owner
040 read by group
004 read by anybody (other)
200 write by owner
020 write by group
002 write by anybody
100 execute by owner
010 execute by group
001 execute by anybody
CHMOD 755 /home/aquhome/public_html/index.php

last : displays last logins to the system
last

rm : delete a file
rm filename.txt : deletes filename.txt, will more than likely ask if you really want to delete it
rm -f filename.txt : deletes filename.txt, will not ask for confirmation before deleting.
rm -rf tmp/ : recursively deletes the directory tmp, and all files in it, including subdirectories. BE VERY CAREFULL WITH THIS COMMAND!!

grep : looks for patterns in files
grep root /etc/passwd : shows all matches of root in /etc/passwd
grep -v root /etc/passwd : shows all lines that do not match root


wc : word count
wc -l filename.txt : tells how many lines are in filename.txt

mv : Moves a file.
mv -f /home/pen/ram.php /root/ Moves ram.php to the directory root

Basic Extracting

tar xvfz imagick-0.9.11.tgz (extracts the .tgz file)

bzip2 and bunzip: Files With .bz2 Extensions

bzip2 filename.txt : zips filename.txt to filename.txt.bz2

bunzip2 filename.txt.bz2 : unzips filename.txt.bz2 to filename.txt

Important Service Commands

Restart apache:
-
service httpd restart

Restart MySQL:
-
service mysql restart

Restart exim:
-
service exim restart

Restart Cpanel:
-
service cpanel restart

Note: "restart" can be replaced with "stop" to quit the service and "start" to start a stopped service.
 
Status
Not open for further replies.
Back
Top