ゴリ カレ

If you really want have your own blog site, the first thing you have to do is having your own server. Not exactly have a server but you could have a rent, something like virtual one. Virtual Private Server, known as VPS. These days, rental server is not only for business but individual users also rent a server and it cost will start less than 10 bucks per month.

Once you had a server, though rent or prepare one by yourself, you maybe need to set up ‘ssh’.   Oops, I almost forgot about adding user…orz

First you need to login as root. Then, change root password.

#passwd

After changing password, add a user. Adding users, we have at least two commands such as ‘useradd’ and ‘addusr’. I suggest to use ‘useradd’ like this.

#useradd -G wheel username

then change the password for username

#passwd username

Of course you can use options when you add a user with command ‘useradd’, like -p, -u and others.

Don’t forget to edit ‘/etc/sudoers’ file to get ‘sudo’ command.

## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE,
DELEGATING, PROCESSES, LOCATE, DRIVERS
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
## Same thing without a password

One more thing I have to tell you. I offer you  to use ‘visudo’ instead of editing directory with vi command.

カテゴリー: server タグ: , , パーマリンク

ゴリ カレ への1件のフィードバック

  1. momongah のコメント:

    DDDDD

    This title is very nice!
    But, probably,not all persons understand this title’s meaning.

momongah へ返信する コメントをキャンセル

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です